Skip to content

Rule Reference

SEC621lintai-ai-securitystablejsonwarn

MCP config: bare Glob auto-approve

MCP configuration auto-approves bare `Glob` through `autoApprove`

Provider
lintai-ai-security
Surface
json
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

Matches exact bare `Glob` auto-approval in MCP client config.

Deterministic signal basis

JsonSignals exact array-item detection for bare `Glob` in parsed `autoApprove` entries.

Malicious corpus
mcp-autoapprove-unscoped-tool-family
Benign corpus
mcp-autoapprove-unscoped-tool-family-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

SEC621 / MCP-AUTOAPPROVE-GLOB

SEC621 flags MCP configuration when autoApprove includes the exact bare tool token Glob.

Why It Matters

Bare Glob auto-approval grants unreviewed repository-wide path discovery without narrowing access to reviewed scopes.

Trigger Shape

This rule matches parsed McpConfig content where autoApprove contains the exact string Glob.

How To Fix

Replace bare Glob auto-approval with narrower reviewed scopes such as Glob(./src/**) or remove shared auto-approval for broad path discovery.