Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.235 Home All releases olderv2.1.234 v2.1.236newer
Claude Code v2.1.235

Wider environment scrubbing before a policy helper is spawned

Under the hood
Useful2 Signal2
Policy Helpers

Policy helper processes now start from a scrubbed environment, so loader and interpreter tricks can't hijack them.

What

Helpers now start from a locked-down environment: credential variables are stripped as before, and loader and interpreter hijack variables (LD_, DYLD_, NODE_OPTIONS, BASH_ENV, CLASSPATH, OPENSSL_CONF) are dropped too, with PATH, COMSPEC, ZDOTDIR, XDG_CONFIG_HOME and the git config paths pinned at fixed values pointing into an empty directory.

Details
  • The credential list (ANTHROPIC_API_KEY, AWS_SECRET_ACCESS_KEY, GOOGLE_APPLICATION_CREDENTIALS and others) and the TOKEN/SECRET/PASSWORD name pattern moved into a dedicated module next to the new sanitizer.
  • No flag gates this; it applies whenever a policy helper is spawned.
Evidence

/var/empty/claude-code-policy-helper

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.235 →