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