Follow Discord
Sweep 30 Oct 2026 · 01:02Z Build v2.1.314 532 read Stable v2.1.308 Latest v2.1.314 Next v2.1.314 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.314 ·

Stricter safety checks for find, rg, sort, read, xargs and awk commands

Claude Code checks more shell commands more strictly before running them without asking, so some will now ask for permission

You'll notice Improvements
JSON All of v2.1.314
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Bash ToolArea: what it touches
ImprovementsKind: in v2.1.314,
ImprovementsSection of the release
What

Before Claude Code runs a shell command without asking you, it checks that the command only reads and cannot do harm. Those checks are now stricter for several common commands:

  • find: refuses option values worked out at run time, and ; or + clause endings stuck onto other text.
  • read and getopts: refuse unquoted wildcard characters such as *, ?, [ or {, which could expand into no word or several words, and values that are risky under the zsh shell.
  • rg, sort and xargs: their option values are now checked too.
  • awk: is also covered by the tightened checks.

New messages explain when a refusal is because an option's value is worked out at run time.

Why

Some commands that used to run straight away will now stop and ask for your permission. That is expected, and it closes ways a command could look harmless but behave differently once the shell expanded it.

See this entry in the whole of v2.1.314 →

Feedback