COPS Exposure Triage Workbench
The Exposure Triage Workbench combines offline vulnerability advisories, software-component observations, cloud asset context, and reachability evidence into a prioritized review queue. It helps analysts distinguish urgent, contextual exposure from unaffected or unresolved records while preserving the evidence behind each decision.
The package performs no scan or probe. A priority tier expresses review urgency from supplied evidence. It does not prove remote code execution, exploit activity, or complete production coverage.
Prerequisites and quick start
Run from the repository root with Python 3.14 or later:
python3 -m cops demo exposure-triage-workbench
The public command creates an owner-only temporary workspace and removes it after the playback. Use the package runner directly when you need to retain all artifacts in a new directory:
PYTHON="${PYTHON:-python3.14}"
scratch="$(mktemp -d "${TMPDIR:-/tmp}/cops-exposure-playback.XXXXXX")"
chmod 700 "$scratch"
"$PYTHON" plugins/vulnerability-management/exposure-triage-workbench/scripts/run_demo.py \
--workspace "$scratch/playback"
cat "$scratch/playback/playback-summary.json"
The command retains artifacts under $scratch/playback; after review, remove
the private scratch directory with rm -rf "$scratch" in the same shell. The
playback workspace must not already exist.
See the playbook for evidence review and failure handling and the verification guide for package checks.
Design and data flow
- Intake:
ingest_triage_bundlevalidates a local bundle and its cross-references. - Correlation: package versions, affected ranges, asset identities, subscriptions, criticality, and reachability are joined without collapsing same-named assets from different scopes.
- Assessment:
evaluate_triage_bundleapplies deterministic tier rules and records supporting evidence and uncertainty. - Reporting: renderers emit JSON for automation and Markdown for analyst review.
Contradictory or missing facts become UNKNOWN_INVESTIGATION_REQUIRED; the evaluator does not guess.
Contracts and artifacts
| Contract or artifact | Purpose | Key fields | Producer and consumer | Definition and validation |
|---|---|---|---|---|
| Triage input bundle | Carries all offline evidence for one evaluation | bundle_id, advisories, assets, components, reachability | Export preparer → ingestion | schemas/triage-input.schema.json; runtime checks the version, bundle ID, and required fields in records that are present, but does not enforce the full schema or collection completeness |
| Advisory | Defines an affected package range and severity context | advisory ID, package, affected versions, severity | Vulnerability source → evaluator | Validated as part of the bundle |
| Asset/component/reachability records | Bind software evidence and network context to scoped assets | asset ID, subscription, component version, route status | Inventory sources → evaluator | Required fields checked at intake; scoped identity is preserved |
| Prioritized report | Presents counts and the ordered review queue | report_id, summary, queue | Evaluator → automation and analyst | schemas/triage-report.schema.json |
report.md | Human-readable review queue | tier, asset, evidence, rationale | Renderer → analyst | Derived from the same evaluated queue as JSON |
playback-summary.json | Captures regression acceptance | totals, P1 count, unresolved count, rerun/failure checks | Demo → reviewer | Written only after semantic assertions pass |
Reading the queue
Review P1_CRITICAL items first, then validate their supporting evidence. Treat UNKNOWN_INVESTIGATION_REQUIRED as an evidence request rather than low risk. The synthetic playback creates seven queue items: two P1 and two unresolved. It also proves that two app-service-frontend assets in different subscriptions remain distinct.
The output is only as complete and current as its bundle. It does not establish exploitability, active compromise, remediation success, or absence of unreported assets.
For real data, use the installed skill's private-output workflow. triage requires either a new --output path (created with mode 0600 on POSIX, without replacing an existing file) or explicit --stdout for synthetic or sanitized input. On Windows, use a private parent directory with an appropriate ACL. Routine intake status and handled input errors omit source paths and values; the command does not enforce the published JSON Schema. Protect the input and parent directory separately.