Commit Graph
162 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 5cebca1ff0 feat(metering): swap an extra target with an included one (t72)
CI / Check (push) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Check (pull_request) Failing after 15m46s
CI / Agent integration (pull_request) Successful in 4m22s
CI / Detect Changes (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
Decided by the user (option b): a customer can swap an extra target
with an included one at any time, effective at once; the extra-target
count, and so the 5,99 € line, stays the same. The target swapped in
stays included until the end of its calendar month (Europe/Berlin), so
it cannot be swapped out again that month; the one swapped out becomes
extra at once.

- A target stores the customer's choice (`included_choice`) and, when
  swapped in, `included_until` (the next Berlin month's start). The
  split ranks swapped-in targets before the oldest and swapped-out ones
  after the newest, so the swap holds while targets come and go.
- POST /api/v1/targets/{id}/billing/swap {"with": id}: 409 with the
  reason (locked, not extra, not included, plan includes all), 404 for
  a target that is not an active one of the tenant. A write: the role
  gate keeps read-only roles and API keys out.
- An extra target's page shows its badge and, for those who may write,
  the swap with a choice of the included targets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 18:03:45 +01:00
sharang 9f2e78c6c4 feat(metering): new content starts a change-driven scan (t72) (#930)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Docs (push) Successful in 1m28s
CI / Deploy Agent (push) Successful in 9m6s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 3m13s
CI / Deploy Dashboard (push) Successful in 6m53s
2026-11-06 16:14:26 +00:00
sharang a7355ffdc8 feat(metering): the quota, Prüftage, the daily limit and the cap (t72) (#928)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Failing after 7m45s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 4m52s
CI / Deploy Dashboard (push) Failing after 5m54s
2026-11-06 14:48:07 +00:00
sharangandSharang Parnerkar ce786b716b feat(metering): included and extra targets, and why each scan ran (t72) (#927)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 6s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 9m4s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 5m4s
CI / Deploy Dashboard (push) Successful in 6m57s
First part of t72, Prüfwerk metering (LB §2 Abs. 4–5, §7). This PR records what a scan is metered by. Nothing is counted or enforced yet; counters, the 6-per-day limit and the Prüftag cap come in the next PR.

## What changes

- **Included vs extra targets.** Each target stores `billing: included | extra`.
  - The oldest active targets by `created_at` are included, up to the plan's `limits.included_targets` from the registry entitlement. The rest are extra.
  - The split is refreshed before each scan and when a target is created. Archiving an included target moves the oldest extra one up.
  - A plan without that key includes every target, which is every plan until the registry sends the limits. So this PR changes nothing for existing tenants.
- **Run attribution.** Each run records an `attribution`:
  - `request`: the customer started it (dashboard or API).
  - `support`: staff started it.
  - `change`: something the customer changed, i.e. new commits, other uploads, or a live URL.
  - `rescan`: only the Prüfwerk build changed.

  For scheduled and webhook scans it's set where change detection decides, so our rescan after an update is no longer counted as a customer change. `uploads_changed` / `content_changed` don't depend on `UPLOAD_CHANGE_SKIP`.
- **`chargeable`.** Says whether the run counts once it completes:
  - a request always counts;
  - a change counts only on an extra target;
  - rescans and support scans never count.

  `scan.completed` now carries `attribution` and `counted` as properties.
- **Dashboard.** The targets list shows a "Zusätzliches Prüfobjekt" badge on an extra target.

## Tests

- **Core:** the included/extra split, attribution, and the contract table of what counts.
- **Agent:** `content_changed`/`uploads_changed`, the `included_targets` limit, reading a stored target's billing, and a Mongo integration test (`tests/target_billing.rs`): the oldest are included, and an extra target moves up on archive.

Not built locally, per the CI-only rule; CI is the compiler here.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com>
Reviewed-on: #927
2026-11-06 14:30:07 +00:00
sharang 13d09dc830 fix(sbom): a component the build installed is badged "Im Image (gebaut)" (#881)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 8m28s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 5m14s
2026-11-05 08:30:19 +00:00
sharang 360c905894 feat(yocto): a target with only its build output is scanned (#150) (#857)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m9s
CI / Deploy Agent (push) Successful in 5m48s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 4m0s
CI / Deploy Dashboard (push) Successful in 5m15s
2026-11-05 00:13:11 +00:00
sharang 7f5ddf69fc feat(yocto): build output in the wizard and the guide (#150) (#855)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m4s
CI / Deploy Agent (push) Successful in 8m27s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 6m16s
2026-11-04 23:18:50 +00:00
sharang e637964c02 feat(yocto): a target's build output joins the scan (#150) (#853)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 6s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 6m59s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 3m0s
CI / Deploy Dashboard (push) Successful in 4m57s
2026-11-04 22:42:48 +00:00
sharang b645769f67 feat(plc): say when a native CODESYS project is not analysed (#165) (#827)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 8m56s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 4m52s
CI / Deploy Dashboard (push) Successful in 6m46s
2026-11-04 09:13:00 +00:00
sharang 8ede373353 feat(scan): per-target excluded paths, left out of the whole scan (#825)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Docs (push) Successful in 1m14s
CI / Deploy Agent (push) Successful in 10m50s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 2m53s
CI / Deploy Dashboard (push) Successful in 7m56s
2026-11-04 08:48:40 +00:00
sharang ac95126af2 feat(scan): leave test data (fixtures, testdata) out of the whole scan (#820)
CI / Detect Changes (push) Successful in 6s
CI / Check (push) Skipped
CI / Deploy Agent (push) Canceled after 0s
CI / Deploy Docs (push) Successful in 1m16s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 4m57s
CI / Deploy Dashboard (push) Successful in 6m46s
2026-11-04 08:28:51 +00:00
sharang 34243b208d fix(i18n): CRA status names mapped findings, not verdicts (#585)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m9s
CI / Deploy Agent (push) Successful in 7m36s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 5m26s
2026-10-31 23:55:08 +00:00
sharang ed71ced9b3 fix(licenses): confirm a licence before its review; one row per package (#571)
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m28s
CI / Check (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 5m29s
2026-10-15 15:09:59 +00:00
sharang 41c337138d feat(licenses): licence policy, legal review, third-party notices (licence review v2) (#570)
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 8m13s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Dashboard (push) Successful in 6m22s
CI / Deploy MCP (push) Successful in 4m37s
2026-10-15 14:35:43 +00:00
sharang e65aa76ef5 feat(sbom): confirm the licence of components (licence review) (#569)
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m16s
CI / Deploy Agent (push) Successful in 8m39s
CI / Check (push) Skipped
CI / Deploy MCP (push) Successful in 4m49s
CI / Deploy Dashboard (push) Successful in 6m40s
2026-10-15 12:03:29 +00:00
sharang a3735b12b7 chore(deps): remove dependencies nothing uses (#561)
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 8m35s
CI / Check (push) Skipped
CI / Deploy Dashboard (push) Successful in 5m57s
CI / Deploy MCP (push) Successful in 3m17s
2026-10-09 18:58:27 +00:00
sharang db515486a4 feat(yocto): layer pins from kas, repo manifests and submodules, and a finding when the Yocto release is end of life (#559)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Agent (push) Successful in 10m26s
CI / Deploy Docs (push) Successful in 1m20s
CI / Deploy MCP (push) Successful in 3m57s
CI / Deploy Dashboard (push) Successful in 6m45s
2026-10-09 18:40:00 +00:00
sharang 64f5a810dd feat(scans): a scan run lists informational notes apart from skipped stages (#556)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 6m59s
CI / Deploy Dashboard (push) Successful in 6m27s
CI / Deploy MCP (push) Successful in 3m20s
2026-10-09 18:21:28 +00:00
sharang ba499d14e4 feat(yocto): recipes an image recipe installs are marked as in the image (declared) (#557)
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m13s
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 10m7s
CI / Deploy MCP (push) Successful in 3m21s
CI / Deploy Dashboard (push) Successful in 7m17s
2026-10-09 17:58:38 +00:00
sharang 8d6be32c83 fix(yocto): recipe lint binds attack-surface findings to cra-ai-2 and counts suppressed findings (#554)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Agent (push) Successful in 8m39s
CI / Deploy Docs (push) Successful in 1m13s
CI / Deploy Dashboard (push) Successful in 6m15s
CI / Deploy MCP (push) Successful in 3m26s
2026-10-09 16:49:27 +00:00
sharang ac50880b25 feat(yocto): the recipe inventory becomes SBOM components, CVE_STATUS and CVE patches become VEX (#551)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 6s
CI / Deploy Docs (push) Successful in 1m13s
CI / Deploy Agent (push) Successful in 12m32s
CI / Deploy Dashboard (push) Successful in 7m53s
CI / Deploy MCP (push) Successful in 3m26s
2026-10-09 16:17:47 +00:00
sharang 7e3856db31 feat(yocto): recipes are checked with oelint-adv and our own secure-by-default rules (#552)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 6s
CI / Deploy Docs (push) Successful in 1m32s
CI / Deploy Agent (push) Successful in 13m11s
CI / Deploy MCP (push) Successful in 5m11s
CI / Deploy Dashboard (push) Successful in 16m16s
2026-10-09 15:48:31 +00:00
sharang 750f1d7308 feat(yocto): layer trees are detected as Embedded Linux / Yocto, and the scan matrix says what runs (#550)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m15s
CI / Deploy Agent (push) Successful in 8m49s
CI / Deploy MCP (push) Successful in 4m46s
CI / Deploy Dashboard (push) Successful in 6m40s
2026-10-09 14:58:09 +00:00
sharang 528c9d4f7f feat(dashboard): Embedded Linux / Yocto is marked as a preview (#549)
CI / Deploy Docs (push) Successful in 1m15s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Successful in 6m20s
CI / Deploy Dashboard (push) Successful in 4m9s
CI / Deploy MCP (push) Skipped
2026-10-09 14:41:47 +00:00
sharang 7f2b128efd feat(webhooks): the target page shows its last webhook deliveries, refused ones too (#544)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 6s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 9m6s
CI / Deploy Dashboard (push) Successful in 5m29s
CI / Deploy MCP (push) Successful in 3m28s
2026-10-09 13:51:47 +00:00
sharang 69a4c2084a feat(dashboard): the targets page pages server-side with page size and total (#541)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 9m13s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 6m11s
2026-10-09 13:18:20 +00:00
sharang b6955db9e0 fix(dashboard): the SBOM arrow on a target opens the SBOM filtered to it (#533)
CI / Deploy Docs (push) Successful in 1m2s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Successful in 5m15s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 3m33s
2026-10-08 21:50:28 +00:00
sharang 10cebd894f fix(dashboard): target page reloads findings, SBOM and CRA status when a scan finishes (#530)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Canceled after 0s
CI / Deploy Docs (push) Successful in 59s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Canceled after 0s
2026-10-08 21:50:22 +00:00
sharang 0586f2c639 feat(dashboard): the CSAF draft's TLP label as a coloured badge with its meaning (#535)
CI / Deploy Docs (push) Successful in 1m8s
CI / Deploy Agent (push) Canceled after 0s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Dashboard (push) Canceled after 0s
CI / Deploy MCP (push) Skipped
2026-10-08 21:45:50 +00:00
sharang a22b4497a5 fix(scan): uploads carry their sha256, so change detection compares the bytes (#531)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Canceled after 0s
CI / Deploy Agent (push) Canceled after 0s
CI / Deploy Dashboard (push) Successful in 5m32s
CI / Deploy MCP (push) Skipped
2026-10-08 21:45:32 +00:00
sharang ffe31964e6 fix(dashboard): targets named owner/repo can be edited and saved (#527)
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Check (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 5m11s
2026-10-08 21:24:15 +00:00
sharang c8af053d9d fix(semgrep): short finding titles, rule messages shown as Markdown (#529)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 10m54s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 4m10s
2026-10-08 21:23:20 +00:00
sharang dd70ec753c fix(release): one Prüfwerk version in every document, crates at 0.4.6 (#526)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m2s
CI / Deploy MCP (push) Successful in 2m55s
CI / Deploy Dashboard (push) Successful in 5m10s
2026-10-08 21:15:41 +00:00
sharang 8ea3731b51 feat(csaf): match components against vendor CSAF advisories (#515, part C) (#521)
CI / Deploy Agent (push) Successful in 5m4s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy MCP (push) Successful in 3m31s
CI / Deploy Dashboard (push) Successful in 4m19s
2026-10-06 16:45:55 +00:00
sharang 908e6b8449 feat(vex): ENISA deadlines evaluated by the agent, one notification per CVE (#498 follow-up) (#514)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m6s
CI / Deploy Agent (push) Successful in 5m43s
CI / Deploy Dashboard (push) Successful in 3m30s
CI / Deploy MCP (push) Successful in 2m57s
2026-10-06 15:36:38 +00:00
sharang 5f8fbe9802 feat(vex): draft ENISA notifications of actively exploited vulnerabilities (CRA Art. 14) (#498, 4/4) (#513)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m10s
CI / Deploy Agent (push) Successful in 6m26s
CI / Deploy Dashboard (push) Successful in 4m40s
CI / Deploy MCP (push) Successful in 2m33s
2026-10-06 15:16:19 +00:00
sharang 8538b31682 feat(vex): CSAF 2.0 VEX advisory draft (#498, 3/4) (#510)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m23s
CI / Deploy Agent (push) Successful in 9m36s
CI / Deploy MCP (push) Successful in 2m54s
CI / Deploy Dashboard (push) Successful in 11m5s
2026-10-06 14:38:42 +00:00
sharang 1923a6c433 feat(sbom): CycloneDX 1.6 export with BSI TR-03183-2 properties (#508, part A) (#509)
CI / Deploy Agent (push) Successful in 6m54s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m13s
CI / Deploy MCP (push) Successful in 2m21s
CI / Deploy Dashboard (push) Successful in 5m9s
2026-10-06 14:23:40 +00:00
sharang 4448a5394f feat(dashboard): VEX editor and OpenVEX/CycloneDX VEX downloads on the target page (#498, 2/4) (#505)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m15s
CI / Deploy Agent (push) Successful in 7m14s
CI / Deploy MCP (push) Successful in 2m34s
CI / Deploy Dashboard (push) Successful in 5m25s
2026-10-06 14:07:10 +00:00
sharangandClaude Opus 5.5 34e3f6cf6a feat(sast): DevSkim for .NET without a build (#494) (#506)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m19s
CI / Deploy Agent (push) Successful in 8m23s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 5m25s
Legacy .NET Framework code often cannot be built outside the customer's
Windows toolchain, so no Roslyn analyser applies. DevSkim (MIT, Microsoft)
matches its rules on the source text and now runs as the sast_dotnet stage
on every tree with C# or VB.NET code: .cs, .vb, Razor/ASP.NET pages and
.config files, skipping bin/, obj/, packages/ and vendor directories
(anchored at the tree root).

- Only DevSkim's own rules at Critical/Important/Moderate (its ManualReview
  and BestPractice hints are not findings); DS205000 (NuGet feed mapping),
  DS184626 (controller base class) and DS440000 (generic twin of DS440020)
  are left out, and two that flood real C# (OpenRA, eShopOnWeb): DS148264
  matches any method named Random (71 hits in OpenRA), DS126858 the bare
  words md5/sha1, identifiers included (35). DS168931 and our own semgrep
  rules still cover broken hashes and System.Random. What remains: 3 hits
  in OpenRA (test vectors), 14 Low http:// hits in eShopOnWeb seed data;
  each run took about 2 s.
- SARIF is read with import::sarif::parse; findings are normalised like the
  other scanners (relative path, whole source line as snippet, one finding
  per rule/file/line), severity from DevSkim's own Critical/Important/
  Moderate (its SARIF level says "error" for both of the first two).
- DevSkim's SARIF names no CWE, so pipeline/devskim.rs gives each rule one;
  the control map binds the devskim tool by CWE to cra-ai-1, 8, 10, 13, 14,
  15, 16 and 20 for csharp and vb. A test checks every mapped rule reaches a
  control. A failed run is a sast_dotnet skip, so those controls read "not
  assessed" instead of clean.
- languages.rs now records VB.NET (vb).

Image: the CLI is published as a .NET tool on nuget.org only (no release
binaries). Dockerfile.agent pins the 1.0.100 nupkg by sha256 and the .NET
10.0.12 runtime (no SDK) by sha512, keeps only the linux-x64 natives, and
runs it through docker/devskim.sh with invariant globalisation (no ICU).
The tools stage grows from 1.525 GB to 1.623 GB (+98.5 MB: runtime 80 MB,
DevSkim 16 MB). Checked in that image as the unprivileged user with an empty
environment and --network none: it runs offline. tool-versions.json lists
devskim and dotnet-runtime.

Fixtures: fixtures/dotnet/legacy-sample, a small vulnerable C#/VB.NET
library with a Web.config (SSL 3, certificate validation off, DES, XXE,
BinaryFormatter in VB.NET, tracing, cookies without Secure), and nightly
targets for it and for framework48; their baselines need a bless run after
deploy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-06 12:51:10 +00:00
sharangandClaude Opus 5.5 e51a790d59 feat(sbom): sbomqs quality score as CRA evidence for the SBOM (#496) (#503)
CI / Deploy Docs (push) Successful in 1m19s
CI / Deploy Agent (push) Successful in 9m41s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Dashboard (push) Successful in 6m41s
CI / Deploy MCP (push) Successful in 4m49s
At the end of every completed scan the target's CycloneDX SBOM (the same
document as the evidence pack's sbom.cdx.json) is scored by sbomqs against
BSI TR-03183-2 v2.1 and the NTIA minimum elements (2021).

- Dockerfile.agent pins sbomqs 2.1.2 (Apache-2.0) with the sha256 from the
  release's checksums.txt and lists it in tool-versions.json.
- Profiles by explicit name (bsi-v2.1, ntia-2021): in 2.1.2 `bsi` and
  `ntia` float to the newest BSI and CISA 2026 profiles.
- pipeline/sbom_quality.rs runs it offline through tool_cmd (empty
  environment, 120 s), keeps per profile the score, grade and the checks
  not fully met; stored on the scan run as sbom_quality. Without sbomqs the
  run records the skipped stage sbom_quality.
- Supporting evidence, not findings: attached to cra-ai-23 in the CRA
  status without changing its state, sbom-quality.json in the evidence
  pack, GET /api/v1/sbom/quality for the SBOM page.
- Dashboard: SBOM-Qualität card on the SBOM page, a supporting-evidence line
  on cra-ai-23 on the CRA page.
- Docs: tools.md, SBOM and target guides, staging check 20.

Our export (CycloneDX 1.5, no creator, timestamp, supplier or hashes)
grades F against BSI; the failed checks list what it needs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-06 12:35:01 +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 Agent (push) Successful in 12m8s
CI / Deploy MCP (push) Successful in 4m56s
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 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 Agent (push) Successful in 8m3s
CI / Deploy MCP (push) Successful in 4m37s
CI / Deploy Dashboard (push) Successful in 6m31s
2026-10-06 08:49:39 +00:00
sharang 770991c2c5 fix(findings): groups take over their places' human decisions (#483) (#484)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 8m48s
CI / Deploy Dashboard (push) Successful in 6m20s
CI / Deploy MCP (push) Successful in 3m15s
2026-10-06 01:15:48 +00:00
sharang 2893a5813e feat(findings): app variants (phone/tablet app, flavors, app targets) on every finding (#481)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Agent (push) Successful in 7m44s
CI / Deploy MCP (push) Successful in 4m18s
CI / Deploy Dashboard (push) Successful in 6m5s
2026-10-06 00:26:59 +00:00
sharang 25072056dc feat(unity): mobile build targets from Player Settings; generated app projects recorded (#480)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 6m2s
CI / Deploy Dashboard (push) Successful in 4m54s
CI / Deploy MCP (push) Successful in 3m51s
2026-10-05 23:56:34 +00:00
sharangandClaude Opus 5.5 918c871a25 feat(findings): one finding for a rule that fires all over a repository (#464) (#477)
CI / Check (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Detect Changes (push) Successful in 7s
CI / Deploy Agent (push) Successful in 8m33s
CI / Deploy Dashboard (push) Successful in 6m31s
CI / Deploy MCP (push) Successful in 3m45s
Closes #464.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-05 23:52:07 +00:00
sharang 5b2deec9e8 feat(ios): secrets in UserDefaults, URL schemes and permissions of iOS apps (#479)
CI / Deploy Agent (push) Successful in 7m29s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 5m51s
2026-10-05 23:35:23 +00:00
sharang 0e7a138cd4 feat(access): blocked workspace members are refused (portal#74) (#471)
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 7m28s
CI / Deploy Dashboard (push) Successful in 5m12s
CI / Deploy MCP (push) Successful in 3m30s
2026-10-05 22:21:20 +00:00
sharang 04b4f32807 feat(mobile): legacy Android and Unity builds flagged, not resolved; Android found everywhere (#466)
CI / Check (push) Skipped
CI / Deploy Docs (push) Successful in 1m12s
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 6m27s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 5m0s
2026-10-05 21:17:52 +00:00