Commit Graph
6 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 fe53d0a447 feat(sast): C/C++ SAST for microcontroller firmware (#334)
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 6m5s
C/C++ trees got only `semgrep --config=auto`, which returned nothing for
firmware code, and a failed semgrep run read as clean code.

- cppcheck (bookworm package) runs on C/C++ trees with the project's include
  directories, and its findings carry CWE, file:line and a snippet.
- Our own CRA C rules: unbounded string functions, scanf %s, non-literal
  format strings, hard-coded credentials, broken hashes/ciphers and rand()
  for keys and nonces, bound to cra-ai-8/13/16/20 in the control map, with
  cppcheck's memory-safety CWEs under cra-ai-20.
- Vendor SDK code (STM32Cube Drivers/, CMSIS, *_HAL_Driver, third_party) is
  left out of SAST and the run records which directories; the SBOM still
  covers it. A customer's own drivers/ and Zephyr's boards/vendor are kept.
- semgrep: --jobs 2; a run with no report becomes a recorded skipped stage;
  paths are relative to the tree, and snippets are read from the file
  (open-source semgrep only returns "requires login").
- Nightly fixture fw-c-sensor-node: every planted flaw is found, and the
  strcpy in the vendored HAL is not.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-09-23 12:56:56 +02:00
sharang 3e233da128 feat(controls): promote grounded controls to covered + enable LLM passes by default (#224)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m53s
CI / Deploy Dashboard (push) Successful in 7m10s
CI / Deploy MCP (push) Successful in 1m50s
2026-07-22 07:48:51 +00:00
sharang a7ff36edf3 feat(controls): B3 — categorize the rest of needs_tooling (architectural + RBAC) (#220)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 2s
CI / Deploy Dashboard (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Agent (push) Failing after 4s
2026-07-21 13:15:27 +00:00
sharang 4ef257bfe2 feat(controls): B2 — grounded surface checks for absence-based CRA controls (#219)
CI / Check (push) Skipped
CI / Deploy MCP (push) Failing after 5s
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Failing after 5s
CI / Deploy Dashboard (push) Failing after 4s
2026-07-21 12:48:12 +00:00
sharang 38fedc661b feat(controls): B1 — custom semgrep detectors for 4 CRA controls (#218)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Dashboard (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Agent (push) Failing after 4s
2026-07-21 12:31:20 +00:00
sharang c6baf72c6d feat: control-driven SAST — LUT + grounded LLM triage over tool findings (#213)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 3m45s
CI / Deploy Docs (push) Skipped
CI / Deploy Dashboard (push) Successful in 2m40s
CI / Deploy MCP (push) Successful in 1m46s
2026-07-21 09:01:51 +00:00