Quickstart
Run the egress guard and your first VEX scan in a few minutes.
Two commands to start with: guard wraps a command and blocks secret leaks, and vex turns a scanner report into OpenVEXOpenVEX — an open, machine-readable VEX format that CapyShield writes locally..
Wrap your install
Wrap any command to stop secrets leaving your machine. --tls mitm decrypts HTTPS so the guard can see secrets inside it (the default, sni, only sees host names):
capyshield guard --tls mitm -- npm ciExample output:
capyshield: enforce mode, mitm TLS, 2 sensitive ENV value(s) fingerprinted, proxy http://127.0.0.1:49412
capyshield: BLOCKED httpbin.org:443 (secret_leak:env:AWS_SECRET_ACCESS_KEY)
ACTION DESTINATION PROTOCOL CONNS SENT RULE
blocked httpbin.org:443 https-mitm 1 42 B secret_leak:env:AWS_SECRET_ACCESS_KEY
capyshield: 1 connection(s) to 1 host(s)
WARNING: sensitive ENV value AWS_SECRET_ACCESS_KEY appeared in an outbound request to httpbin.org (Blocked)The guard fingerprints sensitive ENV values, proxies outbound traffic and blocks any connection that would carry them, or that your allowlist doesn't permit. A blocked run exits with code 2 so CI fails loudly; otherwise you get the wrapped command's own exit code.
Triage your CVEsCommon Vulnerabilities and Exposures — the public ID for a known security flaw (e.g. CVE-2024-29041).
Point it at a TrivyTrivy — a vulnerability scanner for containers and filesystems., GrypeGrype — a vulnerability scanner for container images and filesystems. or OSV-Scanner report. It checks reachability locally and writes OpenVEXOpenVEX — an open, machine-readable VEX format that CapyShield writes locally.:
capyshield vex --input trivy.json --output openvex.json --fail-on high,criticalExample output:
capyshield: 3 trivy finding(s), 12 source file(s) analyzed: 2 affected, 1 not_affected, 0 under_investigation, 0 fixed
affected CVE-2021-23337 [email protected] (high, imported in 1 file(s))
affected CVE-2024-29041 [email protected] (medium, imported in 3 file(s))
capyshield: wrote openvex.json
capyshield: FAIL 1 affected finding(s) at severity high,criticalPreview before you send
See the exact payload before anything leaves your machine:
capyshield vex --input trivy.json --sync --dry-runExample payload (inspect it before dropping --dry-run):
{
"project": "my-repo",
"scanner": "trivy",
"generated_at": "2026-11-27T10:15:30Z",
"cli_version": "0.2.1",
"openvex": { "author": "capyshield", "statements": [ ... ] },
"findings": [
{
"vulnerability": "CVE-2024-29041",
"purl": "pkg:npm/[email protected]",
"severity": "medium",
"status": "affected",
"decided_by": "reachability",
"reachability": {
"facts": { "in_lockfile": true, "dependency_scope": "direct", "imported_in_prod": true, "matched_files_count": 3 },
"matched_files": ["src/a.ts", "src/b.ts", "src/c.ts"]
}
}
]
}A dry run prints the payload to stdout and uploads nothing. It also doesn't pull team rules, so a status that a team rule would decide shows its local result here.
Findings are labelled affected, not_affected, under_investigation or fixed from lockfile and production-import facts, or by a rule. No source code leaves your machine.
--sync to upload them to your dashboard once you have a token (see How to sync). Run with --dry-run first to see the payload; --sync alone uploads immediately.