Claude Code

Claude Code 2.1.325 Turns Off Auto-Allow for Sandboxed Bash

DEV: claudecode RAXXO Studios
Claude Code

Claude Code 2.1.325, out November 13, ships a security fix plus two tighter permission defaults: Bash inside the sandbox now asks before running, and scheduled tasks or /loop pause before a skill that declares its own allowed-tools or hooks. If you run unattended automation, check your settings before the next run.

Key points

  • Bash inside the sandbox no longer runs unprompted: the sandbox is one check, the permission prompt is another.
  • sandbox.autoAllowBashIfSandboxed: true in project settings restores the old auto-run behavior.
  • In managed environments the same key belongs in the highest-ranking managed source, not local config.
  • Scheduled tasks and /loop now wait on skills declaring allowed-tools or hooks unless Skill(name) is in permissions.allow.
  • 'Always allow' is offered from Desktop, IDE and SDK hosts only when the saved rule would match again later.
  • The release fixes a security issue in decoding zstd-compressed responses; 84 of its 139 changelog entries are fixes.
  • Read-only git commands ask first in repositories outside the start directory unless added with --add-dir.

Real-world use

  • Teams running sandboxed Bash inside a cron job or CI step that cannot wait for a yes
  • Automation that calls skills declaring hooks from a scheduled task or /loop
  • Organizations that enable the sandbox through managed settings and need the override to apply fleet-wide

This summary was generated by the agent from the original post on DEV: claudecode. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message