Policies
Review Added Scanner Suppressions
Review Added Scanner Suppressions: what it does, its label on each agent, what it misses, and examples.
Catalog policy scan-suppression-markers, version 0.0.2, labelled asks on Claude Code.
What it does
Asks a person before a change adds a scanner suppression: inline ignore markers (bandit, gosec, ruff S codes, Sonar, Semgrep, ESLint security, Checkov, tfsec, Trivy, KICS, hadolint, cfn_nag, zizmor, gitleaks, detect-secrets, CodeQL, Java/C#/Rust security allows), scanner ignore files and skip keys, a CI scan set to pass on failure. Only added lines; prose skipped. Runs: commit, agent write, turn's end; CI annotates. Line-local, friction not a boundary.
On each agent
| Agent | Label | What it does there |
|---|---|---|
| Claude Code | Asks | Asks on an agent's file writes and at turn end |
| Cursor | Blocks | Refuses an agent's file writes and refuses at turn end, because this client cannot prompt at either point |
| Codex | Blocks | Refuses an agent's file writes and refuses at turn end, because this client cannot prompt at either point. If the hook errors, the action goes through (not witnessed; the vendor's row is only partly live-run) |
| GitHub Copilot | Blocks | Refuses at turn end only, because this client cannot prompt there. It does not check a file write when it happens. If the hook errors, the action goes through (not witnessed; the vendor's row is only partly live-run) |
| Devin | Blocks | Refuses at turn end only, because this client cannot prompt there. It does not check a file write when it happens. If the hook errors, the action goes through (vendor docs only, not witnessed) |
| Grok | Not graded | Not graded yet for Grok |
| goose | Not graded | Not graded yet for goose |
| Antigravity | Not graded | Not graded yet for Antigravity |
| OpenHands | Not graded | Not graded yet for OpenHands |
| Kimi Code | Not graded | Not graded yet for Kimi Code |
| Factory Droid | Not graded | Not graded yet for Factory Droid |
What it misses
This policy does not state what it misses.
Examples from its eval suite
Asks: A commit adds a bandit nosec comment to a subprocess call.
Allowed: A commit adds ordinary Python code with an unrelated noqa.
More
Built from engine 5a4b6287a46e and catalog 1e60d211c1bb.