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

More shell env vars blocked from bash tool

The bash tool now also blocks SHELLOPTS, BASHOPTS, BASH_VERSINFO, and BASH_ARGV0 environment variables

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

The bash tool now also blocks SHELLOPTS, BASHOPTS, BASH_VERSINFO, and BASH_ARGV0 environment variables

What

The list of environment variables the bash tool refuses to let a command set now also includes SHELLOPTS, BASHOPTS, BASH_VERSINFO, and BASH_ARGV0, in addition to the existing blocks on variables like PS4 and IFS.

Why

These shell variables can change how bash itself parses and runs commands, for example turning on debugging or tracing options, so blocking them closes off ways a command could alter shell behavior unexpectedly.

See this entry in the whole of v2.1.274 →