Vendor permissive semgrep rule packs and guard against registry rules #492

Closed
opened 2026-10-06 10:13:15 +00:00 by sharang · 0 comments
Owner

Our own ~35 rules leave whole languages without SAST findings.

Tasks

  • Vendor GitLab sast-rules MIT directories only (C, C#, Java, JS, Python, Go) and permissive community packs (0xdea C/C++ MIT, elttam MIT incl. C#) into compliance-agent/rules/vendor/<source>/ with LICENSE + NOTICE + pinned commit; provenance spot-check per pack (no Semgrep-Registry-derived rules, no Commons Clause)
  • Map rule categories/CWEs to CRA controls (control map); ids namespaced per source; bare ids via #473 logic
  • Noise budget: run against the nightly fixtures, drop rules with obvious FP storms
  • CI guard: a test fails if the semgrep invocation ever contains --config=auto, p/, r/ or a registry URL

Source: OSS research 2026-10-06 (~/workspace/00_breakpilot/research/2026-10-06_oss-security-tools-for-pruefwerk.md), short-term adoption list.

Our own ~35 rules leave whole languages without SAST findings. ## Tasks - Vendor GitLab sast-rules **MIT directories only** (C, C#, Java, JS, Python, Go) and permissive community packs (0xdea C/C++ MIT, elttam MIT incl. C#) into `compliance-agent/rules/vendor/<source>/` with LICENSE + NOTICE + pinned commit; provenance spot-check per pack (no Semgrep-Registry-derived rules, no Commons Clause) - Map rule categories/CWEs to CRA controls (control map); ids namespaced per source; bare ids via #473 logic - Noise budget: run against the nightly fixtures, drop rules with obvious FP storms - CI guard: a test fails if the semgrep invocation ever contains `--config=auto`, `p/`, `r/` or a registry URL _Source: OSS research 2026-10-06 (~/workspace/00_breakpilot/research/2026-10-06_oss-security-tools-for-pruefwerk.md), short-term adoption list._
sharang added the enhancement label 2026-10-06 10:13:15 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#492