Appearance
SEC522 / MD-EDIT-WILDCARD
SEC522 flags AI-native markdown frontmatter when allowed-tools or allowed_tools contains the exact wildcard token Edit(*).
Why It Matters
Edit(*) gives unconstrained editing authority as a shared default. Narrower edit scopes are easier to review and less likely to surprise downstream users of the skill or instruction file.
Trigger Shape
- AI-native markdown surface with parsed frontmatter
- path is not fixture-like
allowed-toolsorallowed_toolscontains the exact tokenEdit(*)
Safer Example
md
---
allowed-tools:
- Edit(./docs/**)
---