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

Claude Code v2.1.213 ·

Shell Safety: Improved Redirect Analysis

Entry
JSON All of v2.1.213
EntryKind: in v2.1.213,
ImprovementsSection of the release
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 →

Feedback