← 返回列表

Where to find npm vulnerabilities?

单站 Node.js Security 发布 Mon, 13 Jan 2025 00:00:00 GMT 入库 2026-11-17T04:09:36

\~ 2 min read

Where to find npm vulnerabilities?

If you are doing security research or just curious about finding npm vulnerabilities, let me share some resources to help you stay up-to-date with the latest security CVEs in the JavaScript ecosystem.

If you’re looking to educate yourself on the latest npm vulnerabilities, you’ve come to the right place.

In this article, I’ll call out some open sources to find security vulnerabilities in the npm ecosystem and how to stay up-to-date with the latest security threats.

Snyk Vulnerability Database

To kick us off, the Snyk Vulnerability Database is a great place to start. It’s a comprehensive database of vulnerabilities in open-source projects, including npm packages. You can search for vulnerabilities by package name or a CVE.

Disclaimer: I work at Snyk as a developer advocate

Snyk vulnerability database CVEs for npm vulnerabilities

Specifically what makes the Snyk vulnerability database stand out is the following highly enriched metadata:

👋 Just a quick break

I'm Liran Tal and I'm the author of the newest series of expert Node.js Secure Coding books. Check it out and level up your JavaScript

Node.js Secure Coding: Defending Against Command Injection Vulnerabilities

Node.js Secure Coding: Prevention and Exploitation of Path Traversal Vulnerabilities

GitHub Security Advisories

The GitHub Security Advisories is another good place to find vulnerabilities in npm packages. Specifically it is helpful due to the free-text search.

GitHub Security Advisories for npm vulnerabilities

Google’s OSV

Another security vulnerability resource is the Open Source Vulnerabilities (OSV). It’s a new project by Google that aims to provide a comprehensive vulnerability database for open-source projects.

Specifically, OSV also provides an API layer to query the vulnerabilities programmatically which could prove handy, depending on your use-case.

OSV for npm vulnerabilities

原文链接:https://www.nodejs-security.com/blog/where-to-find-npm-vulnerabilities/