CVE Lite CLI is a fast, local-first vulnerability scanner for JavaScript and TypeScript projects.
It scans your existing lockfile, identifies known vulnerabilities using the OSV database, and gives you a clear remediation path — without requiring accounts, API keys, or uploading your code.
Install globally using npm:
npm install -g cve-lite-cliOr run it directly without installing:
npx cve-lite-cliNavigate to your project:
cd your-projectRun:
cve-lite .That’s it.
The CLI will:
- detect your lockfile (npm, pnpm, or Yarn)
- scan dependencies locally
- match vulnerabilities using OSV
- classify issues (direct vs transitive)
- suggest a fix plan when possible
When you run cve-lite, you don’t just get a list of CVEs — you get a clear, structured view of what actually matters and how to fix it.
Example:
>_ CVE Lite CLI (1.12.1)
────────────────────────────────
✔ Scan dependencies
✔ Highlight critical issues
✔ Show a clear fix plan
Fast. Local. Developer-first.
Advisory source: OSV (https://api.osv.dev)
Parsed 1092 packages from package-lock (package-lock.json)
Cache: 9454 package match records, 277 advisory detail records
✓ Loaded package matches from cache
✓ Loaded 17 vulnerability detail records
✓ Analyzed vulnerability findings
────────────────────────────────
📦 Vulnerabilities found
────────────────────────────────
HIGH @angular/compiler@19.2.19
Direct dependency
Fix: upgrade to 19.2.20
HIGH @angular/core@19.2.19
Direct dependency
Fix: upgrade to 19.2.20
HIGH picomatch@4.0.2
Transitive dependency
Fix: No dependency path found — inspect lockfile to identify which package pulls in picomatch
────────────────────────────────
🛠 Copy And Run These Fix Commands
────────────────────────────────
Detected package manager: npm (package-lock.json)
2 command groups ready across 3 packages (1 high, 1 medium).
Validation: scanned 10 package versions; 7 are still known vulnerable.
High severity fix commands
> npm install @angular/compiler@19.2.20 @angular/core@19.2.20
Medium severity direct fixes
> npm install postcss@8.5.10
────────────────────────────────
🚀 Top Priority Issue
────────────────────────────────
Upgrade @angular/compiler → 19.2.20
Command:
> npm install @angular/compiler@19.2.20
────────────────────────────────
Summary
────────────────────────────────
11 vulnerable packages
7 high · 3 medium · 1 low
4 direct · 7 transitive
✖ Scan complete. 7 urgent issues found.
Run with --verbose for fix plan, paths, and full table.The output is intentionally structured to help you move from detection → decision → remediation quickly.
Each issue is clearly labeled:
- Direct dependencies → you can fix these immediately
- Transitive dependencies → require deeper inspection
Example:
HIGH @angular/compiler@19.2.19
Direct dependency
Fix: upgrade to 19.2.20This helps you prioritize what you can fix right away vs what may require dependency chain analysis.
This is the most important part of the output — and the main difference from most vulnerability scanners.
Instead of forcing you to:
- read logs
- search advisories
- manually figure out versions
CVE Lite CLI generates ready-to-run commands:
High severity fix commands
> npm install @angular/compiler@19.2.20 @angular/core@19.2.20These commands are:
- validated against known vulnerable versions
- grouped by severity
- aligned with your package manager
- safe upgrade targets where available
This means:
You can copy, paste, and fix multiple vulnerabilities in seconds — often without leaving your terminal.
No digging through logs. No guesswork. No need to manually trace dependency chains or search for safe versions.
The CLI highlights the single most important fix:
Upgrade @angular/compiler → 19.2.20This is useful when:
- you don’t have time to fix everything
- you want the biggest risk reduction first
At the end, you get a clean overview:
11 vulnerable packages
7 high · 3 medium · 1 low
4 direct · 7 transitiveAlong with a final status:
✖ Scan complete. 7 urgent issues found.Most tools stop at telling you what’s wrong. CVE Lite CLI focuses on getting you to a fix.
- Clear prioritization
- Direct vs transitive visibility
- Actionable fix commands
- Minimal time from scan → fix
Before:
7 high vulnerabilities
After applying suggested fix commands:
2 high vulnerabilitiesCVE Lite CLI suggests safe upgrade targets where possible.
You can apply fixes manually:
npm install <package>@<safe-version>Or use the CLI’s fix helper:
cve-lite --fixAfter your first scan, these commands help you go deeper, automate checks, and integrate CVE Lite CLI into your workflow.
cve-lite --reportCreates a local HTML report with:
- vulnerability summary
- direct vs transitive breakdown
- fix suggestions
- clean, readable layout for sharing
Useful for:
- sharing findings with your team
- attaching to GitHub issues
- documenting security reviews
cve-lite --verboseUse this when you want:
- full vulnerability tables
- dependency paths (where available)
- deeper insight into transitive issues
cve-lite --fail-on high
Common values:
- critical
- high
- medium
- low
Useful for:
- CI pipelines
- enforcing security thresholds before release
cve-lite --json
#cve-lite --sarif (Coming soon)Use this for:
- GitHub code scanning
- automated reporting
- integrating with other tools
cve-lite --fixUses the CLI’s validated fix plan to guide remediation.
cve-lite --offlineUses cached advisory data.
Useful for:
- restricted environments
- faster repeated scans
CVE Lite CLI focuses on dependency vulnerability scanning.
It does not currently provide:
- runtime exploitability analysis
- container or infrastructure scanning
- secrets detection