Anthropic Breaking change major

Claude Code sandboxed Bash commands ask for permission by default

From Claude Code 2.1.325, Bash commands that run in the sandbox follow the normal permission flow instead of running without prompts. Set sandbox.autoAllowBashIfSandboxed: true to keep the old behaviour.

What does this mean for me?

Action needed
  • Engineering leadership

    Cost, risk, timeline, team impact Action needed

    Unattended Claude Code jobs that relied on the sandbox to skip prompts can stall or be refused after 2.1.325. If your organization turns the sandbox on in managed settings, decide now whether to set `sandbox.autoAllowBashIfSandboxed: true` there.

  • Engineer

    What to change, what breaks, what to test Action needed

    Set `sandbox.autoAllowBashIfSandboxed: true` to keep sandboxed Bash running without prompts; for managed deployments it must be in the highest-ranking managed source. Otherwise check that your allow rules cover what `claude -p` and scheduled tasks run.

  • General consumer

    Using the Claude apps, not the API No impact

    Nothing to do. This changes Claude Code's permission prompts for developers and does not affect the Claude apps.

Claude Code 2.1.325 changes sandboxed Bash commands to follow the normal permission flow by default. Before this release, a command that ran inside the Bash sandbox ran without a permission prompt; it is now checked against allow, ask and deny rules like any other command.

Workflows that relied on the sandbox to run commands unattended, such as claude -p jobs, scheduled tasks or long sessions in a sandboxed environment, can now stop and wait at a prompt, or be refused where nobody can answer. To keep the previous behaviour, set sandbox.autoAllowBashIfSandboxed: true.

Organizations that turn the sandbox on through managed settings must set sandbox.autoAllowBashIfSandboxed: true in their highest-ranking managed source to keep commands running without prompts; a value set lower down does not carry over.

The changelog carries no dates; the date is the 2.1.325 publish date.

API surface

ParameterChangeBreakingModels
sandbox.autoAllowBashIfSandboxedaddedno

Topics: Coding tools

Sources

Confidence
high
Verification
Verified: stated on the vendor's own pages
Date precision
exact
How this entry was made
Drafted by an agent, reviewed by a person