Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.273 ·

Shell-safety analyzer: new subshell and array-literal detectors

Shell-safety checker gains new detectors for hidden subshells and array-literal syntax

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaBash Safetywhat it touches
KindBug Fixesin v2.1.273,
You'll notice

Shell-safety checker gains new detectors for hidden subshells and array-literal syntax

What

Claude Code's bash safety checker gained two new internal helpers:

  • One recursively checks whether a command or variable assignment contains a nested subshell (a command run in its own sub-process, e.g. via parentheses).
  • Another walks a parsed command looking for =( array-literal syntax hidden inside words, regular expressions, or expansions, falling back to treating the command as unsafe by default if parsing fails or the input is too long.
Why

These detectors help the safety checker catch commands that use subshells or array-literal syntax to do something other than what they appear to on the surface, before deciding whether a command is safe to auto-run.

See this entry in the whole of v2.1.273 →