Every environment variable the vulnetix binary reads for credentials, endpoints, labels, output, caches, tuning and debugging, with defaults.
Updated 02 Nov 2026Checked against cli@24498404a
Flags win over environment variables wherever both exist. Variables used only by one product’s commands (the runtime sensor, the SIEM forwarder, the AI Firewall) are documented in that product’s segment.
Output width when not a terminal and --width is not set
Caches
Variable
Default location
Effect
VULNETIX_SAST_CACHE_DIR
<user cache dir>/vulnetix/sast
SAST rule-result cache; point a CI cache step here. --no-cache turns it off.
VULNETIX_GRAPH_CACHE_DIR
<user cache dir>/vulnetix/graph
Per-file graph facts cache for analyze and scans
VULNETIX_MALSCAN_DEFS_DIR
<user cache dir>/vulnetix/malscan/definitions
Malscan threat-intel definitions
VULNETIX_NO_TOKEN_CACHE
~/.vulnetix/cache/tokens
Any value: do not keep SigV4 tokens on disk
VULNETIX_NO_LICENSE_CACHE
~/.vulnetix/cache/licenses
Any value: do not keep licence lookups
VULNETIX_NO_BINARY_CACHE
~/.vulnetix/cache/binaries
Any value: do not keep binary version detections
<user cache dir> is ~/.cache on Linux (or $XDG_CACHE_HOME), ~/Library/Caches on macOS and %LocalAppData% on Windows. VDB responses are cached under ~/.vulnetix/cache/vdb/, one directory per CLI version; old versions are cleaned at start.
Tuning
Variable
Default
Effect
VULNETIX_SCA_CONCURRENCY
6 (1 to 16)
Parallel cli.sca requests
VULNETIX_SCA_TIMEOUT
75 seconds (10 to 300)
Per-request limit for cli.sca
VULNETIX_SAST_WORKERS
CPU count
Concurrent rule evaluations
VULNETIX_SAST_SHARDS
by CPU count and rule count
Concurrent compile and evaluate shards; 1 compiles once
VULNETIX_SAST_NO_LANG_FILTER
unset
Any value: run rules for languages absent from the repository too
VULNETIX_REACHABILITY_CONCURRENCY
CPU count (1 to 32)
Files analysed in parallel by reachability
VULNETIX_GRAPH_WORKERS
CPU count
Parallel file parsing for the graph
GOMEMLIMIT
75% of the cgroup memory.max or physical memory
A scan sets a soft Go memory limit so the GC works harder before the kernel kills it. An explicit GOMEMLIMIT wins.
Debugging
Variable
Effect
VULNETIX_HTTP_TRACE
Any value: one stderr line per VDB request with start offset, duration, status, method, URL and connection setup time, e.g. [http#5] + 2241ms 3836ms 200 POST api.vdb.vulnetix.com/v2/cli.sca net=0ms
VULNETIX_PPROF_DIR
Write cpu.pprof (and other profiles) for the run into this directory