Appearance
SEC523 / MD-GLOB-WILDCARD
SEC523 flags AI-native markdown frontmatter when allowed-tools or allowed_tools contains the exact wildcard token Glob(*).
Why It Matters
Glob(*) grants broad file-discovery authority. In shared AI-native frontmatter, reviewed repo-local discovery patterns are a much safer default than global wildcard discovery.
Trigger Shape
- AI-native markdown surface with parsed frontmatter
- path is not fixture-like
allowed-toolsorallowed_toolscontains the exact tokenGlob(*)
Safer Example
md
---
allowed-tools:
- Glob(./docs/**)
---