Source Intelligence
Reading a new release v2.1.251 Analysing changes · 2/5 Sorting the findings · 1/4 steps 470 findings $18.91 so far

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.213 Home All releases olderv2.1.212 v2.1.214newer
Claude Code v2.1.213

Shell Safety: Improved Redirect Analysis

What

The Bash parser now validates redirect nodes for additional dangerous patterns that could hide behavior from the safety classifier.

New cases detected:

  • fd-variable assignment — a redirect that uses a shell variable ({var}>) as the file descriptor; this modifies the variable as a side effect
  • close-fd redirect followed by a word>&- or <&- followed by text that bash would pass as a hidden argument to the command
  • redirect target starting with - after >& or <& — bash treats the dash as a close-fd operator and passes the remainder as an argument
Evidence

Redirect analysis (search for "Redirect uses", "fd-variable assignment", "Close-fd redirect is followed by a word")

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.213 →