Appearance
SEC553 / MCP-AUTOAPPROVE-GIT-CHECKOUT
SEC553 flags MCP configuration when autoApprove includes the exact tool token Bash(git checkout:*).
Why It Matters
git checkout changes repository state and working tree content. Auto-approving it removes review from broad branch and file state transitions.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- the array contains the exact item
Bash(git checkout:*)
How To Fix
Remove git checkout from autoApprove and keep repo state changes under explicit user review.