Skip to content

Rule Reference

SEC468lintai-ai-securitystablemarkdownwarn

AI markdown: `Bash(chown:*)` tool grant

AI-native markdown frontmatter grants `Bash(chown:*)` authority

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 explicit wildcard chown grants in shared allowed-tools policy.

Deterministic signal basis

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

Malicious corpus
skill-chown-allowed-tools
Benign corpus
skill-chown-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

SEC468 / MD-CHOWN-ALLOWED-TOOLS flags AI-native markdown frontmatter that grants blanket chown authority through allowed-tools.

Why this matters:

  • Bash(chown:*) gives broad ownership-changing authority as a default shared capability
  • the grant is wider than a reviewed ownership-update workflow
  • shared instructions should prefer a narrow scoped command instead of open-ended ownership changes

Triggers:

yaml
allowed-tools: Bash(chown:*)

Does not trigger:

yaml
allowed-tools: Bash(chown root:staff ./bin/tool)

Remediation:

  • replace Bash(chown:*) with a narrower reviewed ownership-change command or remove the grant entirely