Appearance
SEC565 / MCP-AUTOAPPROVE-GH-VARIABLE-SET
SEC565 flags MCP configuration when autoApprove includes the exact tool token Bash(gh variable set:*).
Why It Matters
gh variable set mutates GitHub-side configuration variables remotely. Auto-approving it removes review from shared variable updates.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- the array contains the exact item
Bash(gh variable set:*)
How To Fix
Remove gh variable set from autoApprove and keep variable mutation under explicit user review.