vulkro explain
Explain one finding: what it means, why it matters, and how to fix it in your framework.
vulkro explain <FINDING_ID> . # a finding ID from vulkro scan --format json
vulkro explain API2 # an OWASP API category
vulkro explain go-taint-sql-001 # a rule ID: category, family, default severity
Pass the project PATH so the fix guidance matches the framework found there. A rule ID prints its catalogue entry without scanning.
Flags
| Flag | Description |
|---|---|
[ID_OR_CATEGORY] | Finding ID, OWASP category or rule ID. |
[PATH] | Project root. Default .. |
--risk-model | Print the risk-score formula that scan --top and vulkro summary use to rank findings, then exit. No scan runs. |
--ai | Add a plain-language explanation from your AI model for this code. Advisory only: the explanation above it stays the source of truth. See vulkro ai. |
Exit codes
0 explanation printed, 1 no active licence (license_required), 2 bad argument (no ID and no --risk-model) or a scan or IO error.
See also: vulkro scan, OWASP API Top 10.
Command reference
Generated from vulkro explain --help (vulkro 0.41.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.
Explain one finding: what it means, why it matters, and how to fix it in your framework.
vulkro explain [OPTIONS] [ID_OR_CATEGORY] [PATH]
Arguments
| Argument | Description |
|---|---|
[ID_OR_CATEGORY] | Finding ID (from vulkro scan --format json), OWASP category (e.g. API2), or a rule id (e.g. go-taint-sql-001), which prints that check's risk category, family and default severity from the check catalogue without scanning. Optional when --risk-model is passed. |
[PATH] | Path to the project root. Default: .. |
Options
| Flag | Description |
|---|---|
--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. |
--risk-model | Print the deterministic risk-score model (the exact formula scan --top and vulkro summary use to rank findings) and exit. No project scan runs. Ignores the ID argument. |
--ai | [advisory] After the deterministic explanation, print a plain-language local-model narrative (what this is, why it matters in THIS code, how to fix it here) for the matched finding. ADDITIVE and ADVISORY: the deterministic explanation above is unchanged and is the source of truth; the AI text is labelled advisory / non-deterministic / excluded-from-benchmark and NEVER changes the exit code. Ignored with --risk-model. A loopback model is allowed under VULKRO_OFFLINE; a cloud url is refused offline. Configure with vulkro ai |
-q, --quiet | Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged. |
--no-color | Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb. |
-h, --help | Print help (see a summary with '-h') |
Full vulkro explain --help
Explain one finding: what it means, why it matters, and how to fix it in your framework.
Explain a finding with framework-aware remediation guidance.
Exit code: 0 explanation printed (or `--risk-model` doc), 2 on a bad argument (no ID and no `--risk-model`) or a scan / IO error. It prints guidance, it does not fail on findings; the only exit 1 is the licence refusal (`vulkro: license_required`): every form of `explain` needs a licence. `--ai` never changes the exit code.
Usage: vulkro explain [OPTIONS] [ID_OR_CATEGORY] [PATH]
Arguments:
[ID_OR_CATEGORY]
Finding ID (from `vulkro scan --format json`), OWASP category (e.g. API2), or a rule id (e.g. `go-taint-sql-001`), which prints that check's risk category, family and default severity from the check catalogue without scanning. Optional when `--risk-model` is passed
[PATH]
Path to the project root
[default: .]
Options:
--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
--risk-model
Print the deterministic risk-score model (the exact formula `scan --top` and `vulkro summary` use to rank findings) and exit. No project scan runs. Ignores the ID argument
--ai
[advisory] After the deterministic explanation, print a plain-language local-model narrative (what this is, why it matters in THIS code, how to fix it here) for the matched finding. ADDITIVE and ADVISORY: the deterministic explanation above is unchanged and is the source of truth; the AI text is labelled advisory / non-deterministic / excluded-from-benchmark and NEVER changes the exit code. Ignored with `--risk-model`. A loopback model is allowed under VULKRO_OFFLINE; a cloud url is refused offline. Configure with `vulkro ai`
-q, --quiet
Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged
--no-color
Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb
-h, --help
Print help (see a summary with '-h')