Getting Started In 5 Minutes
This guide gets you from zero to a persisted .vpp.db workspace, an audit-ready Decision Defense Dossier, an Executive Client Roadmap, an interactive Remediation Simulator, a browser or terminal workbench, and a verified RunManifest in VulnParse-Pin v2.1.1 (Apache-2.0).
1) Install
The core install already includes the zero-dependency browser workbench (vpp gui), offline ML inference (ACI@3.0 and Pre-KEV), Remediation@1.0, and the stdlib MCP server (vpp mcp). Install with optional [ui] only if you also want the Textual terminal UI (vpp ui):
pipx install "vulnparse-pin[ui]"
For headless CI/automation or browser-GUI-only workstations (without Textual [ui]):
pipx install vulnparse-pin
Or using uv / source editable install:
uv tool install "vulnparse-pin[ui]"
# Or from a local checkout:
pip install -e ".[ui]"
Verify the vpp CLI is ready:
vpp --version
vpp --help
See Installation for environment variables, virtual environments, and Deployment Options for Docker, Kubernetes, and systemd setups.
2) Run the 2-Second Offline Demo (vpp demo)
Experience the full v2.1.1 pipeline 100% offline using the bundled multi-scanner demo pack (Nessus XML + Trivy SARIF + Nuclei JSONL + Semgrep SARIF + Nmap XML + assets.yaml + decisions.yaml + miniature threat-intel snapshot):
# Opens the Textual terminal UI (if [ui] is installed)
vpp demo
# Or launch the built-in browser GUI workbench (works on core install)
vpp demo --gui
In headless shells or CI (skipping any interactive UI launch; --gui cannot be combined with --no-ui):
vpp demo --no-ui
vpp demo automatically creates:
.vpp-demo.db: DuckDB workspace containing bothdemo-baselineanddemo-currentrunsvpp_demo_output/dossier.htmlandvpp_demo_output/dossier.md: Decision Defense Dossiervpp_demo_output/executive_roadmap.html: Executive Client Roadmapvpp_demo_output/remediation_simulator.html: Self-contained offline What-If Remediation Simulatorvpp_demo_output/runmanifest.json: Cryptographically digest-sealedRunManifestwith hash-chained decision ledger
NOTE
Single-passvpp demoandvpp scan --output-dossier ... --output-runmanifest ...writedossier.htmlbeforeRunManifestcomputesoutput_hashes(preventing a circular SHA-256 self-hash), so inline dossiers displayPending post-export RunManifest seal (see runmanifest.json). To embed the sealedsha256:...digest directly insidedossier.html, re-export from.vpp.db/.vpp-demo.dbafter the scan:vpp export --db .vpp.db --format dossier-html -o out/dossier.html
3) Run Your First Scan (vpp scan)
Point vpp scan at one or more scanner reports (Nessus .nessus/.xml/.csv, OpenVAS .xml, Qualys .xml/.csv, SARIF 2.1.0 .sarif/.json, Nuclei .jsonl) plus optional Nmap context, asset inventory (assets.yaml), and triage decisions (decisions.yaml):
vpp scan scan.nessus trivy.sarif \
--nmap nmap.xml \
--assets assets.yaml \
--decisions decisions.yaml \
--profile bod-26-04 \
--output-dossier out/dossier \
--output-md out/executive_roadmap.md \
--output-runmanifest out/runmanifest.json
To generate the complete artifact bundle (JSON, CSV, Executive Roadmap MD, Technical/Dossier MD, Decision Defense Dossier HTML/MD, and RunManifest) in one command:
vpp scan scan.nessus --output-all out/triage_report
This writes .vpp.db (owner-only 0o600 POSIX permissions) alongside out/triage_report.json, out/triage_report.csv, out/triage_report_summary.md, out/triage_report_technical.md, out/triage_report_dossier.md, out/triage_report_dossier.html, and out/triage_report_runmanifest.json. CSV output is formula-injection sanitized by default.
TIP
Running in an air-gapped or restricted network environment? Add--offline(after syncing local caches withvpp intel sync), or add--portablewhen$HOME/XDG_DATA_HOMEis read-only. See Workflow Examples for copy-pasteable MSSP, air-gapped, and scheduled drift scripts.
4) Triage Interactively (vpp gui or vpp ui)
Launch the built-in browser GUI workbench (127.0.0.1:8787, read-only by default — works with the core install, no [ui] extra required):
vpp gui --db .vpp.db --decisions decisions.yaml
Or launch the Textual terminal TUI (vpp ui, requires [ui] extra) over your .vpp.db workspace:
vpp ui --db .vpp.db --decisions decisions.yaml
Key TUI shortcuts (vpp ui):
| Key | Action |
|---|---|
1 / 2 / 3 / 4 |
Filter findings to priority tier P1 / P2 / P3 / P4 (auto-switches back to Findings if on Diff) |
0 |
Clear all active filters (auto-switches back to Findings if on Diff) |
t |
Cycle scoring track (cve_threat / exposure_weakness / all; auto-switches to Findings) |
k |
Toggle CISA KEV filter (auto-switches to Findings) |
u |
Toggle unmatched shadow assets filter (auto-switches to Findings) |
b |
Toggle Pre-KEV breakout watchlist filter (auto-switches to Findings) |
a |
Toggle Remediation@1.0 Remediation Plan panel & counterfactual selection |
/ |
Focus search box (Esc returns to findings table) |
i |
Toggle focus between findings table and inspector pane (Up/Down/PageDown to scroll; Esc returns to table) |
[ / ] |
Previous / next page |
r |
Cycle across runs stored in .vpp.db |
d |
Switch to Diff & Stale Assumptions tab |
e |
Export Decision Defense Dossier for the selected finding |
E |
Export full-run Decision Defense Dossier |
f |
Open deferral / acceptance / mitigation modal (Enter moves Rationale -> Owner or submits) |
? |
Open keybinding help modal (Esc, ?, or Enter closes) |
q |
Quit |
5) Diff Runs and Verify Evidence (vpp diff & vpp verify)
Compare two runs in .vpp.db (or two scan files directly) and fail CI (exit code 2) when stale deferral assumptions or new P1/KEV findings appear:
vpp diff --db .vpp.db --decisions decisions.yaml --fail-on stale-assumption
Verify a RunManifest and its listed output artifact SHA-256 digests in read-only mode:
vpp verify out/runmanifest.json
6) Understand What Just Happened
The v2.1.1 DuckDB pipeline runs end-to-end:
- Validate & Sniff: Enforce path/symlink policy (
PermFileHandler) and classify input formats via bounded 64 KB sniffing (SchemaDetector). - Stream & Normalize: Stream findings in 10,000-row batches (
iter_batches) into.vpp.dbwith canonicalaid_v2_/fid_v2_identity and cross-scanner deduplication. - Hydrate Threat Intel & Pre-KEV: Populate
enrichment_snapshotsfor scan-matched CVEs and PURLs from NVD (CVSS v4.0/v3.x/v2.0), EPSS v5 (plus 90-day velocity slopes), CISA KEV, Exploit-DB, optional GHSA/OSV, and offline Pre-KEV breakout scoring. - Execute Pass DAG: Run
NmapAdapter@1.0(if--nmapsupplied) →ACI@2.0+ explainable offlineACI@3.0ML (ml.mode: shadowby default, recording signed attributions inscore_trace["ml_aci"]without altering v2.0 baseline scores) →Scoring@3.0(dual-trackcve_threat+exposure_weakness) →Triage@2.0(defaultorbod-26-04SSVC) →Remediation@1.0(minimum-patch-set set-cover optimizer) →TopN@2.0→Summary@2.0. - Persist, Diff & Export: Store results in
.vpp.db, compute scan-over-scan diffs (--baseline-run-id), and export Decision Defense Dossiers, Executive Roadmaps, Remediation Plans, Interactive What-If Simulators, JSON (derived["Scoring@3.0"],derived["ACI@2.0"],derived["Triage@2.0"]), CSV, andRunManifest.
Next Steps
- Operator Tutorial — End-to-end engineering walkthrough (multi-scanner fusion, 5-tier
assets.yaml,vpp assets,Scoring@3.0+BOD 26-04,Remediation@1.0/vpp simulate,vpp gui&vpp ui, drift gates, dossiers, and air-gapped/container ops) - Usage — Authoritative reference for all 13 subcommands, flags, and exit codes
- Workflow Examples — End-to-end MSSP, air-gapped, CI,
vpp assets,vpp simulate, and scheduled drift workflows - Deployment Options —
vpp gui, Docker, Docker Compose, Kubernetes CronJob, and systemd units - Output Interpretation — Reading Dossiers, Roadmaps, Remediation Plans, Simulator HTML,
score_trace, SSVC paths, andRunManifest - Upgrade and Migration — Upgrading from
v1.2.xtov2.x - Troubleshooting — Quick fixes for DuckDB permissions,
vpp gui/vpp mcpHTTP auth,vpp assets, offline caches, and TUI setup
5-Minute Checklist
- Install
vulnparse-pin(includesvpp gui) orvulnparse-pin[ui](adds Textual TUI) viapipxoruv - Run
vpp demo --gui(orvpp demo) and explore.vpp-demo.dbandvpp_demo_output/remediation_simulator.html - Run
vpp scanon a real report to generate.vpp.db, a Decision Defense Dossier, andrunmanifest.json - Run
vpp simulateorvpp export --format remediation-mdto inspect minimum-patch remediation actions - Run
vpp verifyon yourrunmanifest.jsonandvpp diffbetween two runs