SKILL.md
Threat-Intel Signal Ingest
Convert a threat-intel signal into a queued engagement-scope row that the Exploitability Validation Run (cloud-agent task #3) consumes.
Trigger
Two modes:
- Prompt-invoked: an analyst runs the skill against a
signal.jsonthey have on hand. - Scheduled poll: the cloud-agent runtime polls
{OUTPUT_DIR}/inbox/on a cron (default every 15 minutes) and processes any new signal files it finds.
Workflow
- Read the payload —
tools/ti-ingest.py --in <path-or-stdin>. - Validate schema — required keys:
signal_id,cve(one or more),assets(one or more),claim. Optional:confidence,source,references. - Enrich with NVD — for every CVE in the payload, run
tools/nvd-lookup.py <CVE>and attach{score, severity, cwe}to the row. - De-dup — skip rows whose
(asset, cve)pair already exists inqueue/scope-*.json. Re-queue only if the prior row's status isREJECTEDAND the TI signal carries a higherconfidencethan the last attempt. - Write queue row — one JSON file per
(asset, cve)pair atqueue/scope-{ts}-{asset_id}-{cve}.json. The Validation Run task picks these up.
Output
{OUTPUT_DIR}/
inbox/
signal-{ts}.json # raw payload, kept for audit
queue/
scope-{ts}-{asset}-{cve}.json
Per scope row:
{
"scope_id": "scope-20260513-asset42-CVE-2024-12345",
"signal_id": "ti-2026-0042",
"asset": {"id": "asset42", "url": "https://app.example.com", "tier": "revenue"},
"cve": "CVE-2024-12345",
"nvd": {"score": 9.8, "severity": "CRITICAL", "cwe": "CWE-79"},
"claim": "Reflected XSS via search parameter",
"confidence": "high",
"source": "vendor-advisory",
"references": ["https://..."],
"queued_at": "2026-05-13T10:00:00Z",
"status": "queued"
}
Rules
- Idempotent. Re-running on the same payload must not produce duplicate queue rows.
- No execution. Ingest never runs PoCs. It only queues scope for downstream tasks.
- Audit trail. Raw payload is always copied to
inbox/before any transformation. - NVD failures are non-blocking. If
nvd-lookuperrors, write the row withnvd: nullandnvd_error: "..."; do not drop the signal. - Asset must be in inventory. Cross-check
asset.idagainstartifacts/org-surface.json(from Org Recon Refresh task). Unknown assets get a row but flaggedunknown_asset: trueso the validator skips them.
References
reference/ingest-schema.md— full input/output JSON schemas.