Appearance
SEC596 / MCP-AUTOAPPROVE-GIT-LS-REMOTE
SEC596 flags MCP configuration when autoApprove includes the exact tool token Bash(git ls-remote:*).
Why It Matters
git ls-remote reaches out to remote repositories and exposes remote metadata. Auto-approving it removes review from shared remote-inspection authority.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- the array contains the exact item
Bash(git ls-remote:*)
How To Fix
Remove shared git ls-remote auto-approval and keep remote repository inspection under explicit user review.