Commit Graph
11 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 7086b74648 docs(release): remove stray conflict markers from the test plan
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Check (push) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 10m31s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-06 13:55:27 +02:00
Sharang ParnerkarandClaude Opus 5.5 058266e5ac feat(vex): VEX status on CVE alerts, OpenVEX and CycloneDX VEX, a valid CycloneDX SBOM (#498, 1/4)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Canceled after 1m34s
Part 1 of #498 (VEX and CSAF for CRA vulnerability handling): the VEX
state, its API and the two VEX exports. The dashboard (2/4), the CSAF
advisory draft (3/4) and the ENISA report drafts (4/4) follow.

- compliance_core::models::vex: VexStatus (under_investigation, affected,
  not_affected, fixed), the five OpenVEX justifications, VexAssessment
  (who, when, by_scan). validate(): not_affected needs a justification or
  impact statement, affected an action statement.
- CveAlert gains `vex` and `resolved_at` (both skipped when empty, so the
  scan's upsert never wipes a statement).
- pipeline::vex_lifecycle: an alert reported again is open and loses a
  `fixed` the scan stated; one a complete lookup no longer finds is
  resolved, and becomes `fixed` (by_scan) unless a person stated
  not_affected/fixed. Alerts were never resolved before.
- API: GET /api/v1/targets/{id}/cves, PATCH /api/v1/cves/{id}/vex (422
  with the reason when incomplete), GET /api/v1/targets/{id}/vex
  ?format=openvex|cyclonedx. Writes go through the role gate and the
  support audit like any other.
- compliance_core::vex_docs: OpenVEX 0.2.0 and CycloneDX 1.5 VEX (the SBOM
  plus vulnerabilities with analysis); the status/justification mapping
  to CycloneDX is documented in the module and the guide.
- sbom_docs CycloneDX fixed: it put `vulnerabilities` inside components
  (invalid, components forbid other properties); now top-level, with
  bom-refs on every component and the product (pkg:generic/<target>), a
  serial number, metadata.timestamp/tools, and licenses as SPDX id
  (checked against CycloneDX's own SPDX list), expression or name.
- Evidence pack: vex.openvex.json and vex.cdx.json.
- Vendored schemas (compliance-core/schemas, provenance README):
  CycloneDX 1.5 + SPDX + JSF (Apache-2.0), OpenVEX 0.2.0 (CC0).
- Tests: the SBOM and both VEX documents validate against the official
  schemas (jsonschema, dev-only), with negative controls (nested
  vulnerabilities, a name as SPDX id, a statement without status fail);
  statement validation; Mongo: the lifecycle (scan fixes the unassessed
  and affected, keeps a person's not_affected, withdraws its fixed when
  the CVE returns, does nothing on an incomplete lookup).
- Docs (sbom guide); staging test plan: check 22.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-06 13:46:14 +02:00
sharangandClaude Opus 5.5 b7dbd8f196 feat(binaries): hardening, signatures, .NET references and Intel HEX checks of committed binaries (#495) (#501)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Dashboard (push) Successful in 5m49s
CI / Deploy Agent (push) Successful in 8m31s
CI / Deploy MCP (push) Successful in 3m35s
On top of the committed-binary inventory (#465), natively in Rust:

- PE: ASLR (DYNAMICBASE, relocations), high-entropy ASLR, DEP, CFG,
  SafeSEH, /GS, Authenticode present; IL-only .NET assemblies skip the
  native-only checks
- ELF (dynamically linked only): RELRO, NX stack, PIE, stack protector,
  FORTIFY; static and bare-metal ELF are not assessed
- .NET: AssemblyRefs from the CLI metadata tables (own ECMA-335 reader)
- native PE: CPE/purl candidates from the version resource, low confidence
- Intel HEX: record checksums, address ranges, size, start address

Evidence goes on the inventory finding; each gap is its own Low/Info
finding per rule (grouped by #477). ASLR/NX/RELRO gaps bind to cra-ai-1 and
a damaged HEX image to cra-ai-6 through attach-only control-map bindings,
which never make a control count as checked.

PE/ELF headers are read with the object crate, already in the build via
firmwerk-sbom: no new crate, no Python helper, no image change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-06 11:40:54 +00:00
sharang 9d1f8b6883 feat(plc): PLC findings keyed by what they flag, saved through RunFindings (#491 follow-up) (#499)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m9s
CI / Deploy Agent (push) Successful in 5m50s
2026-10-06 11:27:35 +00:00
sharangandClaude Opus 5.5 f170e7cfe5 feat(cve): KEV, EPSS and Vulnrichment exploitation on every CVE alert (#493) (#500)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m28s
CI / Deploy MCP (push) Successful in 4m56s
CI / Deploy Agent (push) Successful in 12m8s
CI / Deploy Dashboard (push) Successful in 16m34s
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
2026-10-06 11:08:47 +00:00
sharang ece992da32 feat(findings): keyed by the code they flag, not its line number (#491) (#497)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy MCP (push) Successful in 5m29s
CI / Deploy Dashboard (push) Successful in 7m31s
CI / Deploy Agent (push) Successful in 9m24s
2026-10-06 10:35:14 +00:00
sharang bdf7fa4268 feat(sbom): npm and Maven licenses from their public registries (#467 follow-up) (#490)
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 4m47s
CI / Detect Changes (push) Successful in 4s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m8s
2026-10-06 09:17:32 +00:00
sharang d7ab09f634 feat(sbom): transitive NuGet packages resolved from nuget.org metadata (#461) (#489)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Agent (push) Successful in 6m21s
2026-10-06 09:07:35 +00:00
sharang d960ba658e feat(malware): ClamAV stage, committed-binary inventory, unchanged rescans skipped (#465) (#488)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy MCP (push) Successful in 4m37s
CI / Deploy Dashboard (push) Successful in 6m31s
CI / Deploy Agent (push) Successful in 8m3s
2026-10-06 08:49:39 +00:00
sharang ecc6466a18 fix(git): the clone cache heals itself after an interrupted clone or fetch (#486) (#487)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 6m7s
2026-10-06 08:19:13 +00:00
sharang 530df9cc3d docs(release): staging test plan for the batch after v0.4.5 (#485)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m8s
CI / Deploy Agent (push) Successful in 4m49s
2026-10-06 01:25:15 +00:00