Appearance
SEC597 / MCP-AUTOAPPROVE-GIT-ADD
SEC597 flags MCP configuration when autoApprove includes the exact tool token Bash(git add:*).
Why It Matters
git add changes repository staging state. Auto-approving it removes review from shared staging authority.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- the array contains the exact item
Bash(git add:*)
How To Fix
Remove shared git add auto-approval and keep staging authority under explicit user review.