Appearance
SEC556 / MCP-AUTOAPPROVE-GIT-CLEAN
SEC556 flags MCP configuration when autoApprove includes the exact tool token Bash(git clean:*).
Why It Matters
git clean deletes untracked files. Auto-approving it removes review from destructive workspace cleanup.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- the array contains the exact item
Bash(git clean:*)
How To Fix
Remove git clean from autoApprove and keep destructive workspace cleanup under explicit user review.