Skip to content

Rule Reference

SEC631lintai-ai-securitygovernancehardeningstableclaude_settingswarn

Claude settings: bare Grep permissions

Claude settings permissions allow bare `Grep` in a shared committed config

Public lane
governance
Category
hardening
Provider
lintai-ai-security
Scope
per-file
Surface
claude_settings
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 shared Claude settings permissions for exact bare `Grep` grants.

Deterministic signal basis

ClaudeSettingsSignals exact string detection for bare `Grep` inside permissions.allow on parsed Claude settings JSON.

Malicious corpus
claude-settings-unscoped-tool-family
Benign corpus
claude-settings-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

SEC631 / CLAUDE-GREP

SEC631 flags shared committed Claude settings when permissions.allow contains the exact bare tool token Grep.

Why It Matters

Bare Grep grants unreviewed content-search authority without narrowing searches to reviewed patterns or repository-scoped content.

Trigger Shape

This rule matches parsed Claude settings JSON where permissions.allow contains the exact string Grep.

How To Fix

Replace bare Grep with a narrower reviewed permission pattern such as Grep(todo:), or remove broad search access from the shared Claude settings file.