Appearance
SEC519 / MD-GH-WORKFLOW-DISABLE-ALLOWED-TOOLS
SEC519 flags AI-native markdown frontmatter when allowed-tools grants blanket gh workflow disable authority.
Why It Matters
gh workflow disable can turn off GitHub Actions workflows remotely. In shared AI-native markdown guidance that is broader than most teams want to advertise as default agent authority.
Trigger Shape
- the file is an AI-native markdown surface
- the path is not fixture-like
- frontmatter
allowed-toolsorallowed_toolscontains the exact tokenBash(gh workflow disable:*)
Clean Cases
- narrower inspection grants such as
Bash(gh workflow view:*) - markdown surfaces without blanket workflow disabling grants
- fixture-like examples under test or fixture paths
Example Trigger
yaml
---
allowed-tools:
- Bash(gh workflow disable:*)
---Safer Example
yaml
---
allowed-tools:
- Bash(gh workflow view:*)
---How To Fix
Remove shared gh workflow disable tool grants or replace them with narrower reviewed commands that keep workflow disabling under explicit user control.