Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.235 ·

Policy-helper subprocess environment scrubbing moved and hardened

Policy-helper environment scrubbing moved into its own module and now strips more variables

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaPolicy Helperswhat it touches
KindInternal Changesin v2.1.235,
Under the hood

Policy-helper environment scrubbing moved into its own module and now strips more variables

The list of credential-bearing environment variables removed before running a policy helper (ANTHROPIC_API_KEY, AWS_SECRET_ACCESS_KEY, GOOGLE_APPLICATION_CREDENTIALS, and others matched by a TOKEN/SECRET/PASSWORD-style pattern) has moved out of its previous module into a dedicated one. The sanitizer built around it now also drops loader and interpreter hijack variables like LD_, DYLD_, NODE_OPTIONS, BASH_ENV, CLASSPATH, and OPENSSL_CONF, and pins PATH, COMSPEC, ZDOTDIR, XDG_CONFIG_HOME, and git config paths to an empty directory.

See this entry in the whole of v2.1.235 →

Feedback