🛡 Vee9 Dependency Audit
Outdated and vulnerable dependencies, right where you declare them.
Checks package.json, requirements.txt, pyproject.toml and Cargo.toml against the registries and the OSV vulnerability database, and lists everything in its own sidebar tab.
✨ Features
- Own sidebar tab, grouped into Vulnerable, Major updates and Minor & patch updates, with a badge showing the number of vulnerable packages
- Inline hints at the end of every dependency line:
↑ 2.0.0 major, ⚠ 2 vulnerabilities (high) · fix: 4.17.21 or ✓
- Known vulnerabilities from OSV.dev (GitHub Advisories, PyPA, RustSec), with severity, CVSS score and the first version that fixes them
- Red squiggles and entries in the Problems panel for vulnerable packages
- One-click updates: quick fix (
⌘. / Ctrl+.), hover links or the tree's inline buttons rewrite the version and keep your ^, ~, >= or ==
- Update all minor & patch versions of a manifest at once, then Save & Install runs
npm install, pnpm install, yarn install, cargo update -p …, pip install -r …, uv sync or poetry install for you
- Checks what you actually use: the installed version from
node_modules, then the lock file (package-lock.json, Cargo.lock, poetry.lock, uv.lock), then the pinned version. Only if none exists does it fall back to the lowest version your range allows, and says so
- Monorepo-friendly: finds every manifest in the workspace and the lock file at the repository root
- Live: re-checks when you edit a manifest or a lock file changes
- Cached: results are kept for 12 hours (configurable), so reopening VS Code doesn't hit the registries again
- Copy report as a tab-separated table for a spreadsheet or a ticket
📦 Supported files
| Ecosystem |
Manifests |
Versions from |
| npm |
package.json (dependencies, devDependencies, optionalDependencies) |
node_modules, package-lock.json, npm-shrinkwrap.json |
| PyPI |
requirements*.txt, requirements*.in, pyproject.toml (PEP 621, PEP 735 dependency groups, Poetry) |
== pins, poetry.lock, uv.lock |
| crates.io |
Cargo.toml (incl. dev, build, target and workspace dependencies) |
Cargo.lock |
Git, path, file and workspace dependencies are skipped.
🚀 Usage
Open a project and click the 🛡 Dependency Audit icon in the Activity Bar. Click a package to jump to its line, expand a vulnerable one to see its advisories, and click an advisory to open it in the browser.
In a manifest, hover over a dependency for details or press ⌘. / Ctrl+. on its line to update it.
⚙️ Settings
| Setting |
Default |
Description |
vee9Deps.checkVulnerabilities |
true |
Look up known vulnerabilities on OSV.dev |
vee9Deps.checkOutdated |
true |
Look up the latest version on the registries |
vee9Deps.includeDevDependencies |
true |
Also audit dev dependencies |
vee9Deps.showInlineHints |
true |
Hints at the end of each dependency line |
vee9Deps.showInProblems |
true |
Squiggles and Problems panel for vulnerable packages |
vee9Deps.ignore |
[] |
Packages to skip, e.g. typescript or crates.io:serde |
vee9Deps.exclude |
node_modules, target, .venv, … |
Manifests to skip |
vee9Deps.cacheHours |
12 |
How long lookups are cached |
vee9Deps.maxManifests |
200 |
Safety limit for huge workspaces |
🔒 Privacy
To check your dependencies, this extension sends package names and versions to registry.npmjs.org, pypi.org, crates.io and api.osv.dev. It never sends your code, file names or anything else. Private packages that aren't on the public registry show up under Couldn't check; add them to vee9Deps.ignore if you don't want them looked up at all. Turn off vee9Deps.checkOutdated and vee9Deps.checkVulnerabilities to stay fully offline.
⚠️ Good to know
- Only direct dependencies are checked, not the whole dependency tree. For a full audit of transitive dependencies use
npm audit, pip-audit or cargo audit.
- A "major" update may contain breaking changes. For
0.x versions a minor bump (0.3 → 0.4) also counts as major.
🎨 Looks best with
Vee9 Secret Scanner and Vee9 Env Guard: together they cover hard-coded secrets, leaked .env values and vulnerable packages.
| |