Advertise hereReach developers building with AI coding agents. →
Claude claude By James Whitfield

Claude Code 2.1.325 makes sandboxed Bash ask first: flip one setting to get silence back

Claude Code 2.1.325, released 13 November, changed a default that long-time sandbox users will feel at once: sandboxed Bash commands now follow the normal permission flow, so commands that used to run in silence now stop for a prompt. Set sandbox.autoAllowBashIfSandboxed to true to get the old behavior back. Source: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md

Why it matters

The sandbox used to mean run it, I trust the sandbox. Now it means ask me first, even inside the sandbox. That is safer, and it is also slower on the jobs where you run the same safe commands a hundred times a day. The fix is one setting, but you have to know it exists, and the update does not tell you. See [Claude Code](https://agentstacklist.com/agents/claude-code/) for the reference for the tool. The [safe permission rules guide](https://agentstacklist.com/guides/safe-permission-rules-claude-code-codex/) covers permission rules for Claude Code.

Who it's for

Anyone running Claude Code with the sandbox on, especially on long agentic jobs where Bash runs dozens of commands per turn.

How to try it

  1. Update Claude Code to 2.1.325 or later with claude update, then run a session with the sandbox on.
  2. Run a sandboxed Bash command and confirm it now stops for a permission prompt.
  3. To restore silent runs, set sandbox.autoAllowBashIfSandboxed to true in your Claude Code settings.
  4. If your organization manages your settings, ask your admin to set sandbox.autoAllowBashIfSandboxed to true in the highest-ranking managed source instead.
  5. Keep the prompts on for unfamiliar repos: the sandbox still protects you, but the prompt is now the last check before a command runs.
  6. Plan and availability: Claude Code 2.1.325, released 13 November 2026. The same release fixes a security issue in zstd response decoding.

Source: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md

Written by James Whitfield from the original post. Checked Checked 16 Nov 2026. Features, plans and availability can change, so confirm on the source before you rely on it.

claude-codesandboxpermissions

More Claude tricks

All Claude tricks →