
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Get the user agent of a recent Chrome version to pretend to be a browser in network requests
Get the user agent of a recent Chrome version to pretend to be a browser in network requests
Some sites and services block non-browser requests or respond differently.
I will update this module once in a while with the latest user agent.
$ npm install ua-string
import got from 'got';
import userAgentString from 'ua-string';
await got('https://sindresorhus.com', {
headers: {
'user-agent': userAgentString
}
});
FAQs
Get the user agent of a recent Chrome version to pretend to be a browser in network requests
The npm package ua-string receives a total of 1,392 weekly downloads. As such, ua-string popularity was classified as popular.
We found that ua-string demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.