Appearance
SEC563 / MCP-AUTOAPPROVE-GH-REPO-EDIT
SEC563 flags MCP configuration when autoApprove includes the exact tool token Bash(gh repo edit:*).
Why It Matters
gh repo edit mutates repository settings remotely. Auto-approving it removes review from repository policy and visibility changes.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- the array contains the exact item
Bash(gh repo edit:*)
How To Fix
Remove gh repo edit from autoApprove and keep repository settings mutation under explicit user review.