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.51 ·

Brace Expansion Security Check

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

Commands containing shell brace expansion patterns (e.g., {a,b} or {1..5}) are now detected and flagged, preventing potential command injection through expansion tricks.

Details
  • Detects balanced brace pairs containing commas or range operators (..)
  • Properly handles nested braces and escaped characters
  • Blocks commands where brace expansion could alter command parsing
Evidence

New function ve9() performs brace detection; error message "Command contains brace expansion that could alter command parsing" (search for "brace expansion")

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

Feedback