Appearance
SEC561 / MCP-AUTOAPPROVE-GH-REPO-CREATE
SEC561 flags MCP configuration when autoApprove includes the exact tool token Bash(gh repo create:*).
Why It Matters
gh repo create provisions new repositories remotely. Auto-approving it removes review from repository creation flows.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- the array contains the exact item
Bash(gh repo create:*)
How To Fix
Remove gh repo create from autoApprove and keep repository creation under explicit user review.