Files
pruefwerk/fixtures/nightly/baselines/fw-c-sensor-node.json
T
Sharang ParnerkarandClaude Opus 5.5 ee30ecfddb
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) Successful in 11m59s
feat(secrets): Betterleaks instead of gitleaks, findings carry over (#516)
- The agent image ships Betterleaks 1.9.0 (MIT, gitleaks' successor by its
  author; pinned with checksum) instead of gitleaks 8.21.2. It reads our
  rules/gitleaks.toml unchanged, incl. the #464/#482 allowlists; `git .`
  replaces `detect --source .`, `dir .` stays. Live validation (which sends
  secrets to their providers) is never passed and a test pins that; the
  scan runs without network.
- The findings keep the scanner name `gitleaks` (finding_store::
  SECRET_SCANNER), so fingerprints (#491) and tracker issues carry over.
- RunFindings::adopt_renamed_secrets: a secret now reported under another
  rule (Betterleaks' composite aws-access-token reports a lone key id as
  generic-api-key; renamed vendor rules) takes over the stored row of the
  same target, file and match whose old rule no longer reports it: same id,
  status, triage and issue, with the new rule, title and severity.
- Compared on every fixture tree: identical results, except two planted
  hard-coded passwords Betterleaks finds in the C firmware fixture
  (generic-password), added to its nightly baseline.
- Docs (tools, guides), test plan check 33.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-06 17:46:20 +02:00

37 lines
1.5 KiB
JSON

{
"scan_status": "completed",
"skipped_stages": [
"malware",
"sast_vendor_code"
],
"sbom": [
"toolchain:arm-none-eabi-gcc@"
],
"findings": [
"binary-inventory:committed-binary bootloader.hex:0",
"cppcheck:arrayIndexOutOfBounds sensors.c:15",
"cppcheck:memleak sensors.c:32",
"cppcheck:uninitvar sensors.c:19",
"gitleaks:generic-password cli.cpp:8",
"gitleaks:generic-password comms.c:9",
"semgrep:0xdea-raptor-insecure-api-rand-srand comms.c:35",
"semgrep:0xdea-raptor-insecure-api-sprintf-vsprintf comms.c:25",
"semgrep:0xdea-raptor-insecure-api-strcpy-strcat comms.c:20",
"semgrep:0xdea-raptor-integer-wraparound sensors.c:29",
"semgrep:0xdea-raptor-unchecked-ret-malloc sensors.c:11",
"semgrep:0xdea-raptor-unchecked-ret-malloc sensors.c:29",
"semgrep:cra-ai-13-c-broken-hash-or-cipher comms.c:36",
"semgrep:cra-ai-16-c-predictable-random comms.c:35",
"semgrep:cra-ai-20-c-non-literal-format-string cli.cpp:15",
"semgrep:cra-ai-20-c-non-literal-format-string comms.c:23",
"semgrep:cra-ai-20-c-unbounded-string-function cli.cpp:11",
"semgrep:cra-ai-20-c-unbounded-string-function comms.c:20",
"semgrep:cra-ai-20-c-unbounded-string-function comms.c:25",
"semgrep:cra-ai-8-c-hardcoded-credential cli.cpp:8",
"semgrep:cra-ai-8-c-hardcoded-credential comms.c:10",
"semgrep:cra-ai-8-c-hardcoded-credential comms.c:9",
"semgrep:cra-ai-8-c-hardcoded-credential net_config.h:7"
],
"cves": []
}