Appearance
SEC601 / MCP-AUTOAPPROVE-GH-PR
SEC601 flags MCP configuration when autoApprove includes the exact tool token Bash(gh pr:*).
Why It Matters
gh pr mutates pull-request state on GitHub. Auto-approving it removes review from shared PR mutation authority.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- the array contains the exact item
Bash(gh pr:*)
How To Fix
Remove shared gh pr auto-approval and keep pull-request mutation authority under explicit user review.