Skip to main content
VulnParse-Pin emblem VulnParse-Pin emblem
VulnParse-Pin
VulnParse-Pin Overview.md
View source on GitHub ↗

VulnParse-Pin Overview

VulnParse-Pin (vpp) is an offline-capable vulnerability intelligence and decision-support engine for teams that need consistent, auditable, and explainable risk prioritization from multi-scanner output.

Starting with v2.0.0 (Apache-2.0) and expanded in v2.1.0, it streams reports from infrastructure, container, DAST, and SAST scanners into a persistent 14-table DuckDB workspace (.vpp.db), enriches matched CVEs and PURLs with threat intelligence (including 90-day EPSS velocity and Pre-KEV breakout alerts), scores both CVE and non-CVE exposure findings (Scoring@3.0 + ACI@2.0 / ACI@3.0), evaluates CISA BOD 26-04 SSVC and deferral policies (Triage@2.0), groups findings into a minimal ranked patch plan (Remediation@1.0) for counterfactual what-if simulation (vpp simulate), compiles and audits assets.yaml inventories (vpp assets), detects scan-over-scan policy drift (vpp diff), and delivers audit-ready Decision Defense Dossiers, Executive Roadmaps, standalone What-If Simulators, a zero-dependency local browser GUI (vpp gui), an optional Textual TUI (vpp ui), a read-only-by-default MCP server (vpp mcp), and cryptographically verified RunManifest v2 records.

What it is

  • A 13-subcommand CLI (scan, demo, diff, ui, gui, export, verify, defer, intel, ml, mcp, assets, simulate) with a core-install browser workbench (vpp gui / vpp demo --gui) and optional Textual terminal UI (vulnparse-pin[ui])
  • A persistent 14-table DuckDB-backed pipeline: stream/normalize → hydrate snapshots → NmapAdapter@1.0 → ACI@2.0 / ACI@3.0 → Scoring@3.0 → Triage@2.0 → TopN@2.0 → Remediation@1.0 → Summary@2.0
  • A transparent, dual-track prioritization and remediation engine supporting CVE threats (EPSS v5 + velocity, Pre-KEV breakout alerts, KEV, CVSS v2/v3/v4), non-CVE exposures weighted by Signal Reliability, and counterfactual minimum-patch simulation
  • A high-volume streaming architecture benchmarked up to 700,000 multi-scanner findings with sub-second UI queries

What problem it solves

Security, DevSecOps, and MSSP teams often face:

  • Siloed scanner formats (Nessus, OpenVAS, Qualys, Trivy/Semgrep SARIF, Nuclei, Nmap) with duplicate findings across tools and hundreds of overlapping alerts
  • Manual triage bottlenecks, shadow assets missing from CMDBs, and assets.yaml rules that drift out of date as cloud and network environments change
  • Fragmented enrichment across CISA KEV, FIRST EPSS v5, NVD, Exploit-DB, GHSA, and OSV
  • Deferrals and risk acceptances that silently go stale when a CVE enters KEV, shows Pre-KEV breakout momentum, spikes in EPSS, or becomes internet-facing
  • Opaque risk scores and raw per-CVE spreadsheets that fail to show leadership, clients, AI coding agents, or auditors which few patch actions cut the most risk

VulnParse-Pin standardizes findings under canonical aid_v2_ / fid_v2_ identity, preserves all merged scanner evidence in .vpp.db, automates assets.yaml compilation and drift auditing (vpp assets), catches stale deferral assumptions and Pre-KEV momentum (vpp diff --fail-on stale-assumption, vpp diff --fail-on pre-kev), lets teams model patch outcomes before opening tickets (vpp simulate), and produces self-contained Decision Defense Dossiers and verified RunManifest chains.

Philosophy and Principles

  • Context-Driven Prioritization: Combines exploitability (KEV, EPSS v5 + Pre-KEV breakout signals, verified exploits), asset context (assets.yaml CIDR/glob/alias rules, vpp assets inventory compilers, and --nmap open ports), Signal Reliability (detection_mode), and organizational deferral policies (decisions.yaml).
  • Explainability: Every finding retains a structured score_trace (including ACI@3.0 top-K attributions when ML runs in shadow or active mode), SSVC decision path (--profile bod-26-04 or default), and merged multi-scanner evidence viewable in vpp gui, vpp ui, vpp mcp, and Decision Defense Dossiers.
  • Permissive Open Source (Apache-2.0): Starting with v2.0.0, VulnParse-Pin is licensed under the Apache License, Version 2.0 with zero copyleft Python runtime dependencies, enabling internal, embedded, CI/CD, and commercial MSSP workflows. (Legacy v1.0.0–v1.2.2 releases remain under AGPL-3.0-or-later.)
  • Secure-by-Design: Enforces fail-closed path/symlink checks (PermFileHandler), 0o600 DuckDB/SQLite permissions, XXE-hardened streaming lxml, HMAC/SHA-256 verified offline caches and ML weights, CSV formula-injection sanitization, read-only-by-default vpp mcp and vpp gui (127.0.0.1 + 256-bit X-VPP-CSRF + strict CSP), and read-only vpp verify.
  • Reproducibility & Auditability: RunManifest v2 seals config hashes, ML model governance hashes, input/output SHA-256 digests, and an append-only SHA-256 hash-chained decision ledger (ledger_events).

Who it is for (Four Core Use Cases)

  • DevSecOps & AppSec teams: Compress cross-scanner alerts into minimal ranked patch actions (Remediation@1.0, vpp simulate) and gate CI/CD pipelines on new P1s, KEV matches, Pre-KEV breakouts, or stale waivers (vpp diff --fail-on p1|p2|kev|pre-kev|stale-assumption|none)
  • AI / IDE & MCP workflows: Place a read-only-by-default, workspace-confined, hash-logged policy-and-proof safety rail (vpp mcp + ui://vpp/workbench.html + vpp_simulate_remediation) between vulnerability scanners and autonomous coding or patching agents
  • Technical MSPs, vCISOs & pentesters: Model live counterfactual patch plans (vpp simulate), share standalone zero-CDN remediation_simulator.html and Executive Roadmaps, inspect engagements in the core-install vpp gui browser workbench, and keep assets.yaml in sync via vpp assets compile|audit|bootstrap (--fail-on none|shadow|stale-rules|any)
  • Federal, GRC & air-gapped defenders: Run zero-egress CISA BOD 26-04 SSVC triage (--profile bod-26-04), enforce falsifiable waivers (decisions.yaml), surface unmatched Shadow IT, and verify cryptographic RunManifest chains strictly read-only (vpp verify)

Core capabilities

  • Supported Scanners: Nessus XML/CSV, OpenVAS XML, Qualys XML/CSV, SARIF 2.1.0 (Trivy, Grype, Clair, Semgrep, CodeQL, Bandit), Nuclei JSONL, and Nmap XML context
  • Threat Intelligence & Offline ML: CISA KEV, FIRST EPSS v5 (with 90-day velocity slopes), NVD (CVSS v4.0/v3.x/v2.0), Exploit-DB, opt-in GHSA (--ghsa), optional offline OSV (--osv), and signed < 2 MB ACI@3.0 / Pre-KEV distilled ML models (vpp ml)
  • Inventory Compilers & Drift Audit (vpp assets): Compile assets.yaml from NetBox JSON/CSV, AWS EC2, GCP Compute, Azure VM, generic CSV, and Nmap XML with idempotent --merge, honest internet_facing: null private-only defaults, and Shadow-IT audit/bootstrap
  • 14-Table DuckDB Pass DAG: NmapAdapter@1.0, ACI@2.0 / ACI@3.0, Scoring@3.0, Triage@2.0 (default and bod-26-04), TopN@2.0, Remediation@1.0, and Summary@2.0
  • Outputs, Simulation & Workbenches: .vpp.db DuckDB workspace, HTML/MD Decision Defense Dossiers, HTML/MD Executive Roadmaps, standalone remediation_simulator.html (--format simulator-html), QBR/simulation reports (vpp simulate), PR Diff Comments, JSON (namespace/flatten), CSV (full/analyst/audit), RunManifest v2, signed webhooks, zero-dependency vpp gui (7-tab browser workbench), optional vpp ui TUI, and vpp mcp server

Architecture

graph TD
    A["Scanner Reports (Nessus/OpenVAS/Qualys/SARIF/Nuclei) + Nmap + assets.yaml/decisions.yaml"] --> B["Bounded Sniffing & Streaming Parsers (iter_batches)"]
    B --> C["14-Table DuckDB Workspace (.vpp.db): Canonical aid_v2/fid_v2 + Dedup"]
    C --> D["Matched-CVE/PURL Enrichment Snapshots (NVD/EPSS v5 + Velocity/KEV/ExploitDB/GHSA/OSV)"]
    D --> E["Pass DAG: NmapAdapter@1.0 -> ACI@3.0 -> Scoring@3.0 -> Triage@2.0 -> TopN@2.0 -> Remediation@1.0 -> Summary@2.0"]
    E --> F["DiffEngine (vpp diff), Assets Audit (vpp assets) & RunManifest v2 Ledger"]
    E --> G["Outputs & Workbenches: Dossiers, Roadmaps, Simulator HTML, vpp simulate, vpp gui, vpp ui, vpp mcp"]

See Architecture, Pipeline System, and Detection and Parsing for deep technical details.

Performance

VulnParse-Pin v2.1.1 is built on the v2.0 high-volume DuckDB engine using streaming lxml, chunked JSONDecoder.raw_decode SARIF parsing, DuckDB appender bulk writes, vectorized scoring, and parameterized SQL queries. Reproducible 500k–700k scale measurements and historical v1.x baselines are documented in Benchmarks and Performance Optimizations.

Getting started

Read Getting Started In 5 Minutes for a 2-second vpp demo walkthrough, or jump straight to: