Appearance
SEC559 / MCP-AUTOAPPROVE-GH-API-PUT
SEC559 flags MCP configuration when autoApprove includes the exact tool token Bash(gh api --method PUT:*).
Why It Matters
gh api --method PUT 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 PUT:*)
How To Fix
Remove gh api --method PUT from autoApprove and keep GitHub API mutation under explicit user review.