Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.86 Home All releases olderv2.1.85 v2.1.87newer
Claude Code v2.1.86

Shell Safety: Zsh Equals Expansion and Bash Array Subscript Checks

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 →