Skip to main content

vulkro aggregate

Link evidence-graph exports from two or more repositories and list the calls in one repo that reach an endpoint in another.

vulkro scan ../api --format evidence-graph > api.json
vulkro scan ../frontend --format evidence-graph > frontend.json
vulkro aggregate api.json frontend.json --format table

Each input comes from vulkro scan <repo> --format evidence-graph or vulkro discover <repo> --format evidence-graph. The match is deterministic: an outbound HTTP call whose normalised route and method match an endpoint in another repo becomes a candidate CrossRepoLink. Each link records both ends (repo, file, line), the shared route and method, the callee's auth posture and the reasons for the match. The summary counts links that reach an unauthenticated endpoint.

The links are candidates for a person or an AI coding agent to check, not verdicts. The same workflow is available as the evidence_graph and aggregate tools of vulkro mcp serve.

Flags​

FlagDescription
-f, --format <FORMAT>json (default): the full evidence-aggregate/1.0 document. table: a readable summary.

Exit codes​

CodeMeaning
0No cross-repo links found.
1One or more candidate links reported.
2Bad argument, unreadable file or bad JSON.

See also: Output formats: evidence-graph.

Command reference​

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

Link scan exports from several repositories to spot data flows that cross repo boundaries.

vulkro aggregate [OPTIONS] <GRAPH_JSON>...

Arguments​

ArgumentDescription
<GRAPH_JSON>...Two or more evidence-graph JSON files, one per repository.

Options​

FlagDescription
-f, --format <FORMAT>Output format: json (the full aggregate document, default) or table (a human-readable summary of the candidate links) Default: json.
--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.
--no-colorTurn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb.
-h, --helpPrint help (see a summary with '-h')
Full vulkro aggregate --help
Link scan exports from several repositories to spot data flows that cross repo boundaries.

Link evidence-graph exports from several repositories to surface candidate cross-repo flows for an AI agent to investigate.

Each input is a JSON document produced by `vulkro scan <repo> --format evidence-graph` (or `vulkro discover <repo> --format evidence-graph`). The linker is deterministic: an outbound HTTP client call in one repo whose normalised route shape and method match an exposed endpoint in another repo is emitted as a candidate `CrossRepoLink`. Vulkro embeds no model; the surfaced links are ground truth an external AI agent then reasons about. See `docs/ai-tool/` for the schema and workflow.

Base URLs built at runtime (`${process.env.ORDERS_URL}`, `getBaseUrl()`, `os.Getenv("X")`) are resolved from each repo's `.env*`, docker-compose, Dockerfile, Kubernetes and config files when its graph is built. Each link's `match` field says how it was made: `literal`, `env-resolved`, `service-name` (the variable or client names the service) or `shape` (method and path shape only, in exactly one repo). A shape that fits several repos is listed under `ambiguous_calls`, never as a link.

Exit codes: `0` no cross-repo links found, `1` one or more candidate links reported, `2` arg error, unreadable file, or bad JSON.

Usage: vulkro aggregate [OPTIONS] <GRAPH_JSON>...

Arguments:
<GRAPH_JSON>...
Two or more evidence-graph JSON files, one per repository

Options:
-f, --format <FORMAT>
Output format: `json` (the full aggregate document, default) or `table` (a human-readable summary of the candidate links)

Possible values:
- json: The full `evidence-aggregate/1.0` JSON document (default)
- table: Human-readable summary of the candidate cross-repo links

[default: json]

--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

--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')