Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.273 ·

Bash subshell/cd checks: new content scan for unparsed command substitutions

Bash cd checks now scan command substitutions inside unparsed subshells for risky commands like rm

You'll notice Improvements
JSON All of v2.1.273
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Bash SafetyArea: what it touches
ImprovementsKind: in v2.1.273,
ImprovementsSection of the release
What

When Claude Code can't fully analyze a bash subshell (an 'unparsed command substitution') that also contains a cd, it now separately scans the command and process substitutions inside it, looking for risky commands such as rm or rmdir hidden within them. If there are more than 64 such substitutions to check, Claude Code now denies the command outright with the message 'too many command substitutions to analyze', rather than trying to analyze all of them.

Why

This closes a gap where a destructive command like rm could be tucked inside a subshell that changes directory, and it makes Claude Code refuse rather than guess when there's too much nested substitution to safely check.

See this entry in the whole of v2.1.273 →

Feedback