Skip to main content

vulkro update

Refreshes the local CVE data, rule packs and compliance frameworks, or applies a signed offline bundle on an air-gapped machine.

vulkro update # download the latest signed data
vulkro update --verify ./vulkro-cve-<id>.vkbundle # check a bundle, write nothing
vulkro update --bundle ./vulkro-cve-<id>.vkbundle # apply it offline

Flags​

FlagDescription
--bundle <PATH>Verify and apply a .vkbundle to ~/.vulkro/data/.
--verify <PATH>Check a bundle's signature and print its manifest.
--dest <PATH>Apply --bundle somewhere other than ~/.vulkro/data/.
--trust-key <PATH>An extra trusted public key. Repeatable.
--no-version-checkSkip the "newer version available" prompt. Use in scripts.

--create, --out and --add build a new signed bundle; they are for our own release tooling.

Version check​

vulkro update is the only command that checks for a newer Vulkro release. If one exists, it offers to install it before refreshing the data. The prompt is skipped when stdin is not a terminal, with --no-version-check or VULKRO_NO_UPDATE_CHECK=1, and when applying, verifying or creating a bundle.

Offline​

Bundles are signed with ed25519 and checked against keys built into the binary (plus any --trust-key). With VULKRO_OFFLINE=1, a plain vulkro update refuses the network and points you to --bundle.

Exit codes​

0 data refreshed, or a bundle verified or applied. 2 bad argument, signature failure, or network or IO error. It never returns 1.

See also: Bundle format, Signing and trust roots.

Command reference​

Generated from vulkro update --help (vulkro 0.41.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.

Refresh the vulnerability data, or apply a signed offline update file.

vulkro update [OPTIONS]

Options​

FlagDescription
--bundle <PATH>Path to a .vkbundle to verify and apply against ~/.vulkro/data/.
--offlineHard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set.
-q, --quietPrint only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged.
--verify <PATH>Verify the signature of a bundle and print the manifest, without writing anything to disk.
--createAuthor a new bundle. Reads the signing key from $VULKRO_SIGNING_KEY (file path or 64-char hex seed). Pair with --out and one or more --add entries.
--no-colorTurn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb.
--out <PATH>Output path for the new bundle.
--add <KIND:TARGET:SOURCE>Bundle entry to include during --create. Format: kind:target/path:source/path where kind is one of cves, rules, compliance. Repeat --add for each file.
--trust-key <PATH>Extra trust root (32 raw bytes or hex). Repeat to register many. Used by --bundle and --verify in addition to the keys baked into the binary.
--dest <PATH>Override the destination root for --bundle (defaults to ~/.vulkro/data/)
--no-version-checkSkip the interactive "new vulkro version available - upgrade now?" prompt that runs before the default CVE-refresh flow. Use in CI / scripts where the prompt would block. Also honours VULKRO_NO_UPDATE_CHECK=1. This prompt is the only place vulkro checks the release feed: no scan or other command checks for a newer version, so that variable affects update and nothing else.
--selfReplace this binary with the latest signed release: verifies the ed25519-signed checksums and the archive hash, swaps atomically, keeps the old binary as vulkro.prev. Refused under VULKRO_OFFLINE.
--rollbackPut back the binary the last update --self replaced (vulkro.prev). No network call.
-h, --helpPrint help (see a summary with '-h')
Full vulkro update --help
Refresh the vulnerability data, or apply a signed offline update file.

Apply, verify, or author a signed offline update bundle (.vkbundle). Designed for air-gapped customers who receive new CVE data, rule packs, and compliance frameworks via signed files instead of the public internet.

Exit code: 0 bundle verified / created / applied, or the CVE data was refreshed (or an offered binary upgrade was installed); 2 on a bad argument, a signature / verification failure, or a network / IO error. It never returns 1.

Usage: vulkro update [OPTIONS]

Options:
--bundle <PATH>
Path to a .vkbundle to verify and apply against ~/.vulkro/data/

--offline
Hard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set

-q, --quiet
Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged

--verify <PATH>
Verify the signature of a bundle and print the manifest, without writing anything to disk

--create
Author a new bundle. Reads the signing key from $VULKRO_SIGNING_KEY (file path or 64-char hex seed). Pair with --out and one or more --add entries

--no-color
Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb

--out <PATH>
Output path for the new bundle

--add <KIND:TARGET:SOURCE>
Bundle entry to include during --create. Format: `kind:target/path:source/path` where `kind` is one of `cves`, `rules`, `compliance`. Repeat --add for each file

--trust-key <PATH>
Extra trust root (32 raw bytes or hex). Repeat to register many. Used by --bundle and --verify in addition to the keys baked into the binary

--dest <PATH>
Override the destination root for `--bundle` (defaults to ~/.vulkro/data/)

--no-version-check
Skip the interactive "new vulkro version available - upgrade now?" prompt that runs before the default CVE-refresh flow. Use in CI / scripts where the prompt would block. Also honours `VULKRO_NO_UPDATE_CHECK=1`. This prompt is the only place vulkro checks the release feed: no scan or other command checks for a newer version, so that variable affects `update` and nothing else

--self
Replace this binary with the latest signed release: verifies the ed25519-signed checksums and the archive hash, swaps atomically, keeps the old binary as `vulkro.prev`. Refused under VULKRO_OFFLINE

--rollback
Put back the binary the last `update --self` replaced (`vulkro.prev`). No network call

-h, --help
Print help (see a summary with '-h')