Skip to content

Rule Reference

SEC618lintai-ai-securitygovernancehardeningstablejsonwarn

MCP config: bare Read auto-approve

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

Public lane
governance
Category
hardening
Provider
lintai-ai-security
Scope
per-file
Surface
json
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

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

Deterministic signal basis

JsonSignals exact array-item detection for bare `Read` 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

SEC618 / MCP-AUTOAPPROVE-READ

SEC618 flags MCP configuration when autoApprove includes the exact bare tool token Read.

Why It Matters

Bare Read auto-approval grants unreviewed filesystem read authority without narrowing access to specific repository paths.

Trigger Shape

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

How To Fix

Replace bare Read auto-approval with narrower reviewed scopes such as Read(./docs/**) or remove shared auto-approval for filesystem reads.