Claude Code v2.1.235 · 18 Aug 2026
Policy-helper subprocess environment scrubbing moved and hardened
Policy-helper environment scrubbing moved into its own module and now strips more variables
Under the hood Tier: how much it should matter to you
1 Useful: my rating, 1 to 5
1 Signal: worth watching, 1 to 5
Policy Helpers Area: what it touches
Internal Changes Kind: in v2.1.235, 18 Aug 26
Internal Changes Section of the release
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 →
18 Aug 2026 · 135 entries, this one is #104.
Use it now6 You'll notice58 Nothing to try yet12 Under the hood59
Open the release →
Names in this entry
env ANTHROPIC_API_KEY API key sent as X-Api-Key header. When set, this key is used instead of your Claude Pro, Max, Team, or Enterprise subscription even if you are logged in. In non-interactive mode (-p), the key is always used when present. In interactive mode, you are prompted to approve the key once before it overrides your subscription. To use your subscription instead, run unset ANTHROPIC_API_KEY
env AWS_SECRET_ACCESS_KEY Policy-helper environment scrubbing moved into its own module and now strips more variables
env GOOGLE_APPLICATION_CREDENTIALS Policy-helper environment scrubbing moved into its own module and now strips more variables
env NODE_OPTIONS Remotely managed settings can no longer redirect your bridge connection by setting that URL variable.
env BASH_ENV Inline admin policy scripts run with a stripped environment and a PowerShell resolved from fixed paths only.
env PATH Inline admin policy scripts run with a stripped environment and a PowerShell resolved from fixed paths only.
env COMSPEC Inline admin policy scripts run with a stripped environment and a PowerShell resolved from fixed paths only.
env ZDOTDIR Policy-helper environment scrubbing moved into its own module and now strips more variables
env XDG_CONFIG_HOME Remote settings can now supply many more environment variables, including auth tokens and home directory paths.
Is this right?
0
0
Feedback
What's wrong with this entry?
Hard to understand Too vague Looks wrong Not relevant to me Too long Missing the detail I wanted Duplicate of another card
Clear Learned something new I can act on this Good catch
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
← Previous · 103 of 135
Remote settings can now be primed from the storage backend instead of a disk probe
Under the hood Elsewhere
In v2.1.235 Internal Changes release-page order
Next → · 105 of 135
Plugin install cache moves get a strict-cache mode with re-checks
Under the hood Plugins