The latest version published to npm is the only one that gets fixes.
Please don't open a public issue for a security problem.
Use GitHub's private vulnerability reporting instead. Expect a first response within a week.
Please include what you found, how to reproduce it, and what an attacker gets out of it.
Reads lockfiles, and fetches package metadata and tarballs from the public npm registry.
- It never executes an install script. That is the entire premise. Packages are inspected statically.
- Tarballs are fetched from the public npm registry over HTTPS and extracted to a temporary directory. A crafted tarball that escapes extraction is in scope.
reviewshells out tonpm install --dry-run --jsonin your project, to read npm's own pending-approval list.--dry-runresolves the tree without running install scripts.--sinceshells out togitin your repository to read the base lockfile from a ref. Read-only.
In scope: anything that leaks a credential, reads data belonging to someone else, or lets untrusted input reach code execution.
Out of scope: findings that require an attacker to already control the machine it runs on.