Skip to content

Package vulnerability checker

Free, no sign-up

Check one version of an npm, PyPI, Go, Maven, RubyGems, Rust, NuGet or Composer package for known vulnerabilities, with the version that fixes each.

As in package.json, with the scope if it has one: lodash, @babel/traverse.

One exact version, as in your lockfile. Not a range.

This tool asks the OSV API directly from your browser. It sends the ecosystem, the package name and the version you check, and nothing is sent to HardenKit.

How to use the package vulnerability checker

  1. Choose the ecosystem the package comes from.
  2. Enter the package name in that ecosystem’s format, and one exact version.
  3. Press the button to ask OSV.
  4. Read the table, worst first, and note the version in the “Fixed in” column.

About this tool

Before you add a dependency, or when a colleague asks whether the version in production is affected by something, the question is narrow: does this one version of this one package have known vulnerabilities? This checker answers it for npm, PyPI, Go, Maven, RubyGems, crates.io, NuGet and Packagist without installing the package or running a scanner.

It asks OSV, the open source vulnerability database run by Google. OSV collects advisories from the GitHub Advisory Database, the PyPA, Go and RustSec databases and others, and records affected versions precisely, so the match is on the exact version, not on a product name. Results are listed worst first. Each row has the CVE or advisory ID, its other IDs, a summary, the severity when the advisory gives one, and the lowest version above yours that fixes it.

Three things to keep in mind. The name has to be written the way the ecosystem writes it: group:artifact for Maven, the module path for Go, vendor/package for Composer. An empty result means no known vulnerabilities, which is not the same as none. And this checks one package: its own dependencies are not followed. HardenKit Scan asks the same database about every package it finds in a project or a container image.

Sources

Questions

Which vulnerability database does this use?

OSV (osv.dev). It aggregates the GitHub Advisory Database, the PyPA advisory database, the Go vulnerability database, RustSec and other sources into one format with exact affected version ranges. The same advisory often appears under several IDs; we show it once with its other IDs beside it.

Can I enter a version range like ^4.17.0?

No. A range covers many versions and the answer differs for each. Enter the exact version that is installed, which you find in the lockfile. To check everything a lockfile pins, use a lockfile scanner.

Does “no known vulnerabilities” mean the package is safe?

It means OSV has no advisory that covers that version today. New advisories are published daily, and a vulnerability nobody has reported is in no database. OSV also answers the same way for a name it does not know, so check the spelling.

What does “Malware” mean in the severity column?

The record comes from the malicious packages database: the package or that version of it was published to attack whoever installs it. Treat it as worse than any score. Remove it and assume that anything it could reach on the machine is compromised.

Related tools