Appearance
SEC581 / MCP-AUTOAPPROVE-GH-WORKFLOW-DISABLE
SEC581 flags MCP configuration when autoApprove includes the exact tool token Bash(gh workflow disable:*).
Why It Matters
gh workflow disable turns off GitHub Actions workflows remotely. Auto-approving it removes review from workflow-disabling actions.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- the array contains the exact item
Bash(gh workflow disable:*)
How To Fix
Remove gh workflow disable from autoApprove and keep workflow disabling under explicit user review.