You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
<imgsrc="https://raw.githubusercontent.com/sonukapoor/cve-lite-cli/main/assets/logo-with-title.png"alt="CVE Lite CLI"width="320"/>
11
11
12
12
<h1>CVE Lite CLI</h1>
13
-
<p>Fast, developer-friendly vulnerability scanning for JavaScript and TypeScript projects.<br/>Practical fix guidance. Offline support. Clear direct vs transitive visibility.</p>
13
+
<p>Fast, developer-friendly vulnerability scanning for JavaScript and TypeScript projects.<br/>Practical fix guidance. Offline support. Usage-aware reachability. Clear direct vs transitive visibility.</p>
14
14
15
15
<strong>Scan. Understand. Fix.</strong>
16
16
@@ -60,6 +60,7 @@ It is built for the moment right before release: fast, local-first, and honest a
60
60
**Key differentiators:**
61
61
62
62
-**Copy-and-run fix commands** — turns findings into package-manager-aware `npm install`, `pnpm add`, `yarn add`, or `bun add` commands you can run immediately
63
+
-**Usage-aware reachability scanning** — uses static analysis to detect if vulnerable packages are actually imported in your code, cutting alert fatigue with `--usage` and `--only-used`
63
64
-**Direct vs transitive visibility** — shows whether the risk comes from something you installed directly or a nested dependency
64
65
-**Offline advisory DB** — sync advisory data ahead of time and scan with zero runtime API calls, useful for enterprise and restricted-network environments
65
66
-**No account required** — no sign-up, no cloud dashboard, no source code upload
@@ -72,7 +73,8 @@ It is built for the moment right before release: fast, local-first, and honest a
72
73
| JS/TS lockfile scanning | ✅ | ✅ | ✅ | ✅ | ✅ |
73
74
| npm + pnpm + Yarn + Bun support | ✅ | ❌ | ✅ | ✅ | ✅ |
CVE Lite CLI is designed to be blazing fast. Scanning a lockfile is nearly instantaneous, whereas running static reachability analysis across thousands of source files takes significantly more time. Furthermore, static analysis can occasionally produce false negatives (e.g., if a package is used in a build script or dynamically imported at runtime). Making `--usage` opt-in ensures the default lockfile scan remains instant and strictly reflects your dependency graph, while giving you the option to aggressively filter out unreachable noise when triaging findings.
167
+
162
168
## Auto-fix mode (`--fix`)
163
169
164
170
`--fix` applies validated direct dependency fixes using your project's package manager, then rescans automatically.
<li>npm, pnpm, Yarn, and Bun lockfile support</li>
126
+
<li>Usage-aware reachability scanning</li>
126
127
<li>Offline scans with local advisory DB</li>
127
128
<li>Copy-and-run direct fix commands</li>
128
129
<li>Conservative auto-remediation with `--fix`</li>
@@ -191,9 +192,13 @@ <h3>Run one-off with npx</h3>
191
192
</section>
192
193
193
194
<sectionclass="container" id="features">
194
-
<h2>What Makes It Useful</h2>
195
-
<divclass="grid three">
196
-
<articleclass="card" id="fix-mode">
195
+
<h2>What Makes It Useful</h2>
196
+
<divclass="grid three">
197
+
<articleclass="card" id="reachability">
198
+
<h3>Usage-aware reachability</h3>
199
+
<p>Cut alert fatigue instantly. The `--usage` scanner statically analyzes your source code to detect if vulnerable packages are actually imported, and `--only-used` aggressively filters out the rest.</p>
200
+
</article>
201
+
<articleclass="card" id="fix-mode">
197
202
<h3>Conservative `--fix` mode</h3>
198
203
<p>Apply validated direct dependency fixes automatically, then rescan immediately with a concise before/after
0 commit comments