Skip to main content
VulnParse-Pin emblem VulnParse-Pin emblem
VulnParse-Pin
DuckDB Columnar Engine · Strict Seam Boundaries

Interactive Pipeline, Pass DAG & 14-Table Schema Explorer

Click any pipeline stage below to inspect module boundaries, inputs, outputs, and fail-closed invariants—or filter all 14 tables inside .vpp.db.

6-Stage Execution Pipeline & Pass DAG

Inspect Every Stage’s Module Path, I/O & Fail-Closed Security Invariants

01 / 06

Stage 01: Validate & Bounded Sniff

src/vulnparse_pin/core/schema_detector.py + io/pfhandler.py

Enforces PermFileHandler path confinement, ancestor symlink rejection, and 64 KiB single-read format sniffing across Nessus, OpenVAS, Qualys, SARIF 2.1.0, Nuclei JSONL, CSV, and Nmap XML.

Inputs
  • Scanner reports (<= 500 MiB default / 50 GiB --allow-large)
  • assets.yaml & decisions.yaml
Outputs
  • Validated PARSER_SPECS route
  • Ingestion confidence score
Fail-Closed Invariants
  • forbid_symlinks_read=True by default (with root-owned macOS SSV /var, /tmp, /etc guard)
  • 1 MiB XML prolog XXE/DTD/UTF-16 inspection & 512-level SARIF nesting cap
  • Zero defusedxml dependency
Persistent .vpp.db Schema (14 Tables)

Explore the 14-Table Columnar DuckDB Workspace

Showing 14 of 14 tables
runsCore Workspace

Run metadata, SHA-256 config/policy digests, intel metadata JSON, manifest digest, and baseline_run_id

run_idprofilemanifest_digestbaseline_run_id
assetsCore Workspace

Canonicalized targets (aid_v2_...), criticality, exposure (internet_facing), inventory_status, and Nmap open ports

asset_idcanonical_keyinventory_statusinternet_facing
asset_aliasesCore Workspace

Observed IP, hostname, URI, container image/repo, and matched assets.yaml rule aliases per asset_id

asset_idalias_typealias_value
findingsCore Workspace

Cross-scanner deduplicated findings (fid_v2_...), scoring_track, detection_mode, signal_reliability, and source_count

finding_idasset_idscoring_trackdetection_modesignal_reliability
finding_evidenceCore Workspace

Append-only raw scanner evidence rows preserved losslessly across merged scanners

run_idfinding_idevidence_idxsource_formatscanner_sig
finding_cvesCore Workspace

Normalized many-to-many CVE links attached to each deduplicated finding

finding_idcve_id
enrichment_snapshotsIntel & Scoring

Run-scoped NVD/CNA/GHSA/OSV CVSS provenance, EPSS v5 score/percentile/model, KEV flags, and EPSS velocity / pre_kev_* signals

run_idcve_idcvss_provenanceepss_scorepre_kev_scorein_kev
aci_signalsIntel & Scoring

ACI@2.0 / ACI@3.0 inferred attack capabilities, chains, matched tokens, confidence, uplift, and signed ML attributions

run_idfinding_idcapabilities_jsonml_attributions_json
scoresIntel & Scoring

Scoring@3.0 dual-track raw_risk_score, operational_score, risk_band, and full auditable score_trace_json

run_idfinding_idoperational_scorerisk_bandscore_trace_json
triage_decisionsIntel & Scoring

Triage@2.0 priority tier (P1/P1b/P2/P3/P4), SSVC action, SLA bucket, and reconciled decisions.yaml waiver status

run_idfinding_idpriority_tierssvc_actionsla_bucketdecision_status
remediation_actionsRemediation & Proof

Remediation@1.0 ranked minimum-patch actions (rebuild_image, upgrade_package, remediate_service, fix_code_location)

run_idaction_idrankaction_typeoperational_risk_reduced
remediation_action_findingsRemediation & Proof

Many-to-many links between remediation_actions and active findings (is_primary_action) powering simulate_remediation

run_idaction_idfinding_idis_primary_action
diff_eventsRemediation & Proof

Persisted DiffEngine scan-over-scan deltas, threat-intel escalations, Shadow-IT shifts, and stale-assumption invalidations

diff_idbase_run_idtarget_run_idcategoryfinding_id
ledger_eventsRemediation & Proof

Append-only SHA-256 hash-chained decision and write-gated GUI/MCP provenance ledger sealed inside RunManifest

run_idseqprev_hashentry_hashevent_typecomponent

Core Architectural Invariants

Deterministic Identity (aid_v2_ / fid_v2_)

Canonical SHA-256 prefixes over normalized targets and deduplication keys preserve 100% of raw scanner detections in finding_evidence while eliminating cross-tool duplicates.

Auditable Policy & Provenance

Enrichment state is snapshotted per run_id in enrichment_snapshots; every finding stores score_trace_json; mutations hash-chain into ledger_events and seal inside RunManifest v2.

Fail-Closed Local Security Defaults

Hardened lxml XML parsing (zero defusedxml), 512-level SARIF nesting cap, PFH ancestor symlink blocking (with root-owned macOS SSV /var, /tmp, /etc guard), 0o600/0o700 POSIX modes under _UMASK_LOCK, read-only vpp verify/mcp/gui/simulate defaults, and anti-downgrade HMAC cache verification.

Zero-Copyleft Runtime & Clean-Room CVSS

Clean-room Apache-2.0 CVSS v2.0/v3.x/v4.0 calculator using Python stdlib Decimal/Fraction with deterministic precedence: NVD > CNA > GHSA > OSV > Scanner-Supplied > Missing.