Chock.sh Build your plugin

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

AgentLabelWhat it does there
Claude CodeAsksAsks on an agent's file writes and at turn end
CursorBlocksRefuses an agent's file writes and refuses at turn end, because this client cannot prompt at either point
CodexBlocksRefuses 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 CopilotBlocksRefuses 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)
DevinBlocksRefuses 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)
GrokNot gradedNot graded yet for Grok
gooseNot gradedNot graded yet for goose
AntigravityNot gradedNot graded yet for Antigravity
OpenHandsNot gradedNot graded yet for OpenHands
Kimi CodeNot gradedNot graded yet for Kimi Code
Factory DroidNot gradedNot 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.