Every CVE alert, and the SBOM's reference to the same advisory, now carries exploitation:
KEV (CISA, CC0): in the catalog, date_added, known_ransomware
EPSS (FIRST, free with attribution): score, percentile, date
SSVC exploitation (CISA Vulnrichment, CC0): none / poc / active
How
pipeline/cve_enrichment.rs, all through PublicHttp (guarded_net):
KEV: the whole JSON feed (~2 MB), read at most once a day
EPSS: api.first.org/data/v1/epss?cve=…, 50 ids per request
Vulnrichment: raw.githubusercontent.com/cisagov/vulnrichment/develop/<year>/<n>xxx/<CVE>.json; a 404 means "not rated" and counts as an answer
only CVE ids leave the agent
per-run bounds: at most 500 uncached CVEs, 8 Vulnrichment reads at once, 2 min in total
Cache in <prefix>__admin, shared by all tenants (same pattern as the NuGet licence cache, with a TTL index):
cve_exploitation: one row per CVE, kept 24 h
cisa_kev: one row for the catalog, kept 24 h
a row is cached only when all three sources answered. A failed source stays unknown, is asked again on the next run, and never fails the scan.
Runs in three places: after the CVE stage, in the PLC control-app path, and in the hourly CVE monitor. The monitor now $sets exploitation on alerts that already exist.
effective_severity: a CVE in KEV is rated at least high and always opens an issue.
An EPSS percentile at or above CVE_ISSUE_EPSS_PERCENTILE (default 0.95; off turns it off) raises the rating by one step. A medium CVE then becomes high and opens an issue; a high one becomes critical.
The issue body names KEV, EPSS (with FIRST's credit) and SSVC.
LLM triage:triage_findings takes an ExploitationContext, and a finding whose cve is set gets an Exploitation: line in its prompt. Caveat: no scanner sets Finding.cve today, and CVE alerts are not LLM-triaged, so for now this only provides a hook.
Dashboard (SBOM page):
the CVE cards show the badges "Aktiv ausgenutzt (KEV)" (with a since/ransomware tooltip) and "EPSS x % · Pyy", plus an SSVC line
the row gets a red KEV marker
the EPSS attribution is shown under the cards
CVE_EXPLOIT_LOOKUP=false turns all lookups off.
Docs
reference/tools.md: new section "KEV, EPSS and Vulnrichment", plus three egress rows
guide/sbom.md and guide/issues.md
staging plan: check 18
Tests
All offline:
fixtures trimmed from the real KEV feed, an EPSS API answer and a Vulnrichment record
a loopback stand-in for the three sources, covering: enrichment, cache hit (no second request), a failed source not cached, internal addresses refused by the guard, GHSA without a CVE alias not looked up
the threshold and its env parsing
the issue body
the triage prompt
dashboard deserialisation (with and without the field)
cargo fmt, clippy -D warnings (core, agent, dashboard server+web, mcp), and agent/core/dashboard lib tests are green.
Closes #493.
## What
Every CVE alert, and the SBOM's reference to the same advisory, now carries `exploitation`:
- **KEV** (CISA, CC0): in the catalog, `date_added`, `known_ransomware`
- **EPSS** (FIRST, free with attribution): `score`, `percentile`, `date`
- **SSVC exploitation** (CISA Vulnrichment, CC0): `none` / `poc` / `active`
## How
- `pipeline/cve_enrichment.rs`, all through `PublicHttp` (guarded_net):
- KEV: the whole JSON feed (~2 MB), read at most once a day
- EPSS: `api.first.org/data/v1/epss?cve=…`, 50 ids per request
- Vulnrichment: `raw.githubusercontent.com/cisagov/vulnrichment/develop/<year>/<n>xxx/<CVE>.json`; a 404 means "not rated" and counts as an answer
- only CVE ids leave the agent
- per-run bounds: at most 500 uncached CVEs, 8 Vulnrichment reads at once, 2 min in total
- **Cache** in `<prefix>__admin`, shared by all tenants (same pattern as the NuGet licence cache, with a TTL index):
- `cve_exploitation`: one row per CVE, kept 24 h
- `cisa_kev`: one row for the catalog, kept 24 h
- a row is cached only when all three sources answered. A failed source stays unknown, is asked again on the next run, and never fails the scan.
- **Runs in three places:** after the CVE stage, in the PLC control-app path, and in the hourly CVE monitor. The monitor now `$set`s `exploitation` on alerts that already exist.
- **CVE issues (#452):**
- `effective_severity`: a CVE in KEV is rated at least high and always opens an issue.
- An EPSS percentile at or above `CVE_ISSUE_EPSS_PERCENTILE` (default `0.95`; `off` turns it off) raises the rating by one step. A medium CVE then becomes high and opens an issue; a high one becomes critical.
- The issue body names KEV, EPSS (with FIRST's credit) and SSVC.
- **LLM triage:** `triage_findings` takes an `ExploitationContext`, and a finding whose `cve` is set gets an `Exploitation:` line in its prompt. **Caveat:** no scanner sets `Finding.cve` today, and CVE alerts are not LLM-triaged, so for now this only provides a hook.
- **Dashboard (SBOM page):**
- the CVE cards show the badges "Aktiv ausgenutzt (KEV)" (with a since/ransomware tooltip) and "EPSS x % · Pyy", plus an SSVC line
- the row gets a red KEV marker
- the EPSS attribution is shown under the cards
- `CVE_EXPLOIT_LOOKUP=false` turns all lookups off.
## Docs
- `reference/tools.md`: new section "KEV, EPSS and Vulnrichment", plus three egress rows
- `guide/sbom.md` and `guide/issues.md`
- staging plan: check 18
## Tests
All offline:
- fixtures trimmed from the real KEV feed, an EPSS API answer and a Vulnrichment record
- a loopback stand-in for the three sources, covering: enrichment, cache hit (no second request), a failed source not cached, internal addresses refused by the guard, GHSA without a CVE alias not looked up
- the threshold and its env parsing
- the issue body
- the triage prompt
- dashboard deserialisation (with and without the field)
`cargo fmt`, clippy `-D warnings` (core, agent, dashboard server+web, mcp), and agent/core/dashboard lib tests are green.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
Every CVE alert, and the SBOM's reference to the same advisory, now says
whether the CVE is exploited: its entry in CISA's KEV catalog (date added,
known ransomware use), FIRST's EPSS score and percentile, and the SSVC
exploitation decision of CISA's Vulnrichment.
- pipeline/cve_enrichment.rs reads KEV (one JSON, at most daily), EPSS
(FIRST API, 50 CVE ids per request) and Vulnrichment (per-CVE record on
raw.githubusercontent.com, a 404 is an answer) through guarded_net. Only
CVE ids leave the agent. Bounded: 500 uncached CVEs, 8 at once, 2 min.
- Answers are cached a day for all tenants in <prefix>__admin
(cve_exploitation per CVE, cisa_kev for the catalog), TTL index like the
NuGet licence cache. A failed source stays unknown, is not cached and
never fails the scan. CVE_EXPLOIT_LOOKUP=false turns it off.
- Runs in the scan (after the CVE stage), the PLC control-app path and the
hourly CVE monitor (which now refreshes an existing alert's exploitation).
- CVE issues (#452): a KEV CVE always opens an issue, rated at least high;
an EPSS percentile at or above CVE_ISSUE_EPSS_PERCENTILE (default 0.95)
rates it one step higher. The body names KEV, EPSS (with FIRST's credit)
and SSVC.
- LLM triage: a finding that names a CVE gets its exploitation in the
prompt. No scanner sets Finding.cve today, so this is a hook for now.
- Dashboard: "Aktiv ausgenutzt (KEV)" and "EPSS … · P…" badges on the SBOM
page's CVE cards, a KEV marker on the row, SSVC line, EPSS attribution.
- Docs: tools.md section and egress rows, SBOM and issues guides, staging
check 18. Tests run on trimmed real fixtures and a loopback stand-in.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #493.
What
Every CVE alert, and the SBOM's reference to the same advisory, now carries
exploitation:date_added,known_ransomwarescore,percentile,datenone/poc/activeHow
pipeline/cve_enrichment.rs, all throughPublicHttp(guarded_net):api.first.org/data/v1/epss?cve=…, 50 ids per requestraw.githubusercontent.com/cisagov/vulnrichment/develop/<year>/<n>xxx/<CVE>.json; a 404 means "not rated" and counts as an answer<prefix>__admin, shared by all tenants (same pattern as the NuGet licence cache, with a TTL index):cve_exploitation: one row per CVE, kept 24 hcisa_kev: one row for the catalog, kept 24 h$setsexploitationon alerts that already exist.effective_severity: a CVE in KEV is rated at least high and always opens an issue.CVE_ISSUE_EPSS_PERCENTILE(default0.95;offturns it off) raises the rating by one step. A medium CVE then becomes high and opens an issue; a high one becomes critical.triage_findingstakes anExploitationContext, and a finding whosecveis set gets anExploitation:line in its prompt. Caveat: no scanner setsFinding.cvetoday, and CVE alerts are not LLM-triaged, so for now this only provides a hook.CVE_EXPLOIT_LOOKUP=falseturns all lookups off.Docs
reference/tools.md: new section "KEV, EPSS and Vulnrichment", plus three egress rowsguide/sbom.mdandguide/issues.mdTests
All offline:
cargo fmt, clippy-D warnings(core, agent, dashboard server+web, mcp), and agent/core/dashboard lib tests are green.🤖 Generated with Claude Code
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
ae7eb7e870to9b9b808a1e