Appearance
SEC603 / MCP-AUTOAPPROVE-GIT-RESTORE
SEC603 flags MCP configuration when autoApprove includes the exact tool token Bash(git restore:*).
Why It Matters
git restore rolls back working-tree or index state. Auto-approving it removes review from shared rollback authority.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- the array contains the exact item
Bash(git restore:*)
How To Fix
Remove shared git restore auto-approval and keep working tree rollback under explicit user review.