Dependency Vulnerability Explorer
Known vulnerabilities in your dependencies, and the version that fixes each one.
How it works
Reads npm (package.json, package-lock.json), Python (requirements.txt), Go (go.mod), Rust (Cargo.lock) and PHP (composer.lock) manifests, or lines like npm:lodash@4.17.20, and checks every exact package version against OSV.dev, the open vulnerability database that aggregates GitHub Security Advisories, PyPA, RustSec, Go and more. For each finding: severity, aliases (CVE/GHSA), and the nearest fixed version. You can also look up a single advisory ID.
- Exact versions come from lockfiles and == pins; for version ranges (^1.2.0, >=2.0) the lower bound is checked and the package is marked exact=false.
- Each package@version is sent to the OSV.dev querybatch API; details for up to 60 distinct advisories are fetched from /v1/vulns/{id}.
- Severity is the advisory database rating (GHSA: LOW/MODERATE/HIGH/CRITICAL); the CVSS vector is shown when published. A single CVE lookup also reads its alias records (GHSA first, up to 3), because OSV's CVE records usually carry no package, no rating and only fix commits (GIT ranges, which are never reported as fixed versions); without any database rating the CVSS v3 base score decides. fixedIn = the lowest fixed release above your version for that package; upgradeTo = the highest of those across a package's advisories.
- Advisories are matched by OSV's version ranges; withdrawn advisories are not returned by OSV.
- One issue published by several databases (e.g. GHSA-… and PYSEC-… for the same CVE) is counted once: records sharing an id or alias are merged, keeping the best-rated severity (GHSA preferred on ties), the union of aliases and the highest fixedIn; the merged record ids are listed in duplicates.
Use this tool in an app
These free programs for your browser have this tool built in, next to everything else the task needs.
-
Provenance Software supply-chain security desk
SBOMs, CVEs, containers and licences in one risk register — free.
Related tools
- OpenAPI Diff Explorer – Compare two versions of an OpenAPI spec and see exactly which changes break clients.
- Explorer of Everything – Search transactions, contracts, domains, packages, advisories, MCP servers and websites in one box.
How to use the Dependency Vulnerability Explorer
Check npm, PyPI, Go, Rust and PHP dependencies against OSV.dev and find the version to upgrade to for each vulnerable package.
What it is for
You inherited a project, a Dependabot alert landed, or you just want to know whether the versions in your lockfile have known security holes. This tool takes a manifest or lockfile (package.json, package-lock.json, requirements.txt, go.mod, Cargo.lock, composer.lock) or a quick list like npm:lodash@4.17.20, and checks every package version against OSV.dev. OSV combines GitHub Security Advisories, PyPA, RustSec, the Go vulnerability database and more.
For each vulnerable package you get the advisories, their severity, their CVE and GHSA aliases, the first release that fixes each one, and one version that clears all of them. You can also look up a single advisory id.
It does not run your code or check reachability. It can't tell whether you actually call the vulnerable function. It also only checks the packages you paste: a package.json without a lockfile misses every transitive dependency.
Worked example
Input (one package per line):
npm:lodash@4.17.20
pypi:requests@2.19.0
Result at the time of writing (October 2026; OSV data changes as new advisories are published):
2 of 2 packages have 10 known vulnerabilities (0 critical, 3 high). Worst: lodash@4.17.20 → upgrade to 4.18.0.
| Package | Advisories | Fixed in (per advisory) | Upgrade to |
|---|---|---|---|
| lodash 4.17.20 | 5 (2 high, 3 moderate) | 4.17.21, 4.17.23, 4.18.0 | 4.18.0 |
| requests 2.19.0 | 5 (1 high, 4 moderate) | 2.20.0 … 2.33.0 | 2.33.0 |
The high-severity lodash issue GHSA-35jh-r3h4-6jhm (CVE-2021-23337, command injection in _.template) was fixed in 4.17.21. A newer advisory, GHSA-r5fr-rjxr-66jc, needs 4.18.0. Upgrading to 4.17.21 alone would leave you exposed.
For requests, OSV returns 10 records, but five of them are PYSEC-… copies of a GHSA record. PYSEC-2018-28, for example, is an alias of GHSA-x84v-xcm2-53pg. The tool merges records that share an id or alias into one row: 5 distinct issues. Each row keeps the GHSA rating (the PyPA copies carry none), lists the CVE and PYSEC ids as aliases, and names the merged records in duplicates.
How to read the result
- Counts — distinct issues by severity across everything you pasted. Copies of one issue from different databases are merged by alias and counted once, with the best-rated severity.
- upgradeTo — the one number to act on. It is the highest of the per-advisory fixed versions for that package, so it clears every listed advisory.
- fixedIn — the lowest fixed release above your version for one advisory. Use it if you can only afford a minimal patch for one specific issue.
- exact —
falsemeans you pasted a range such as^1.2.0. The tool checked the lower bound, which may not be what you actually have installed.
Tips and common mistakes
- Paste the lockfile, not the manifest. Only lockfiles carry exact and transitive versions.
- Check
upgradeTofor major-version jumps before you upgrade. Read the changelog when it crosses a major version. - An empty result means "no known advisory in OSV". It does not mean the package is safe or maintained.
- Severity "UNKNOWN" means no database that published the issue gives it a rating. When a rated copy (usually the GHSA) exists, the merged row already uses its rating.
FAQ
Which ecosystems are supported?
npm, PyPI, Go, crates.io (Rust) and Packagist (PHP), through their usual manifest or lockfile formats, or as ecosystem:name@version lines.
Why is a package flagged although I pinned a recent version with >=?
For ranges the tool checks the lower bound, because that is the oldest version your constraint allows. Pin exact versions or paste the lockfile to check what is really installed.
Is my code uploaded?
Only package names and versions are sent to the OSV.dev query API. The rest of the manifest is not.
How current is the data?
Every run queries OSV.dev live, so results reflect the advisories published at that moment. Re-run after a few weeks: new advisories regularly appear for old versions.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://dependencyvulnerabilityexplorer.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://dependencyvulnerabilityexplorer.usefulweb.site/mcp· tool namedependency_vulnerability_explorer
Example request
curl -s -X POST https://dependencyvulnerabilityexplorer.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"manifest":"npm:lodash@4.17.20\npypi:requests@2.19.0"}'