Pilot · Grounded surface check reads C/C++ code #376

Closed
opened 2026-09-25 07:59:07 +00:00 by sharang · 0 comments
Owner

Part of #338.

Problem

The grounded surface check (5d) reads only these file types: py js ts tsx jsx go java rb php rs cs kt (compliance-agent/src/controls/surface.rs:84-86). The 8 controls it covers (cra-ai-6, 11, 12, 24, 27, 28, 29, 30) are therefore never checked on C/C++ code. Its keyword lists (surface.rs:27-81) are also written with web code in mind.

Done when

  • C/C++ sources (c h cpp cc hpp) are read.
  • The keyword lists include embedded terms: update and bootloader signature checks, HAL_FLASH, OTA, secure boot, log buffers, and so on.
  • Tests on a small C fixture.
Part of #338. ## Problem The grounded surface check (5d) reads only these file types: `py js ts tsx jsx go java rb php rs cs kt` (`compliance-agent/src/controls/surface.rs:84-86`). The 8 controls it covers (cra-ai-6, 11, 12, 24, 27, 28, 29, 30) are therefore never checked on C/C++ code. Its keyword lists (`surface.rs:27-81`) are also written with web code in mind. ## Done when - C/C++ sources (`c h cpp cc hpp`) are read. - The keyword lists include embedded terms: update and bootloader signature checks, `HAL_FLASH`, OTA, secure boot, log buffers, and so on. - Tests on a small C fixture.
sharang added this to the Production MVP milestone 2026-09-25 07:59:07 +00:00
sharang added the enhancement label 2026-09-25 07:59:07 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#376