DevTools Logo

Dependency Vulnerability Checker

Dependency Vulnerability Checker

Paste package.json, requirements.txt, go.mod or a lockfile and rank every dependency against OSV.dev.

Try an example (fills and scans)

Manifest

Vulnerability report

Paste a manifest to check its dependencies

Parsed locally; only {ecosystem, package, version} triples are queried against OSV.dev.

Vulnerability data from OSV.dev (CC BY 4.0). Verify each advisory before merging.

Examples

npm pre-PR check

Input
{ "dependencies": { "lodash": "4.17.20" } }
Output
GHSA-29mw-wpgm-hmr9 · Critical 9.8 · Upgrade to ≥ 4.17.21

The pinned lodash version matches a ReDoS advisory; CVSS is computed from the advisory's v3 vector and the nearest fixed version is suggested above the installed one.

Python with an unpinned line

Input
Django==4.2
requests==2.28.1
requests>=2.28
Output
2 dependencies scanned; 1 unpinned line skipped

Only exact == pins are queried. The skipped line is shown explicitly so a clean result cannot be mistaken for a full audit.

Go replacement

Input
require github.com/pkg/old v1.2.3
replace github.com/pkg/old => github.com/our/fork v1.2.4
Output
github.com/our/fork v1.2.4 · no advisory on the scanned version

Versioned replace directives are applied before the query; a local, unversioned replacement is skipped with a note instead of producing a false positive.

About this tool

Dependency Vulnerability Checker turns a pasted manifest into a severity-ranked advisory report. package.json, package-lock.json v2/v3, requirements.txt and go.mod are parsed in the browser; each dependency becomes an ecosystem/name/version triple, and those triples are the only data sent to OSV.dev's public querybatch API. Advisory IDs returned by OSV are expanded into records with summaries, aliases, CVSS vectors, affected ranges and fixed versions.

Unlike a per-advisory CVE lookup, this is a bulk scan of everything in the manifest. Findings are ranked by locally computed CVSS v2/v3 base scores (or by the advisory database's severity label when no score is supplied), filtered by severity, scope and dev/production environment, and exported as a PR-ready Markdown table or JSON. A 24-hour in-memory cache speeds up repeat scans, while Rescan forces fresh data; the privacy panel shows the exact outgoing payloads so you can verify that no code or file contents leave the browser.

What this tool does not do

  • No npm registry lookup is performed: semver ranges are queried at their lower bound and labelled approximate; upper-bound-only and wildcard ranges are skipped.
  • Only OSV's free public querybatch and advisory endpoints are used; advisories not ingested into OSV will not appear, and private registry packages simply return no data.
  • An in-memory cache holds query and advisory results for 24 hours; Rescan bypasses it, but a fresh browser session starts with an empty cache.
  • At most 200 advisory IDs are expanded per scan; larger result sets are flagged with a warning rather than silently truncated.
  • Ignore entries are stored only in this browser's localStorage; they are not a team-wide suppression system.
  • Vulnerability data comes from OSV.dev and is licensed CC BY 4.0; verify each advisory before making merge decisions.

How to use this tool

  1. Paste a manifest

    Drop in package.json, package-lock.json, requirements.txt or go.mod, or load one of the example chips. Format detection is automatic but can be overridden.

  2. Review what will be sent

    The parse summary shows scannable, skipped and duplicate counts. Expand skipped entries to see which lines were unpinned or local and therefore not scanned.

  3. Scan dependencies

    Press Scan dependencies or Cmd/Ctrl+Enter. Every dependency is sent as an {ecosystem, package, version} triple; advisory IDs returned by OSV are expanded automatically.

  4. Triage and export

    Filter by severity, scope and environment, expand a row for aliases/vector/affected ranges, ignore accepted advisories with a reason, then copy or download the Markdown/JSON report.

Use cases

Pre-flight a dependency PR

Paste the changed manifest before opening a PR and attach the Markdown report to the description.

Triage automated alerts

See which advisories actually apply to your pinned versions, with fixed versions and aliases in one table.

Quick repository hygiene pass

Scan requirements.txt and go.mod without installing audit tooling or granting repository access.

Re-check after a version bump

Change one pin, scan again, and compare the ranked table; cached queries make the second pass fast.

Supported manifest formats

InputWhat is scanned
package.jsondependencies, devDependencies and optionalDependencies
package-lock.json v2/v3Every entry in the packages map, including nested transitive entries
requirements.txtLines pinned with == or ===
go.modSingle and block require directives
npm aliases / local refsnpm:foo@1.0.0 is scanned as foo

No registry version lookup is performed: a semver range can only be scanned at its lower bound, and range-only constraints such as <2.0.0 are skipped rather than guessed.

Common mistakes

Mistake:Treating a clean report as a full software composition analysis.

Fix:Only exact versions are trustworthy: range lower bounds are approximate, and unpinned or local references are skipped. Check the skipped count before relying on the result.

Mistake:Upgrading to the newest fixed version in any affected range.

Fix:The report suggests the nearest fixed version above the installed one on the same branch; a fix listed only on 2.x is not recommended for a 1.x pin.

Mistake:Comparing scores from different CVSS generations directly.

Fix:The severity badge names its source (CVSS v3, v2 or advisory label). CVSS v4 vectors are shown verbatim but left unscored rather than approximated.

Mistake:Assuming a lockfile lists only direct dependencies.

Fix:Nested node_modules entries are marked transitive and can be filtered separately; use the scope filter when deciding what to fix first.

Frequently asked questions

What data is sent to the server?

Only triples of {ecosystem, package, version} — for example {npm, lodash, 4.17.20}. Those go to OSV.dev's public querybatch API over HTTPS, followed by a GET for each advisory ID the query returns. Your manifest text, code, file paths, repository names and credentials are never transmitted. The privacy panel lists the exact outgoing payloads so you can check them yourself.

Which ecosystems and files are supported?

npm (package.json and package-lock.json v2/v3), PyPI (requirements.txt with == pins) and Go (go.mod require blocks, including +incompatible and versioned replace directives). Format is detected automatically; you can also choose it explicitly.

What if versions are ranges?

Exact pins are queried verbatim. npm ranges such as ^1.2.3, ~1.2 or >=1.2.3 <2 are scanned at their lower bound and clearly labelled approximate; no registry lookup is performed, so we cannot know which version you actually installed. Wildcards, latest, upper-bound-only ranges and local file:/workspace: references are skipped with a visible count — never reported as clean.

Can I scan lockfiles?

Yes. package-lock.json v2 and v3 are accepted: every entry in the packages map is scanned at its exact locked version, and nested node_modules entries are marked transitive so you can filter them. yarn.lock, pnpm-lock.yaml and poetry.lock are not parsed.

How fresh is the OSV data and what does Rescan do?

OSV ingests advisories continuously. Query and advisory records are cached in this browser's memory for 24 hours, so a repeat scan can be instant; a warning tells you when cached data was used. The Rescan button bypasses the cache and fetches fresh results from OSV.dev. A clean report always includes a timestamp and a freshness note.

Why is a vulnerability marked 'score unavailable'?

Some advisory records have no numeric CVSS score. The tool computes base scores locally from CVSS v2 and v3.x vectors, falls back to the advisory database's severity label (for example MODERATE), and otherwise shows 'score unavailable'. CVSS v4 vectors are displayed verbatim but not scored, because they are not comparable with a v3 computation.

How is the suggested fixed version chosen?

The report collects fixed versions from the affected ranges that match your package and picks the lowest one above your installed version. That avoids recommending a fix from a newer major branch when a patch exists on your branch. If no fix is listed above the installed version, the row says so instead of guessing.

Are ignored advisories shared with my team?

No. Ignore entries and their optional justifications live only in this browser's localStorage. Use the Show ignored checkbox to reveal them again, or Unignore to remove an entry. Exported reports contain the findings you chose to keep.

References & standards