package.json vulnerability checker
Paste a package.json and see which dependencies have known security advisories, with the version that fixes each one. Free, and it runs in your browser.
Questions
- What does this checker do?
- It reads the dependencies and devDependencies in your package.json and checks each one against the OSV vulnerability database (osv.dev), which collects GitHub Security Advisories and other sources for npm packages.
- Is my package.json uploaded anywhere?
- No. The check runs in your browser: it sends only package names and versions to osv.dev, and nothing to CloudCode.
- Why does it check the lowest version of a range?
- package.json holds version ranges, not installed versions. A range like ^4.17.0 still allows 4.17.0 to install, so if that version is vulnerable, the range is worth tightening. Your lockfile may already pin a newer, fixed version.
- How do I fix what it finds?
- Raise the range to the fixed version shown for each advisory, then reinstall and test. In CloudCode, the Claude Code agent can update package.json, install, run your build and tests, and fix what breaks.