Appearance
SEC566 / MCP-AUTOAPPROVE-GH-WORKFLOW-RUN
SEC566 flags MCP configuration when autoApprove includes the exact tool token Bash(gh workflow run:*).
Why It Matters
gh workflow run triggers GitHub Actions remotely. Auto-approving it removes review from workflow execution on the remote repository.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- the array contains the exact item
Bash(gh workflow run:*)
How To Fix
Remove gh workflow run from autoApprove and keep remote workflow execution under explicit user review.