Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.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

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaBash Safetywhat it touches
KindImprovementsin v2.1.273,
You'll notice

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

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 →