Skip to content

Rule Reference

SEC617lintai-ai-securitygovernancehardeningstablejsonwarn

MCP config: raw.githubusercontent.com WebFetch auto-approve

MCP configuration auto-approves `WebFetch(domain:raw.githubusercontent.com)` 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 raw GitHub WebFetch auto-approval in MCP client config.

Deterministic signal basis

JsonSignals exact array-item detection for `autoApprove: ["WebFetch(domain:raw.githubusercontent.com)"]` on parsed MCP configuration.

Malicious corpus
mcp-autoapprove-webfetch-raw-github
Benign corpus
mcp-autoapprove-webfetch-raw-github-safe
structured evidence required remediation reviewed
Canonical note

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

Nearby Signals

Related Rules

SEC617 / MCP-AUTOAPPROVE-WEBFETCH-RAW-GITHUB

SEC617 flags MCP configuration when autoApprove includes the exact tool token WebFetch(domain:raw.githubusercontent.com).

Why It Matters

raw.githubusercontent.com serves direct repository file contents. Auto-approving fetch access to that domain removes review from mutable remote raw-content retrieval in shared MCP config.

Trigger Shape

  • the file is a detected MCP configuration surface
  • autoApprove is a string array
  • the array contains the exact item WebFetch(domain:raw.githubusercontent.com)

How To Fix

Remove shared raw GitHub WebFetch auto-approval and keep mutable remote raw-content fetch under explicit user review.