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