Appearance
SEC524 / MD-GREP-WILDCARD
SEC524 flags AI-native markdown frontmatter when allowed-tools or allowed_tools contains the exact wildcard token Grep(*).
Why It Matters
Grep(*) grants blanket content search. Shared frontmatter should prefer a reviewed search scope rather than unconstrained grep authority.
Trigger Shape
- AI-native markdown surface with parsed frontmatter
- path is not fixture-like
allowed-toolsorallowed_toolscontains the exact tokenGrep(*)
Safer Example
md
---
allowed-tools:
- Grep(todo:)
---