Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.86 ·

Shell Safety: Zsh Equals Expansion and Bash Array Subscript Checks

Entry
JSON All of v2.1.86
EntryKind: in v2.1.86,
ChangesSection of the release
What

New command safety checks that detect and flag potentially dangerous shell expansion patterns before execution.

Details
  • Zsh equals expansion (=cmd): Detects commands containing zsh =cmd syntax, which could unexpectedly expand to command paths
  • Bash array subscript injection: Flags commands where $(cmd) appears inside [[ ... ]] array subscripts, which bash arithmetically evaluates — a known injection vector
Evidence

Shell safety checks (search for "Zsh equals expansion (=cmd)" and "bash arithmetically evaluates")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.86 →

Feedback