Appearance
SEC516 / CLAUDE-GH-WORKFLOW-DISABLE-PERMISSION
SEC516 flags shared Claude settings when permissions.allow grants blanket GitHub workflow disabling authority through gh workflow disable.
Why It Matters
gh workflow disable can turn off GitHub Actions workflows remotely. In a shared committed settings file that is broader than most teams want to delegate by default.
Trigger Shape
- the file is a detected Claude settings surface
- the path is not fixture-like
permissions.allowcontains the exact tokenBash(gh workflow disable:*)
Clean Cases
- narrower inspection grants such as
Bash(gh workflow view:*) - settings files without blanket workflow disabling access
- fixture-like examples under test or fixture paths
Example Trigger
json
{
"permissions": {
"allow": ["Bash(gh workflow disable:*)", "Read(*)"]
}
}Safer Example
json
{
"permissions": {
"allow": ["Bash(gh workflow view:*)", "Read(*)"]
}
}How To Fix
Remove shared gh workflow disable permissions or replace them with narrower reviewed commands that keep workflow disabling under explicit user control.