Skip to content

Rule Reference

SEC626lintai-ai-securitystableclaude_settingswarn

Claude settings: bare Bash permissions

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

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

Checks shared Claude settings permissions for exact bare `Bash` grants.

Deterministic signal basis

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

Malicious corpus
claude-settings-bash-wildcard
Benign corpus
claude-settings-bash-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

SEC626 / CLAUDE-BASH

SEC626 flags shared committed Claude settings when permissions.allow contains the exact bare tool token Bash.

Why It Matters

Bare Bash grants unconstrained shell execution authority without narrowing execution to reviewed commands.

Trigger Shape

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

How To Fix

Replace bare Bash with narrower reviewed command patterns such as Bash(git status) or remove shared shell authority from the committed team settings file.