Skip to content

Rule Reference

SEC522lintai-ai-securitystablemarkdownwarn

AI markdown: `Edit(*)` wildcard tool grant

AI-native markdown frontmatter grants `Edit(*)` wildcard access

Provider
lintai-ai-security
Surface
markdown
Scope
per_file
Tier
stable
Severity
warn
Confidence
high
Detection
structural
Remediation
message_only

Activation Model

Preset Membership

This rule is part of the builtin activation graph through these preset memberships.

Lifecycle

Stable Lifecycle Contract

State

stable_gated

Graduation rationale

Checks AI-native frontmatter for exact `Edit(*)` grants that expose unconstrained editing as shared default policy.

Deterministic signal basis

MarkdownSignals exact frontmatter token detection for `Edit(*)` inside allowed-tools or allowed_tools.

Malicious corpus
skill-core-wildcard-allowed-tools
Benign corpus
skill-core-wildcard-allowed-tools-specific-safe
structured evidence required remediation reviewed
Canonical note

Structural stable rule intended as a high-precision check with deterministic evidence.

Nearby Signals

Related Rules

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-tools or allowed_tools contains the exact token Edit(*)

Safer Example

md
---
allowed-tools:
  - Edit(./docs/**)
---