Socket Security Analysis Is Now One Click Away on npm

npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.

  • Sarah Gooding
2 min read
Socket Security Analysis Is Now One Click Away on npm

If you've visited an npm package page recently, you may have noticed that npm is now featuring more security information in the sidebar, including a direct link to Socket's security analysis. It's great to see the registry making security a more visible part of the package discovery experience, and we're proud to be part of it.

Click on "Analyze security with Socket" and you land on our package page for that dependency. Here's how that compares to what npm shows by default.

npm's package pages give you the essentials: version history, weekly download counts, license, unpacked size, collaborators, and a link to the repository. That's useful baseline information, but it doesn't tell you much about whether a package is actually safe to install. And using a search engine's AI summaries to determine if a package is safe can also be dangerous, as they have been known to surface inaccurate and sometimes malicious packages.

What You'll Find on Socket's Package Pages

#

Click through to Socket will give you a significantly deeper picture of any given package. The example above is the package page for React. Here's what we currently display:

Security scores at a glance: Every package gets scored across Supply Chain Security, Vulnerability, Quality, Maintenance, and License, each out of 100, displayed prominently at the top of the page. For react, those scores are 100, 100, 84, 97, and 100 respectively. For a package you've never heard of, those numbers can tell you a lot very quickly.

Dependencies and maintainers with security context: Socket shows you how many dependencies a package has and who maintains it. For react, that's 0 dependencies and 2 maintainers. Click through to any maintainer to see all packages they own, plus current and former co-maintainers.

Full version history, all accessible: You can browse the full version history and switch between versions directly from the sidebar, with security context applied to each version. For React, that's 2,725 versions.

File Explorer: Browse and search every file included in the package before you install it.

Similar packages with security comparisons: Our "Similar packages" tab shows you alternatives side by side with their security scores. Evaluating react vs. preact vs. vue? You can compare Supply Chain Security, Quality, Maintenance, Vulnerability, and License scores for all of them at once.

Alerts: If Socket has flagged anything about a package, such as install scripts, obfuscated code, newly created maintainer accounts, or other risk signals, those alerts will surface on the package pages.

You can explore any npm package's full security profile on our website, along with packages for the other ecosystems we support. And if you want Socket watching your dependencies continuously, not just when you think to check on them, get our free Socket for GitHub app to monitor dependency additions and updates in every pull request automatically.

Stay ahead of threats

Subscribe to our newsletter

Get notified when we publish new security blog posts!