Appearance
SEC467 / MD-CHMOD-ALLOWED-TOOLS flags AI-native markdown frontmatter that grants blanket chmod authority through allowed-tools.
Why this matters:
Bash(chmod:*)gives broad permission-changing authority as a default shared capability- the grant is wider than a reviewed permission-update workflow
- shared instructions should prefer a narrow scoped command instead of open-ended mode changes
Triggers:
yaml
allowed-tools: Bash(chmod:*)Does not trigger:
yaml
allowed-tools: Bash(chmod 600 ~/.ssh/id_rsa)Remediation:
- replace
Bash(chmod:*)with a narrower reviewed permission-change command or remove the grant entirely