Back to Vibe Coder Toolkit
Codebase
Dependency Intel
npm audit with context
npx promptreports-cli depsRuns npm audit for CVEs, npm outdated, unused packages, license compliance. Every dependency, explained.
deps is npm audit on steroids. Runs security scan for CVEs grouped by severity. Checks every package against latest version, flagging major updates separately (breaking changes). Scans your code to find dependencies that are installed but unused. Checks licenses of top 30 packages against a safe list (MIT, Apache-2.0, BSD, ISC) and flags anything else (GPL, AGPL, proprietary).
On this page
Prerequisites
- npm installed
- node_modules populated
Flags & Options
| Flag | Description | Default |
|---|---|---|
| --audit | Security audit (default if no flags) | — |
| --outdated | Check for outdated packages | — |
| --unused | Find unused dependencies | — |
| --licenses | License compliance | — |
| --json | JSON output | — |
Examples
Security scan
npx promptreports-cli depsDefault — CVE check.
Update candidates
npx promptreports-cli deps --outdatedWhat's behind?
Full audit
npx promptreports-cli deps --audit --outdated --unused --licensesEverything at once.
Output
Four optional sections: security vulnerabilities (by severity), outdated packages table, possibly unused list, license flags.
Security Audit
5 vulnerabilities found:
2 critical — protobufjs (CVE-2024-12345), xlsx (CVE-2024-67890)
1 high — axios
2 moderate — lodash, react-dom
Outdated Packages (19 of 127 behind latest)
Package Current Latest Type
typescript 5.0.1 5.3.3 minor
express 4.17.0 4.19.0 minor
next 14.2.0 15.0.0 MAJOR ⚠
prisma 5.0.0 6.0.0 MAJOR ⚠
Possibly Unused (3)
- lodash-es 0 imports in src/
- chart.js 0 imports in src/
- marked 0 imports in src/
License Flags (1)
some-dep: GPL-3.0 (reconsider for commercial use)What it reads and writes
Reads
- package.json
- node_modules/*/package.json
Writes
Nothing (read-only)
Free vs Pro usage
Free tier
- Before every deploy — catch new CVEs
- Quarterly license compliance check
- Pre-acquisition due diligence
Pro tier
Upgrade- Auto-PR for patch-level security fixes
- CVE alerts in Slack before your competitors know
- License compliance history (prove you were compliant on date X)
- Bundle size impact per package
Pro tips
- Never ignore critical CVEs — fix same day
- MAJOR updates deserve a dedicated PR, not a sweep
- Unused packages = bundle size + maintenance cost — delete aggressively