Skip to content

Rule Reference

SEC469lintai-ai-securitygovernancehardeningstablemarkdownwarn

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

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

Public lane
governance
Category
hardening
Provider
lintai-ai-security
Scope
per-file
Surface
markdown
Tier
stable
Severity
warn
Confidence
high
Detection
structural
Remediation
message only
How to read this lane

Shared authority and workflow policy review.

How to read this category

Least-privilege, provenance, or operational hygiene signal.

Activation Model

Preset Activation

These presets explain where this rule appears in the product experience.

Lifecycle

Stable Lifecycle Contract

State

stable

Graduation rationale

Checks AI-native frontmatter for explicit wildcard chgrp grants in shared allowed-tools policy.

Deterministic signal basis

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

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

SEC469 / MD-CHGRP-ALLOWED-TOOLS flags AI-native markdown frontmatter that grants blanket chgrp authority through allowed-tools.

Why this matters:

  • Bash(chgrp:*) gives broad group-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 group changes

Triggers:

yaml
allowed-tools: Bash(chgrp:*)

Does not trigger:

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

Remediation:

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