|
| 1 | +# Network Behavior and Privacy |
| 2 | + |
| 3 | +CVE Lite CLI is a local-first dependency vulnerability scanner for JavaScript and TypeScript projects. This document explains what it does locally, when it makes external calls, and how support for stricter environments is planned. |
| 4 | + |
| 5 | +## Overview |
| 6 | + |
| 7 | +CVE Lite CLI scans project dependency data on the machine where you run it. It is intended for developers and teams who want a practical vulnerability check close to release time, without adopting a larger hosted security platform. |
| 8 | + |
| 9 | +The tool does not require a hosted account or external dashboard. |
| 10 | + |
| 11 | +## What happens locally |
| 12 | + |
| 13 | +When you run CVE Lite CLI, the following work happens locally: |
| 14 | + |
| 15 | +- reading supported lockfiles |
| 16 | +- extracting dependency package information |
| 17 | +- classifying findings as direct or transitive |
| 18 | +- prioritizing fix candidates |
| 19 | +- generating CLI, JSON, or SARIF output |
| 20 | +- using local cache data where available |
| 21 | + |
| 22 | +This local-first design keeps the workflow simple and helps teams understand what the tool is doing. |
| 23 | + |
| 24 | +## External calls in standard mode |
| 25 | + |
| 26 | +In its standard mode, CVE Lite CLI queries OSV for advisory data used in vulnerability matching. |
| 27 | + |
| 28 | +This means the scanner may make outbound network requests during a scan in order to retrieve vulnerability information for the dependencies it is checking. |
| 29 | + |
| 30 | +## Current outbound destination |
| 31 | + |
| 32 | +In standard mode, CVE Lite CLI retrieves advisory data from OSV over HTTPS. |
| 33 | + |
| 34 | +Current base URL: |
| 35 | +- https://api.osv.dev/ |
| 36 | + |
| 37 | +This is the default public advisory service used by the tool today. |
| 38 | + |
| 39 | +## What is not uploaded |
| 40 | + |
| 41 | +CVE Lite CLI is not designed as a source-code upload service. |
| 42 | + |
| 43 | +- application source code is not uploaded |
| 44 | +- the tool does not require a hosted dashboard |
| 45 | +- the tool does not require a user account |
| 46 | + |
| 47 | +## Local cache behavior |
| 48 | + |
| 49 | +CVE Lite CLI uses local caching to reduce repeated advisory lookups and improve scan speed. |
| 50 | + |
| 51 | +This helps keep repeat scans fast and reduces unnecessary network activity. |
| 52 | + |
| 53 | +## Why this documentation exists |
| 54 | + |
| 55 | +Some teams, especially in enterprise, regulated, or restricted CI environments, need to understand exactly when a tool makes outbound calls. |
| 56 | + |
| 57 | +This document exists to make that behavior explicit and reviewable. |
| 58 | + |
| 59 | +## Planned support for stricter environments |
| 60 | + |
| 61 | +CVE Lite CLI is being extended to better support environments with stricter network controls. |
| 62 | + |
| 63 | +Planned capabilities include: |
| 64 | + |
| 65 | +### Offline mode |
| 66 | + |
| 67 | +A future offline mode is intended to allow scans with zero outbound network calls, using only locally available advisory data or cache content. |
| 68 | + |
| 69 | +Example target workflow: |
| 70 | + |
| 71 | + cve-lite scan --offline |
| 72 | + |
| 73 | +### Custom advisory endpoint support |
| 74 | + |
| 75 | +A future custom endpoint option is intended to allow organizations to route advisory lookups through an internal proxy or mirrored service. |
| 76 | + |
| 77 | +Example target workflow: |
| 78 | + |
| 79 | + cve-lite scan --osv-url https://security.company.internal/osv |
| 80 | + |
| 81 | +### Local advisory database input |
| 82 | + |
| 83 | +A future local advisory database option is intended to support controlled environments where advisory data is supplied from an approved internal source. |
| 84 | + |
| 85 | +Example target workflow: |
| 86 | + |
| 87 | + cve-lite scan --advisory-db ./internal-advisories.json |
| 88 | + |
| 89 | +## Roadmap note |
| 90 | + |
| 91 | +These stricter execution modes are planned so teams can adopt CVE Lite CLI even when direct outbound access to public services is limited or disallowed. |
| 92 | + |
| 93 | +The goal is to preserve the same local-first developer experience while giving security-conscious organizations clearer deployment options. |
0 commit comments