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
+66-1Lines changed: 66 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
<imgsrc="https://github.com/sonukapoor/cve-lite-cli/blob/main/assets/logo-with-title.png"alt="CVE Lite CLI"width="320"/>
9
9
10
10
<h1>CVE Lite CLI</h1>
11
-
<p>Fast, developer-friendly vulnerability scanning for JavaScript and TypeScript projects.</p>
11
+
<p>Fast, developer-friendly vulnerability scanning for JavaScript and TypeScript projects, with offline support for restricted environments.</p>
12
12
13
13
<strong>Scan. Prioritize. Fix.</strong>
14
14
@@ -27,6 +27,13 @@
27
27
28
28
**CVE Lite CLI** helps developers scan their projects for known package vulnerabilities without signing up for an expensive platform. It is built for the moment right before release, when you want a clear answer, a practical fix plan, and a tool you can actually afford to use.
29
29
30
+
It is designed to be:
31
+
32
+
- developer-friendly in day-to-day workflows
33
+
- local-first and transparent about network behavior
34
+
- usable in enterprise and restricted-network environments
35
+
- capable of zero-runtime-network scans through a local advisory database
36
+
30
37
## New: Offline advisory DB support
31
38
32
39
CVE Lite CLI now supports a local advisory database workflow for teams that cannot allow runtime outbound advisory API calls.
For many teams, “works locally” is not enough. They also need a scanner that can fit into environments where runtime outbound calls are restricted, reviewed closely, or disallowed entirely.
63
+
64
+
Offline advisory DB support makes CVE Lite CLI more practical for:
65
+
66
+
- enterprise environments with strict network controls
67
+
- regulated teams that need explicit advisory data handling
68
+
- internal CI systems that should not depend on public runtime API access
69
+
- air-gapped or partially connected workflows
70
+
71
+
This is one of the most important differentiators in the project today because it improves both trust and adoptability, not just convenience.
CVE Lite CLI now supports three clear advisory workflows:
134
+
135
+
### 1. Standard online scan
136
+
137
+
Use the default OSV-backed mode when runtime advisory API access is acceptable:
138
+
139
+
```bash
140
+
cve-lite /path/to/project
141
+
```
142
+
143
+
### 2. Advisory DB sync
144
+
145
+
Build or refresh the local advisory database ahead of time:
146
+
147
+
```bash
148
+
cve-lite advisories sync
149
+
```
150
+
151
+
### 3. Offline local DB scan
152
+
153
+
Scan against the local advisory DB with zero runtime advisory API calls:
154
+
155
+
```bash
156
+
cve-lite /path/to/project --offline
157
+
```
158
+
111
159
## What it looks like
112
160
113
161
CVE Lite CLI produces a clean, summary-first console view by default, designed for fast triage before release.
@@ -197,6 +245,8 @@ Its role is narrower and workflow-focused:
197
245
198
246
This section is here to make the scope clear. CVE Lite CLI aims to complement the broader security ecosystem by being a practical, low-friction option for JS/TS dependency checks close to release time.
199
247
248
+
One of the clearest examples of that focus is offline support: CVE Lite CLI is built to let teams explicitly sync advisory data and then scan locally, instead of forcing every environment to depend on runtime outbound vulnerability API access.
249
+
200
250
## Network behavior and privacy
201
251
202
252
CVE Lite CLI is a local-first scanner. It parses dependency information locally, uses local caching to reduce repeated lookups, and in standard mode queries OSV for advisory data needed for matching. It also now supports a local advisory database workflow for offline scans with zero runtime advisory API calls.
@@ -315,6 +365,8 @@ CVE Lite CLI is designed as a **local-first, metadata-only** scanner. Unlike tra
315
365
It reads your project locally and uses package/version matching against OSV advisories.
316
366
-**offline-capable**
317
367
It can sync and scan against a local advisory database for zero-runtime-network workflows.
368
+
-**enterprise-friendly network model**
369
+
Teams can control when advisory data is synced and where offline scans run, which is valuable in restricted environments.
318
370
-**release-focused**
319
371
It is especially useful before a release, in CI, or during final dependency cleanup.
320
372
@@ -430,6 +482,7 @@ CVE Lite CLI is a good fit for:
430
482
- developers who want a second opinion alongside other tools
431
483
- OSS maintainers who need a practical scan before publishing
432
484
- teams that need offline or controlled-network dependency scanning
485
+
- security-conscious organizations that need clear advisory data control
433
486
434
487
## Supported workflows
435
488
@@ -507,6 +560,16 @@ Compared with other tools in this space, CVE Lite CLI focuses on:
0 commit comments