Commit Graph
77 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 a1af4b0ffe feat(sbom): lockfile hashes and download URLs in the SBOM (#508, part B1)
CI / Check (push) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Check (pull_request) Successful in 8m37s
CI / Detect Changes (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
- SbomEntry gains hashes (alg + hex) and download_url, both optional in
  storage. The CycloneDX export lists the hashes on the component and, with
  a download URL, as an externalReferences "distribution" entry: BSI
  TR-03183-2's hash of the deployable component and its URI.
- One syft run now also writes its own JSON format, which keeps what the
  lockfiles say about each package's file: npm/yarn integrity + resolved,
  pnpm resolution.integrity (+ tarball), NuGet packages.lock.json
  contentHash (SHA-512 of the .nupkg), Cargo checksum (SHA-256).
- A URL the lockfile does not name is the public registry's (npmjs,
  nuget.org flat container, static.crates.io), only when the project takes
  the package from there: the npm and NuGet registry policies of the licence
  lookups decide.
- sbomqs bsi-v2.1 on the test document: 6.67 D -> 7.22 C (deployable hash
  met for npm/NuGet).
- Docs: what the export carries and what stays open. Test plan check 29.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-06 16:39:00 +02: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 d406741907 feat(sast): vendored MIT semgrep packs and a guard against registry rules (#492) (#504)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m13s
CI / Deploy Agent (push) Successful in 6m21s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
Our ~35 own rules left whole languages without SAST findings. Three
permissively licensed community packs now run next to them, on the same
semgrep invocation (--metrics=off, local files only):

- GitLab sast-rules v2.10.1 (53bf5cf6): 148 rules for C#, Java,
  JavaScript/TypeScript, Python and one Go rule; only files whose header says
  "License: MIT (c) GitLab Inc.". Not vendored: c/ (every file GPL-2.0,
  generated from flawfinder), go/ apart from one file (Apache-2.0 gosec
  ports), scala/, rules/lgpl, rules/lgpl-cc (Commons Clause), rules/gitlab (EE).
- 0xdea semgrep-rules (dae50da6, MIT): 35 C/C++ rules.
- elttam semgrep-rules (24426856, MIT; its LICENSE carries the Semgrep
  template's copyright line): 34 rules for Java, Go and Struts/Spring XML.

Each pack lives in compliance-agent/rules/vendor/<source>/ with LICENSE,
NOTICE (provenance, what was left out and why) and UPSTREAM (pinned commit):
upstream/ holds the selected files unchanged with their tests, pack.yaml the
rules the agent runs, ids prefixed per source (gitlab-, 0xdea-, elttam-),
rules.json an index for the tests. scripts/vendor-semgrep-rules.py
regenerates all of it deterministically.

Provenance: every candidate rule was compared with the Semgrep registry
(semgrep/semgrep-rules, read only for the comparison). Eight GitLab Python/JS
rules with the same message or the same patterns are not vendored, nor are
elttam's Kubernetes rules (registry-derived). Also left out: elttam's
entrypoint enumerators, its ORM-leak hints, three files whose upstream
tests fail on semgrep 1.177 and a join-mode rule.

Noise budget: run over the nightly fixtures, the public samples and
FreeRTOS-Kernel, lwIP, OpenRA, eShopOnWeb, requests, express and
spring-petclinic. 15 rules that flood real code (0xdea missing-return 1514
hits, typos 989, interesting-api-calls 718, signed-unsigned-conversion 221,
suspicious-assert 176, format-string-bugs 61 ...; GitLab assert-used) are
dropped from the pack, each listed with its reason in NOTICE. CPU time of
the semgrep run roughly doubles on C-heavy trees (FreeRTOS-Kernel 70 s ->
136 s, lwIP 18 s -> 68 s), well inside the 10-minute stage timeout.

Ids stay bare (#473 logic covers the vendored ids, fingerprint() unchanged).
The control map gets one vendored semgrep binding per control, by CWE (by
rule id for the few elttam rules without one), with exactly the languages of
the rules behind it; a test checks every vendored rule maps to a control
that claims its languages.

Guard: semgrep_args() builds the one invocation; a test fails if any
--config is not a staged local pack, or is auto, p/, r/ or a URL, and
another scans the agent source, scripts, docker/, CI and Dockerfile.agent for
a registry config.

Nightly baselines with C, Python, C# or JS code change and need a bless run
after the image is deployed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-06 12:22:50 +00:00
sharang 9bf7aad5b1 feat(vex): VEX status on CVE alerts, OpenVEX and CycloneDX VEX, a valid CycloneDX SBOM (#498, 1/4) (#502)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m20s
CI / Deploy Agent (push) Successful in 9m6s
CI / Deploy Dashboard (push) Successful in 6m25s
CI / Deploy MCP (push) Successful in 3m26s
2026-10-06 11:56:04 +00: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 Agent (push) Successful in 8m31s
CI / Deploy Dashboard (push) Successful in 5m49s
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 Docs (push) Successful in 1m9s
CI / Deploy Agent (push) Successful in 5m50s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
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 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 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 Agent (push) Successful in 9m24s
CI / Deploy MCP (push) Successful in 5m29s
CI / Deploy Dashboard (push) Successful in 7m31s
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 Docs (push) Successful in 1m8s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
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 Docs (push) Successful in 1m12s
CI / Deploy Agent (push) Successful in 6m21s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
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 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 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 Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 6m7s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
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 Docs (push) Successful in 1m8s
CI / Deploy Agent (push) Successful in 4m49s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-10-06 01:25:15 +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
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
sharangandClaude Opus 5.5 5fdf80a1e0 fix(cve): OSV and NVD lookups go through guarded_net (#469) (#476)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 7m26s
CI / Deploy Docs (push) Successful in 1m10s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
The CVE scanner asked api.osv.dev (querybatch, vulns/{id}) and NVD (per
CVE, per CPE product) with the agent's plain HTTP client. Every other
outbound call to an address the agent does not fully control is already
guarded, and since #468 the nuget.org license lookup is too.

New pipeline/public_http.rs (PublicHttp), the nuget_license pattern:
a guarded_client_builder client (approved addresses only, redirects
re-checked, no proxy), NetGuard::check_url before every request, 10 s
per request, 5 s connect, bodies capped at 16 MiB. CveScanner and
nvd_cpe::product_cves use it. NVD requests keep 30 s, as on the old
shared client (a product query returns up to 2,000 CVEs). A URL the
guard refuses is not retried.

CveScanner::new takes the agent's NetGuard instead of a client. The
dead search_context (SearXNG) is removed: it was never called, and an
internal SearXNG would be refused by the guard anyway. The orchestrator's
http field had no other user and is gone.

Audited every other reqwest client in compliance-agent. The LLM gateway,
tenant registry, OSCAL backend, GitLab/Jira trackers, identity providers
(pentest cleanup) and headless Chrome are operator-configured and often
internal, so they stay on plain clients. docs/reference/tools.md now
lists all egress in one place.

Tests: the OSV stand-in on loopback is refused with a public-only guard
(no request reaches it) and answers with allow_private. An NVD product
query to loopback is refused and not retried. check_url refuses
loopback, RFC 1918, link-local and metadata addresses, and a name that
resolves to loopback is refused when connecting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-05 23:15:12 +00:00
sharang 2941d89fc5 feat(ios): Carthage pins in the SBOM, iOS and Swift lifecycle findings (#478)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m8s
CI / Deploy Agent (push) Canceled after 0s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-10-05 23:14:04 +00:00
sharangandClaude Opus 5.5 d8c52192d9 fix(sbom): .NET assemblies from DLL metadata mapped to NuGet ids (#460) (#474)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Successful in 8m21s
CI / Deploy Docs (push) Successful in 52s
CI / Deploy Dashboard (push) Successful in 6m14s
CI / Deploy MCP (push) Successful in 3m28s
Syft names a DLL without a .deps.json by its version resource: product
name and file version. As a purl that is no NuGet package, so OSV
matched nothing: pkg:nuget/DotNetZip%20Library@1.9.1.5 has no advisory,
pkg:nuget/DotNetZip@1.9.1.5 has GHSA-7378-6268-4278.

Syft's dotnet-portable-executable-entry components are now mapped, in
this order:

- a DLL inside packages/<Id>.<Version>/ is that package
- a curated alias table, by assembly name (file name) and then product
  name (DotNetZip Library -> DotNetZip, Json.NET -> Newtonsoft.Json,
  Apache log4net -> log4net, Xceed Toolkit for WPF ->
  Extended.Wpf.Toolkit, empira MigraDoc -> PDFsharp-MigraDoc), with how
  the package's file versions relate to its versions (Newtonsoft.Json:
  first three parts; EntityFramework: unrelated, so the DLL only
  confirms a manifest entry)
- the assembly name, when it is a valid NuGet id and not one of the
  tree's own projects (project name or <AssemblyName>), whose names are
  not sent to OSV or nuget.org
- otherwise no purl, and the scan records the assembly as not matched
  against OSV

Alias before file name: DotNetZip ships Ionic.Zip.dll, and Ionic.Zip is
a different package. Versions go through nuget_license's
normalise_version (4.1.0.0 -> 4.1.0, +build dropped); a non-zero fourth
part stays (1.9.1.5 is a real NuGet version).

One package found in several DLLs, or in a DLL and a manifest, is one
entry: SbomEntry gains `evidence` (the manifests and DLLs it was read
from), and merge_nuget compares normalised versions and merges the
evidence instead of dropping it. Native pe-binary components are left
as they are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-05 22:54:44 +00:00
sharangandClaude Opus 5.5 34688fa322 feat(sbom): NuGet licenses from .nuspec files, then nuget.org (#468)
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m9s
CI / Deploy Agent (push) Successful in 4m44s
CI / Check (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
NuGet SBOM entries carried no license: none of the files they come from
names one. Fill it in after the NuGet components are merged (#467):

- local first: the .nuspec of a restored package; <license
  type="expression"> as SPDX, type="file" as LicenseRef-file, an old
  <licenseUrl> mapped to SPDX for well-known license pages, else kept
- then nuget.org: registration leaf (gzip) -> catalogEntry (inline or
  linked on api.nuget.org) -> licenseExpression / licenseFile / licenseUrl
- only real ids at exact versions (no ranges, no DLL-metadata names);
  versions normalised as nuget.org files them (6.2.0.0 -> 6.2.0, 2.0 ->
  2.0.0)
- ids a nuget.config maps to another feed are never sent; a tree whose
  nuget.config lists another feed without a mapping is not looked up
- through guarded_net, 8 at once, 10 s per request, 60 s and 300
  uncached packages per scan; failures stay empty, one warning per scan
- cached across tenants in the admin database (nuget_licenses, TTL: a
  year for a license, a week for none)
- NUGET_LICENSE_LOOKUP=false turns the nuget.org step off

Closes #467

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-05 21:50:32 +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
sharang 7e3d57b648 feat(issues): critical and high CVEs as issues in managed repositories (#452)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 5m40s
CI / Deploy Docs (push) Successful in 45s
CI / Deploy Dashboard (push) Successful in 4m23s
CI / Deploy MCP (push) Successful in 2m49s
2026-10-05 17:52:36 +00:00
sharangandClaude Opus 5.5 8926255d6f feat(dotnet): .NET detection, NuGet SBOM, C# rules and config checks (#447)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 4m42s
CI / Deploy Docs (push) Successful in 1m10s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
Minimal .NET/C# support for epic #445 (N1-N5): detection of solutions/projects and target frameworks, NuGet SBOM without build or restore (pkg:nuget purls for OSV, unresolved-dependency warning, end-of-support frameworks), own C# semgrep rule pack, .NET configuration and key-file checks, .NET build output and restored packages not counted as own code. Fixture fixtures/dotnet/framework48, docs .NET-Projekte (DE/EN).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-05 14:38:13 +00:00
sharang 654f387c80 feat(issues): a tracker issue follows its finding's status (#451)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m8s
CI / Deploy Agent (push) Successful in 5m45s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-10-05 14:14:13 +00:00
sharang 2cbd98e5c0 feat(git): bounded clones, Git LFS made visible, app build output left out (#450)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Agent (push) Successful in 7m27s
CI / Deploy Dashboard (push) Successful in 5m33s
CI / Deploy MCP (push) Successful in 4m11s
2026-10-05 14:05:19 +00:00
sharang 04d0ad5113 feat(sbom): direct dependencies of Gradle builds without a lockfile (#446)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Agent (push) Canceled after 0s
CI / Deploy Dashboard (push) Successful in 5m44s
CI / Deploy MCP (push) Successful in 3m50s
2026-10-05 13:39:02 +00:00
sharang a9ca31d60c feat(sast): Android and iOS app analysis with mobsfscan (#442)
CI / Deploy Docs (push) Canceled after 0s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Successful in 9m28s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Canceled after 0s
2026-10-05 13:38:45 +00:00
sharang 82736a1eec feat(findings): a scan closes what it no longer finds and reopens what returns (#443)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m14s
CI / Deploy Agent (push) Successful in 8m37s
CI / Deploy Dashboard (push) Successful in 6m40s
CI / Deploy MCP (push) Successful in 3m12s
2026-10-05 13:16:35 +00:00
sharangandClaude Opus 5.5 a66b7a5991 fix(sast): run only our own semgrep rules, no registry rules or metrics (#441)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 4m35s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-05 13:03:43 +00:00
sharangandClaude Opus 5.5 260d07c783 feat(agent): managed git source — auto targets and CRA issues (#439) (#444)
CI / Deploy Docs (push) Successful in 1m12s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 7m42s
CI / Deploy MCP (push) Successful in 4m22s
CI / Deploy Dashboard (push) Successful in 6m15s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-05 10:39:19 +00:00
sharang 9b85d5148e fix(sbom): no clean-looking result for mobile apps without readable lockfiles (#440)
CI / Detect Changes (push) Successful in 3s
CI / Check (push) Skipped
CI / Deploy Docs (push) Successful in 1m15s
CI / Deploy Agent (push) Successful in 7m53s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 6m20s
2026-10-01 18:45:27 +00:00
sharangandClaude Opus 5.5 5429ff6f0e fix(auth): enforce tenant org roles; crates at 0.4.4 (#431)
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 7m27s
CI / Check (push) Skipped
CI / Deploy MCP (push) Successful in 4m19s
CI / Deploy Dashboard (push) Successful in 6m7s
Every member of a tenant could use Prüfwerk fully, whatever their org
role: nothing but manual findings checked org_roles. A FINANCE user
could create and delete targets, start scans and triage findings.

Now, as decided on 30.09.2026:
- IT_ADMIN, USER: read and write.
- CXO, LEGAL: read only. GET/HEAD/OPTIONS plus the POSTs that only
  read (OSCAL assess, pentest report export, code chat, help chat).
- FINANCE or no role: no access.

- Agent: one middleware (api::role_gate) right after the JWT one
  refuses with 403 {"error":"forbidden_role","access":...}. It is
  classified by route template, so ids do not matter. Support sessions
  (TenantContext.staff) and requests without a tenant context
  (platform service API, Werkbank runner and admin APIs, health) are
  unchanged. Manual findings stay IT_ADMIN-only.
- Core: ProductAccess and TenantContext::product_access.
- Dashboard: a role without access sees a "no access" page (DE/EN)
  with a link back to the portal, and no server function runs for it.
  Read-only roles get a read-only note, and write actions (add target,
  scan, edit, delete, triage, tokens, MCP servers, pentest control,
  graph/embedding builds, notification dismiss) are hidden. The direct
  MCP server functions check the role, and access tokens are withheld
  from read-only roles.
- MCP server: unchanged. Its tokens are tenant-bound and carry no
  roles, its tools only read, and creating a token now needs write
  access.
- Docs: the roles table in Getting Started.
- The crates are at version 0.4.4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-30 21:59:07 +00:00
sharangandClaude Opus 5.5 77164c2050 fix: self-host fonts (no Google Fonts request) and crates at 0.4.3 (#430)
CI / Detect Changes (push) Successful in 6s
CI / Check (push) Skipped
CI / Deploy Docs (push) Successful in 1m29s
CI / Deploy Agent (push) Successful in 9m53s
CI / Deploy Dashboard (push) Successful in 12m37s
CI / Deploy MCP (push) Successful in 4m46s
The dashboard, the docs site and the pentest report no longer load
Google Fonts, so no visitor's IP goes to Google (platform/portal#65,
privacy release gate 4).

- Dashboard: Geist and Geist Mono (variable woff2, SIL OFL 1.1) are
  embedded and served at /fonts/geist.woff2 and /fonts/geist-mono.woff2;
  main.css declares them with @font-face under the same family names.
- Docs: the same woff2 files are bundled by Vite from the theme; the
  Google Fonts links in config.mts are gone.
- Pentest report: preconnects and the Google Fonts stylesheet removed;
  a system font stack instead, with a test that the report references
  no external resource.
- The crates are at version 0.4.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-30 20:48:02 +00:00
sharang 6d8e63c226 feat(help): readable assistant answers, German UI, and docs that match the pilot product (#424)
CI / Deploy Agent (push) Successful in 7m24s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m20s
CI / Deploy Dashboard (push) Successful in 5m34s
CI / Deploy MCP (push) Successful in 4m26s
2026-09-28 22:39:06 +00:00
sharang bf24fb3370 docs: a German home and getting started for Maschinenbauer (#405)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Successful in 53s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-09-26 08:25:10 +00:00
sharang 96aab82382 docs(design): deriving checks from breakpilot-compliance controls (#383) (#400)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Successful in 51s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-09-25 20:43:10 +00:00
sharang 08c68db65f docs(controls): the control-mapping page matches the code again (#378) (#397)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Successful in 49s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-09-25 11:32:48 +00:00
sharang 6752f54036 feat(retention): deleting a target or erasing a tenant removes its files (#289) (#355)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 53s
CI / Deploy Agent (push) Successful in 4m12s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-09-23 16:12:09 +00:00
sharang 48c113bc41 feat(mcp): contract tools for targets, scans, SBOM, CVEs and the control mapping (#273) (#353)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 54s
CI / Deploy Agent (push) Successful in 7m26s
CI / Deploy Dashboard (push) Successful in 5m42s
CI / Deploy MCP (push) Successful in 2m16s
2026-09-23 15:54:40 +00:00
sharang a5fb0aa947 feat(findings): add pentest and DAST findings by hand or from a report (#337) (#349)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m3s
CI / Deploy Agent (push) Successful in 7m41s
CI / Deploy Dashboard (push) Successful in 5m54s
CI / Deploy MCP (push) Successful in 1m57s
2026-09-23 14:46:34 +00:00
sharang c6d2d07999 fix(sbom): stop resolving tenant manifests in shared deployments (#330) (#333)
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 57s
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 6m48s
CI / Deploy MCP (push) Successful in 3m41s
CI / Deploy Dashboard (push) Successful in 5m26s
2026-09-23 08:59:35 +00:00
sharang f90bfcc5c6 fix(scans): stop offering scans nothing runs, and record them (#319) (#328)
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 53s
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 6m43s
CI / Deploy MCP (push) Successful in 3m39s
CI / Deploy Dashboard (push) Successful in 5m21s
2026-09-22 21:05:31 +00:00
sharang 40c7557349 feat(security): pin resolved addresses and check every redirect hop (#294) (#322)
CI / Deploy Docs (push) Successful in 54s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 6m41s
CI / Deploy MCP (push) Successful in 3m41s
CI / Deploy Dashboard (push) Successful in 5m20s
2026-09-21 20:26:43 +00:00
sharang 0444f18a8e feat(platform): harden the container images (#261) (#307)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Agent (push) Successful in 9m12s
CI / Deploy MCP (push) Successful in 4m0s
CI / Deploy Dashboard (push) Successful in 6m25s
2026-09-21 17:28:23 +00:00
sharang 6611c5b691 feat(security): seal tenant credentials at rest, never return them (#260) (#302)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m8s
CI / Deploy Agent (push) Successful in 7m6s
CI / Deploy MCP (push) Successful in 3m52s
CI / Deploy Dashboard (push) Successful in 5m38s
2026-09-21 16:28:54 +00:00
sharang 85959907b7 feat(platform): graceful shutdown and restart recovery (#259) (#301)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m9s
CI / Deploy Agent (push) Successful in 6m53s
CI / Deploy MCP (push) Successful in 3m51s
CI / Deploy Dashboard (push) Successful in 5m35s
2026-09-21 15:35:54 +00:00