Skip to main content

VulnParse‑Pin v2.0.0

Turn 100,000 noisy Trivy, OpenVAS, Nuclei, and Nessus alerts into a defensible 20-item patch list—offline, in seconds.

Normalize • Enrich • Prioritize • Defend • Diff

Documentation • Overview • Features • Architecture • Getting Started • Changelog • Licensing

Static Badge License Python Version Security Release Version Last Commit Stars Issues PyPI Downloads

License Forward Cut (v2.0.0+): VulnParse-Pin v2.0.0 and later are licensed under Apache-2.0 with zero copyleft Python runtime dependencies. Historical releases v1.0.0–v1.2.2 remain licensed under AGPL-3.0-or-later.

VulnParse-Pin v2.0.0 Decision Defense Dossier (dossier.html)

Self-contained offline Decision Defense Dossier (dossier.html) — CISA KEV + EPSS v5 + CVSS provenance, stale-deferral invalidation alerts, shadow-asset disclosure, and SHA-256 RunManifest chain with zero external CDNs.


Try It Offline in 60 Seconds

pipx install "vulnparse-pin[ui]" && vpp demo

(Headless / CI installation without Textual TUI dependencies: pipx install vulnparse-pin or pip install vulnparse-pin, then run vpp demo --no-ui.)

VulnParse-Pin v2.0.0 interactive offline demo

vpp demo launches 100% offline in under 2 seconds against a bundled multi-scanner sample pack (Nessus XML, Trivy SARIF, Nuclei JSONL, Semgrep SARIF, Nmap XML, pattern assets.yaml, decisions.yaml, and miniature EPSS v5 / KEV / NVD / GHSA snapshots):

  • Deduplicates cross-scanner detections into a .vpp-demo.db DuckDB workspace (aid_v2_ / fid_v2_)
  • Scores both CVE Threat (Track A) and Non-CVE Exposure & Weakness (Track B) under --profile bod-26-04
  • Flags Unmatched Shadow Assets and Invalidated Deferrals via DiffEngine
  • Exports a self-contained HTML + Markdown Decision Defense Dossier, Client Executive Roadmap, and RunManifest (vpp_demo_output/)
  • Opens the interactive vpp ui terminal workspace (filter P1/Exposure/KEV/Shadow via 1/t/k/u, focus/scroll inspector via i, cycle runs via r, open help via ?, press e to export dossiers, or f to record a deferral)

(Demo screencast: documentation/img/vpp-demo.gif • VHS tape: documentation/demo/vpp-demo.tape.)


Why VulnParse-Pin Exists

Vulnerability scanners answer: "What alerts fired across my hosts, images, and repos?" They do not answer: "What should we patch in 3 days vs. 14 days vs. 60 days, which deferred waivers just went stale, and how do we prove it to auditors?"

Traditional Scanners & Spreadsheets VulnParse-Pin v2.0.0 (vpp)
CVSS severity sorting & alert overload Dual-track scoring combining CISA KEV, EPSS v5 (raw + percentile), verified exploits, exposure, and signal reliability
Black-box risk numbers Auditable score_trace, CVSS provenance (NVD > CNA > GHSA > OSV > Scanner-Supplied > Missing), and SHA-256 hash-chained RunManifest
Duplicate alerts across Nessus, Trivy, Nuclei Canonical aid_v2_ / fid_v2_ deduplication preserving all raw finding_evidence in DuckDB .vpp.db
Stale risk-acceptance spreadsheets decisions.yaml + vpp diff --fail-on stale-assumption alerts loudly when KEV, EPSS, exposure, CVSS, or expiry breaks a waiver
Static hosts invisible in CMDB Pattern-based assets.yaml matching + loud Shadow Asset disclosure (unmatched_shadow)
Hours assembling client/auditor decks One-command offline HTML & Markdown Decision Defense Dossiers and Executive Roadmaps

Key Capabilities in v2.0.0

  • Persistent DuckDB Local Workspace (.vpp.db): 12-table columnar workspace (runs, assets, asset_aliases, findings, finding_evidence, finding_cves, enrichment_snapshots, aci_signals, scores, triage_decisions, diff_events, ledger_events) with POSIX 0o600 creation permissions, symlink rejection, and parameterized paged queries.
  • Hardened Streaming Parsers:
    • Streaming lxml.etree.iterparse XML parsers (nessus-xml, openvas-xml, qualys-xml, nmap-xml) with XXE/DTD/Billion-Laughs fail-closed protection (defusedxml removed).
    • Streaming SARIF 2.1.0 parser (chunked UTF-8 C json.JSONDecoder.raw_decode streaming + bounded ijson sniffing; sarif-2.1.0 for Trivy, Grype, Semgrep, CodeQL) and line-streaming Nuclei JSONL (nuclei-jsonl), plus header-indexed Nessus/Qualys CSV (--allow-large up to 50 GiB).
  • EPSS v5 + CVSS v2/v3/v4 Provenance:
    • Parses EPSS v5 #model_version / score_date, raw probability, and FIRST percentile into HMAC-signed epss_cache.sqlite3, with strictly monotonic piecewise scoring breakpoints.
    • Clean-room Apache-2.0 CVSS v2.0 / v3.x / v4.0 base-score calculator (zero LGPL cvss runtime dependency) enforcing deterministic precedence: NVD > CNA > GHSA > OSV > Scanner-Supplied > Missing.
    • Negation-aware exploit heuristic separation (no KEV/Exploit double-counting; "not exploitable" never triggers "exploitdb"), GHSA PURL package indexing, and optional offline OSV cache (osv_cache.sqlite3).
  • --profile bod-26-04 (CISA BOD 26-04 / SSVC): First-class Triage@2.0 pass projecting Exposure, Exploitation (active, poc, none), Automatable, Technical Impact, and Signal Reliability into SSVC actions (Act, Attend, Track*, Track) and SLA buckets (3-day + Forensic Triage, 14-day, 60-day, Fix on Upgrade).
  • Dual-Track ACI@2.0 & Signal Reliability: Track A (cve_threat) plus Track B (exposure_weakness) so non-CVE misconfigurations, exposed admin panels, and SAST weaknesses receive explainable scores weighted by scanner detection_mode (credentialed_host / active_dast 1.0, sca_container 0.90, uncredentialed_banner 0.85, static_sast 0.55 with P1-cap guardrail).
  • Pattern assets.yaml, Canonical aid_v2_ & Shadow Assets: 5-tier precedence matching (alias/asset_id → exact IP/FQDN/URI/image → longest-prefix CIDR → fnmatchcase glob → unmatched_shadow alert) bridging network IPs, hostnames, URLs, and container images.
  • vpp diff & decisions.yaml Stale-Assumption Alerts: Scan-over-scan DiffEngine tracking new high-risk findings, threat-intel escalations, verified remediations, shadow-asset deltas, and invalidated deferrals/acceptances (--fail-on p1|p2|kev|stale-assumption|none, exit code 2).
  • Decision Defense Dossiers & Executive Client Roadmaps: Self-contained offline Jinja2 HTML & Markdown templates (autoescape, md_escape, zero external CDNs, custom --template-dir) documenting Why Prioritized, Why Deprioritized / Deferred, Invalidated Deferrals, Shadow Asset Disclosure, and linked RunManifest digest.
  • Optional Textual TUI (vpp ui): Lazy-loaded terminal explorer backed by .vpp.db with KPI/Shadow/Invalidation badges, instant filters (1–4, t, k, u, /), live score_trace & evidence inspector, d diff view, e/E dossier export, and f interactive deferral modal (vpp defer).

Core Workflows

Wedge A — Consultants, vCISOs & MSSPs (Multi-Scanner Assessment → Client Dossier & Roadmap)

Combine infrastructure, container, DAST, and Nmap scans with client asset rules (assets.yaml) and recorded waivers (decisions.yaml) to produce auditable offline deliverables:

# 1. Ingest multi-scanner findings into an engagement DuckDB workspace
vpp scan nessus.xml trivy.sarif nuclei.jsonl \
  --nmap nmap.xml \
  --assets assets.yaml \
  --decisions decisions.yaml \
  --profile bod-26-04 \
  --db engagement.vpp.db \
  --output-dossier out/dossier \
  --output-runmanifest out/runmanifest.json

# 2. Export a client-ready Executive Remediation Roadmap (HTML + Markdown)
vpp export --db engagement.vpp.db --format roadmap-html --output out/executive_roadmap.html
vpp export --db engagement.vpp.db --format roadmap-md --output out/executive_roadmap.md

# 3. Compare re-test scans to verify fixes and catch stale deferrals
vpp diff --db engagement.vpp.db --decisions decisions.yaml --output-md out/retest_velocity.md

Wedge B — 3-Minute CI/CD Gate (Trivy SARIF + vpp diff)

Drop VulnParse-Pin into GitHub Actions or GitLab CI behind Trivy to persist .vpp.db across runs, attach HTML Decision Defense Dossiers, post concise PR diff comments, and fail builds (exit 2) if any deferred CVE silently enters CISA KEV, spikes in EPSS, or changes exposure:

trivy fs . --scanners vuln,misconfig --format sarif --output trivy.sarif
vpp scan trivy.sarif --assets assets.yaml --decisions decisions.yaml \
  --profile bod-26-04 --db .vpp.db --output-dossier out/dossier
vpp diff --db .vpp.db --decisions decisions.yaml \
  --fail-on stale-assumption --output-pr-comment out/pr_comment.md

Ready-to-copy templates & runnable recipes:


Honest Reachability Boundary

VulnParse-Pin provides Network & Operational Reachability, combining:

  • Nmap open ports (NmapAdapterPass port reconciliation onto canonical assets)
  • Declarative assets.yaml exposure (internet-facing flags, CIDR/glob/alias rules, and unmatched Shadow Asset disclosure)
  • Attack Capability Inference (ACI@2.0) (capability/chain evidence and active DAST vs. static SAST Signal Reliability weighting)
  • Planned Phase 2 VEX ingestion (OpenVEX / CycloneDX VEX status and justification provenance)

VulnParse-Pin does NOT perform AST source-code call-graph reachability analysis or eBPF kernel/runtime execution tracing.


v2.0 DuckDB Scale Benchmarks

VulnParse-Pin includes a reproducible multi-scanner scale benchmark harness in benchmarks/bench_scale.py covering mixed Nessus XML, Trivy SARIF 2.1.0, Nuclei JSONL, Semgrep SAST SARIF, Nmap XML, assets.yaml, and offline EPSS v5 / KEV / NVD / Exploit-DB snapshots across all four v2.0 stages (iter_batches() → ingest_normalized_batches() → populate_enrichment_snapshots() → run_v2_duckdb_pipeline() → query_findings_page() + get_run_summary_counts()).

python benchmarks/bench_scale.py --findings 500000 --findings 700000 --json-out bench_v2_results.json

Measured on 2026-11-24T14:34:55Z: Python 3.12.3, Linux-6.18.58.1-microsoft-standard-WSL2-x86_64-with-glibc2.39 (32 CPUs), --profile bod-26-04, batch_size=10000. See documentation/docs/Benchmarks.md for historical v1.x baselines.

Raw Findings Unique Findings Assets (Shadow) Parse+Ingest (s) Enrich (s) Pipeline DAG (s) UI+Summary (s) Total (s) Throughput (raw/s) Peak RSS (MiB) .vpp.db (MiB)
500,000 335,758 1,170 (178) 39.215 8.572 38.705 0.8695 87.362 5,723.3 2364.70 278.76
700,000 420,846 1,170 (178) 162.117 6.631 41.830 0.9523 211.531 3,309.2 2633.21 351.26

Installation

# Full CLI + interactive Textual TUI
pipx install "vulnparse-pin[ui]"

# Minimal headless CLI (ideal for CI/CD runners)
pipx install vulnparse-pin

Virtual Environment (pip)

python -m venv .venv
source .venv/bin/activate  # Windows PowerShell: .venv\Scripts\Activate.ps1
pip install "vulnparse-pin[ui]"

Portable Container (ghcr.io & Local Source Build)

# Run multi-arch non-root OCI image (Linux amd64/arm64, --read-only compatible)
docker run --rm --read-only --cap-drop=ALL --security-opt=no-new-privileges:true \
  --tmpfs /tmp:rw,noexec,nosuid -v "$PWD:/work" -v "vpp-cache:/cache" \
  ghcr.io/qt-ashley/vulnparse-pin:2.0.0 demo --no-ui --output-dir /work/vpp_demo_output

# Or build directly from this repository checkout
docker build -t vulnparse-pin:2.0.0 .

From Source (Development & Benchmarks)

git clone https://github.com/QT-Ashley/VulnParse-Pin.git
cd VulnParse-Pin
pip install -e ".[dev,ui]"

Both vpp and vulnparse-pin entrypoints (plus python -m vulnparse_pin) are installed. Legacy flags (vpp -f scan.nessus, vpp --demo, vpp --verify-runmanifest ...) remain supported via a transparent compatibility shim.

See documentation/docs/Installation.md, documentation/docs/Deployment%20Options.md, and documentation/docs/Getting%20Started%20In%205%20Minutes.md for full options (including pipx/uv tool, Docker/Compose, Kubernetes CronJob, systemd, and air-gapped wheelhouses).


Feedback, Contributions & Roadmap


Documentation


License

Starting with v2.0.0, VulnParse-Pin is licensed under the Apache License, Version 2.0 (Apache-2.0). See LICENSE and NOTICE for complete terms and third-party attributions.

  • v2.0.0+: Apache-2.0 — permissive for internal security operations, MSSP/consulting engagements, CI/CD gates, commercial embedding, and hosted services.
  • v1.0.0–v1.2.2: AGPL-3.0-or-later — historical releases remain under their original license.

For full licensing details and disclaimers, see documentation/docs/Licensing.md.

Disclaimers

VulnParse-Pin is provided "as is", without warranties or conditions of any kind, as described in Sections 7 and 8 of the Apache License, Version 2.0. VulnParse-Pin assists with vulnerability intelligence and triage prioritization and should be used alongside validation and authorized security operations; users are responsible for verifying external scanner outputs, threat-intelligence feed terms, and remediation actions.

Metadata

Release files for VulnParse-Pin 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for VulnParse-Pin 2.0.0
File Size Uploaded Provenance Actions
vulnparse_pin-2.0.0.tar.gz 729.8 kB With provenance Details for vulnparse_pin-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for VulnParse-Pin 2.0.0
File Interpreter ABI Platform Actions
vulnparse_pin-2.0.0-py3-none-any.whl Python 3 none any Details for vulnparse_pin-2.0.0-py3-none-any.whl

Total release size: 1.4 MB

Release files / vulnparse_pin-2.0.0.tar.gz

Download URL vulnparse_pin-2.0.0.tar.gz
Size 729.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7e41c2ce9396a9b0a51451b7ec2c333bdfe8e8d2f2fd5d0cf289912a0a8548b3
BLAKE2b-256 checksum
How to use checksums
d093d707868641c127711a2043b7e1bc114aeec2fb20706be342cde520cf3e6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / vulnparse_pin-2.0.0-py3-none-any.whl

Download URL vulnparse_pin-2.0.0-py3-none-any.whl
Size 625.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37ce2b35ff150494c9c8cb9e3f967d80ffd15d415f4d54c5211b97b7e2cc654e
BLAKE2b-256 checksum
How to use checksums
3ce2ed9e6dbac9facc69f6630a47bc75e98df2a9140cd73d24e25a9d4a42790c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for VulnParse-Pin 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for vulnparse_pin-2.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page