Offline mode
A scan never needs the network, and one switch turns off every outbound call. For the whole picture, see Vulkro as an air-gapped SAST tool.
export VULKRO_OFFLINE=1 # every command, every run
vulkro scan . --offline # or just this run
Any value turns offline mode on, including an empty one, except 0, false, no and off. vulkro-sf, the VS Code extension and the install scripts read the variable the same way.
Set up an air-gapped machine
| Step | Command |
|---|---|
| 1. Install the binary from your internal mirror or a copied archive | see Air-gapped machines |
| 2. Install a licence file (no sign-in) | vulkro activate <file.lic> |
| 3. Load vulnerability data from a signed bundle | vulkro update --bundle ./vulkro-cve-<date>.vkbundle |
| 4. Scan | vulkro scan . |
Pro users create an offline .lic on the Connect page of the customer portal; for anything custom, write to license@vulkro.com. In CI, set VULKRO_LICENSE_B64 to the base64 of the .lic instead of running activate.
What offline mode changes
| Command or call | With VULKRO_OFFLINE=1 |
|---|---|
vulkro scan | Runs normally, fully local |
| Heartbeat and lease refresh | Off. A signed-in lease lapses at its signed expiry; a .lic needs no refresh |
vulkro login | Refused. Use vulkro activate <file.lic> |
vulkro update | Refused. --bundle <file> and --verify <file> still work |
VULKRO_CVE_LIVE=1 | Ignored |
scan --validate-secrets | Refused |
scan --post-to, vulkro notify | --post-to skipped with a warning; notify refused |
vulkro rules add / rules update | Refused |
vulkro probe, vulkro cloud, vulkro publish, install-extension | Refused |
| Cloud AI endpoint | Refused. A local model on 127.0.0.1 or localhost still works |
Refused commands stop with a message that says what to do instead.
Mirror the CVE bundle
To refresh vulnerability data from an internal server instead of carrying files by hand:
export VULKRO_CDN_BASE_URL="https://artifacts.internal/vulkro-cve"
vulkro update
The mirror serves the same layout as https://dist.vulkro.com/cve. Bundles are still verified against the keys built into the binary. To refuse to scan with stale data, add --max-bundle-age <hours> --max-bundle-age-fail to vulkro scan (exit 2 when the bundle is too old or missing).
Check it yourself
unshare -rn vulkro scan . --offline # Linux: no network namespace
The scan completes with no network interface at all. Network egress lists every call Vulkro can make.
See also: Bundle format, Signing and trust roots, Telemetry.