npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vulnscope

v0.2.2

Published

Scan lockfiles for known CVEs using the VulnScope database (OSV + KEV + EPSS).

Readme

vulnscope

npm version npm downloads license

Scan your lockfile for known CVEs, with CISA KEV and FIRST EPSS overlays baked in. Powered by the VulnScope project; uses its hosted API by default so there's nothing to install or sync.

Install

No install needed:

npx vulnscope check

Or install globally:

npm i -g vulnscope
vulnscope check

Requires Node 18+.

Usage

# Auto-detect lockfile in current directory
vulnscope check

# Explicit path to a lockfile or project directory
vulnscope check ./path/to/pnpm-lock.yaml
vulnscope check ../some-project

# Machine-readable JSON (for CI / scripting)
vulnscope check --json

# Only fail on CRITICAL or HIGH
vulnscope check --severity CRITICAL,HIGH

# Ignore specific CVEs you've accepted as risk
vulnscope check --ignore CVE-2021-23337 --ignore CVE-2024-12345

# CI-friendly: report findings but never fail
vulnscope check --exit-zero

Flags

| Flag | What it does | |---|---| | --api <url> | Override the backend (default https://vulnscope-tw.fly.dev; env VULNSCOPE_API also works) | | --json | Output stable JSON, suppress banners | | --exit-zero | Always exit 0, even when CVEs found | | --severity <list> | Comma list: CRITICAL,HIGH,MEDIUM,LOW | | --ignore <cve> | Suppress a specific CVE ID (repeatable) | | --quiet | Print only when findings exist | | --no-color | Disable ANSI colors |

Exit codes

  • 0 — clean (or filtered to clean, or --exit-zero)
  • 1 — found one or more vulnerabilities
  • 2 — operational error (parse failure, network error, missing file)

The split between 1 and 2 lets CI tell "the tool ran but found real CVEs" apart from "the tool itself broke."

Supported lockfiles

  • package-lock.json (npm, lockfileVersion 2 or 3)
  • pnpm-lock.yaml (v9)
  • yarn.lock (Yarn v1 and Berry / v2+ — auto-detected)
  • requirements.txt (pip; only == pinned versions checked)
  • poetry.lock (Poetry)

Bun, Go (go.sum), Rust (Cargo.lock) on the roadmap — open an issue or PR for what you need next.

When multiple lockfiles coexist in the same directory the priority is poetry.lock → requirements.txt → pnpm → yarn → npm, matching what <tool> install would actually consume.

Example output

Scanning 684 packages from ./pnpm-lock.yaml...
  [1/2] chunks sent
  [2/2] chunks sent

Severity  CVE             Package          Installed  Fixed    KEV  EPSS   Summary
────────  ──────────────  ───────────────  ─────────  ───────  ───  ─────  ───────────────────────────
HIGH      CVE-2026-39356  npm/drizzle-orm  0.36.4     0.45.2        0.02%  Drizzle ORM has SQL injec…
MEDIUM    CVE-2026-41305  npm/postcss      8.4.31     8.5.10        0.01%  PostCSS has XSS via Unesc…

✗ Found 2 vulnerabilities (1 HIGH, 1 MEDIUM) in 2 packages · 629 packages not in database.
Top recommendation: upgrade drizzle-orm from 0.36.4 to 0.45.2.

CI example

GitHub Actions:

- run: npx vulnscope check --severity CRITICAL,HIGH

GitLab:

audit:
  script: npx vulnscope check --severity CRITICAL,HIGH

To capture results without failing the build:

- run: npx vulnscope check --json --exit-zero > vulns.json

Backend / self-host

By default the CLI talks to https://vulnscope-tw.fly.dev (free, no auth, "best effort, no SLA"). To point at your own deployment:

vulnscope check --api https://vulns.your-company.com
# or
VULNSCOPE_API=https://vulns.your-company.com vulnscope check

Self-hosting docs: https://github.com/Jason-chen-taiwan/vulnscope#deploy-your-own

What we are / aren't

  • Are: a fast, opinionated lockfile→CVE checker with KEV/EPSS context, designed to slot into CI and into npx for one-off audits.
  • Aren't: an SBOM scanner (Trivy, Grype do that better), an auto-patcher (Dependabot/Renovate), or an interactive UI (use the web app for that).

License

MIT