Appearance
SEC558 / MCP-AUTOAPPROVE-GH-API-PATCH
SEC558 flags MCP configuration when autoApprove includes the exact tool token Bash(gh api --method PATCH:*).
Why It Matters
gh api --method PATCH is a direct remote mutation primitive. Auto-approving it removes review from GitHub-side state changes.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- the array contains the exact item
Bash(gh api --method PATCH:*)
How To Fix
Remove gh api --method PATCH from autoApprove and keep GitHub API mutation under explicit user review.