Appearance
SEC532 / MD-GH-API-PATCH-ALLOWED-TOOLS
SEC532 flags AI-native markdown frontmatter when allowed-tools or allowed_tools grants the exact token Bash(gh api --method PATCH:*).
Why It Matters
gh api --method PATCH is a broad GitHub mutation path. Shared frontmatter should not quietly make remote PATCH mutations a default capability for every agent that loads the file.
Trigger Shape
- AI-native markdown surface with parsed frontmatter
- path is not fixture-like
allowed-toolsorallowed_toolscontains the exact tokenBash(gh api --method PATCH:*)
Safer Example
md
---
allowed-tools:
- Bash(gh api --method GET:*)
---