Appearance
SEC436 / MD-GIT-TAG-ALLOWED-TOOLS
SEC436 flags AI-native markdown frontmatter when allowed-tools grants the exact token Bash(git tag:*).
Why It Matters
Blanket git tag authority lets an agent create or rewrite repository tags by default. In shared AI instruction frontmatter, that turns release-signaling actions into broad team policy rather than a narrow reviewed workflow.
Trigger Shape
The rule triggers only when all of these are true:
- the file is an AI-native markdown instruction surface with parsed frontmatter
- the path is not fixture-like
allowed-toolsorallowed_toolscontains the exact tokenBash(git tag:*)
Clean Cases
These stay clean:
- more specific reviewed commands such as
Bash(git tag v1.2.3) - frontmatter that does not grant
git tag - fixture-like examples under test or fixture paths
Example Trigger
md
---
allowed-tools:
- Bash(git tag:*)
- Read
---Safer Example
md
---
allowed-tools:
- Bash(git tag v1.2.3)
- Read
---How To Fix
Replace Bash(git tag:*) with a narrower reviewed command pattern, or remove broad tag mutation authority from shared frontmatter entirely.