Appearance
SEC468 / MD-CHOWN-ALLOWED-TOOLS flags AI-native markdown frontmatter that grants blanket chown authority through allowed-tools.
Why this matters:
Bash(chown:*)gives broad ownership-changing authority as a default shared capability- the grant is wider than a reviewed ownership-update workflow
- shared instructions should prefer a narrow scoped command instead of open-ended ownership changes
Triggers:
yaml
allowed-tools: Bash(chown:*)Does not trigger:
yaml
allowed-tools: Bash(chown root:staff ./bin/tool)Remediation:
- replace
Bash(chown:*)with a narrower reviewed ownership-change command or remove the grant entirely