vulkro respond
Answers "is this package or advisory in my project?" in under a second, for the moment a new advisory drops.
vulkro respond --package event-stream@3.3.6 .
vulkro respond --package requests==2.31.0 .
vulkro respond --advisory SUP-COMPROMISE-001 .
It reads the lockfiles (package-lock.json, npm-shrinkwrap.json, poetry.lock, Pipfile.lock, Cargo.lock, go.sum) and the imports in JavaScript, TypeScript, Python, Go and Rust files, then lists every place the package appears, direct or transitive. It does not run a full scan and does not query any advisory service.
Flags
Pass exactly one of --package or --advisory.
| Flag | Description |
|---|---|
--package <PKG@VER> | name@version (npm, Cargo, scoped npm) or name==version (PyPI). |
--advisory <ID> | SUP-COMPROMISE-001 to 005, or an incident ID such as INCIDENT-2018-event-stream. CVE IDs are not supported: use --package, or run vulkro scan. |
-f, --format <FORMAT> | table (default), json, sarif, gh-pr, junit, csv. |
--no-cache | Skip the cached index and rebuild it. |
--ai | Add an advisory local-model note on each match. Never changes the result or the exit code. |
The index is cached under ~/.vulkro/cache/ and rebuilt when any lockfile changes.
Exit codes
| Code | Meaning |
|---|---|
0 | Not found: you are not exposed. |
1 | Found in at least one place. |
2 | Bad argument, IO failure or unsupported advisory ID. |
See also: SUP-COMPROMISE rules, vulkro match-cve.
Command reference
Generated from vulkro respond --help (vulkro 0.41.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.
Answer "is this package or advisory in my project?" in under a second.
vulkro respond [OPTIONS] [PATH]
Arguments
| Argument | Description |
|---|---|
[PATH] | Path to the project root (default: current directory) Default: .. |
Options
| Flag | Description |
|---|---|
--advisory <ID> | Curated advisory ID. Accepts SUP-COMPROMISE-001..005 (the stable rule-id family) and specific incident IDs (INCIDENT-2018-event-stream). CVE-* IDs return an actionable error: pass --package <name>@<version> instead. |
--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. |
--package <PKG@VER> | Explicit name@version (or name==version for PyPI, or @scope/pkg@version for scoped npm packages). Mutually exclusive with --advisory |
-q, --quiet | Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged. |
-f, --format <FORMAT> | Output format. Default table for humans, json and ndjson available for tooling. Default: table. |
--no-color | Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb. |
--no-cache | Bypass the on-disk reverse-index cache at ~/.vulkro/cache/<short-blake3-of-root>/reverse-index-v1.json. Forces a fresh walk + suppresses the cache write. Useful when you want to time a cold start or you suspect the cache is stale. |
--ai | [advisory] For each matched package, add a plain-language local-model reachability / relevance judgement grounded in the project's own call sites (which source files import it directly, what pulls it in transitively). ADDITIVE and ADVISORY: the deterministic presence match is unchanged and is the source of truth; the AI text is labelled advisory / non-deterministic / excluded-from-benchmark and NEVER flips the Clean/Exposed outcome or the exit code. A loopback model is allowed under VULKRO_OFFLINE; a cloud url is refused offline. Configure with vulkro ai |
-h, --help | Print help (see a summary with '-h') |
Full vulkro respond --help
Answer "is this package or advisory in my project?" in under a second.
Incident-response mode: in seconds, answer "is THIS advisory or package in my project?" Walks the project's lockfiles plus per-file imports and reports every place the named package shows up. Designed for the 3am advisory-drop workflow: cold start + run + decision, all under one second on a typical project.
Caching: the reverse index is cached at `~/.vulkro/cache/<short-blake3-of-root>/reverse-index-v1.json`. The cache invalidates when any lockfile under the project changes (mtime / len / new file / removed file). Pass `--no-cache` to bypass both the read and the write.
Exit codes (unaffected by `--ai`): `0` target NOT found - you are not exposed. `1` target FOUND - at least one match in the project. `2` error: bad arg, IO failure, or an unsupported advisory id (CVE-* lookup is not yet implemented; pass `--package <name>@<version>` instead).
Examples: `vulkro respond --package event-stream@3.3.6 .` `vulkro respond --package @solana/web3.js@1.95.6 .` `vulkro respond --package requests==2.31.0 .` `vulkro respond --advisory SUP-COMPROMISE-001 .`
Usage: vulkro respond [OPTIONS] [PATH]
Arguments:
[PATH]
Path to the project root (default: current directory)
[default: .]
Options:
--advisory <ID>
Curated advisory ID. Accepts `SUP-COMPROMISE-001`..`005` (the stable rule-id family) and specific incident IDs (`INCIDENT-2018-event-stream`). CVE-* IDs return an actionable error: pass `--package <name>@<version>` instead
--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
--package <PKG@VER>
Explicit `name@version` (or `name==version` for PyPI, or `@scope/pkg@version` for scoped npm packages). Mutually exclusive with `--advisory`
-q, --quiet
Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged
-f, --format <FORMAT>
Output format. Default `table` for humans, `json` and `ndjson` available for tooling
Possible values:
- table
- json
- sarif
- gh-pr
- gh-pr-inline-comments: GitHub PR per-finding **inline review comments**. NDJSON, one `{path, line, side, severity, rule_id, fingerprint, body}` object per line. Designed to be piped straight to a `gh api` loop so `vulkro gate` can drop comments next to the offending line on the Files Changed tab without going through a GitHub App. See the GitHub CLI integration guide at docs.vulkro.com. `gh-pr-inline` is accepted as an alias: it is the name the docs and `vulkro-sf` use
- github-annotations: GitHub Actions / GitLab CI **PR annotations**. One workflow-command line per finding (`::error file=...,line=...,endLine=...,title=<rule id>::<message> (<helpUri>)`). Printed straight to a CI job's stdout, GitHub turns each line into an inline annotation pinned to `file:line` on the Files Changed tab; GitLab CI's annotation parser reads the same grammar. When run against a baseline (`--gate-vs` / a `gate` flow) only NEW findings are annotated so a first run does not paper the PR
- gitlab-mr: GitLab Merge-Request comment: GitLab-flavored Markdown with collapsible blocks
- bitbucket-pr: Bitbucket Pull-Request comment: flat Markdown (Bitbucket does not render `<details>`)
- azure-pr: Azure DevOps Pull-Request comment: flat Markdown (shared with Bitbucket)
- junit
- csv
- cyclonedx: CycloneDX 1.6 JSON SBOM (uses `ScanResult.packages`)
- cyclonedx-1.7: CycloneDX 1.7 JSON SBOM. Same component shape as `cyclonedx`; emits the newer `specVersion`. Offered alongside 1.6 (which stays default)
- spdx: SPDX 2.3 JSON SBOM
- spdx3: SPDX 3.0.1 JSON-LD SBOM (`@context` + `@graph` of typed elements). Offered alongside SPDX 2.3, which stays the default for `--format spdx`
- cbom: CycloneDX 1.6 CBOM (Cryptographic Bill of Materials): one `cryptographic-asset` component per detected weak algorithm (MD5, SHA-1, ECB, RC4, DES, static IV, insecure RNG), with file:line occurrences inlined under `evidence.occurrences`. Compliance buyers (FedRAMP, post-quantum readiness reviews) ask for this as a distinct artefact from the library SBOM
- openvex: OpenVEX 0.2.0 exploitability statements for each dependency CVE (`affected` / `not_affected` / `under_investigation`), with `not_affected` backed by reachability analysis. Pairs with an SBOM
- cyclonedx-vex: CycloneDX 1.6 VEX: the same exploitability verdicts as `openvex`, in a CycloneDX `vulnerabilities[].analysis` document
- cbom-1.7: CycloneDX 1.7 CBOM. Same crypto-asset grouping as `cbom` plus a richer post-quantum descriptor. Offered alongside 1.6 (default)
- aibom: CycloneDX 1.6 ML-BOM (AIBOM): the AI SDKs and frameworks the project declares or imports, the model identifiers its code names, model files in the repository (hashed, pickle formats flagged) and the MCP servers and tools it declares, each with file:line evidence
- pdf: PDF render of the executive HTML report (requires `wkhtmltopdf` on PATH)
- ropa-md: GDPR Article 30 Records-of-Processing template - Markdown
- ropa-html: GDPR Article 30 Records-of-Processing template - HTML
- ndjson: Newline-delimited JSON: one finding per line plus a trailing summary line. Designed for SIEM ingestion and `jq` filter pipelines
- evidence-graph: Evidence-graph JSON (`evidence-graph/1.0`): a stable, versioned, AI-consumable document that composes endpoints, taint source -> sink flows, reachability verdicts, findings, and the dependency SBOM into one graph. Meant to be handed to an external AI agent as deterministic ground truth (Vulkro embeds no model; the agent brings its own). Pairs with `vulkro aggregate` for cross-repo linking. See `docs/ai-tool/`
[default: table]
--no-color
Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb
--no-cache
Bypass the on-disk reverse-index cache at `~/.vulkro/cache/<short-blake3-of-root>/reverse-index-v1.json`. Forces a fresh walk + suppresses the cache write. Useful when you want to time a cold start or you suspect the cache is stale
--ai
[advisory] For each matched package, add a plain-language local-model reachability / relevance judgement grounded in the project's own call sites (which source files import it directly, what pulls it in transitively). ADDITIVE and ADVISORY: the deterministic presence match is unchanged and is the source of truth; the AI text is labelled advisory / non-deterministic / excluded-from-benchmark and NEVER flips the Clean/Exposed outcome or the exit code. A loopback model is allowed under VULKRO_OFFLINE; a cloud url is refused offline. Configure with `vulkro ai`
-h, --help
Print help (see a summary with '-h')