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.79 Home All releases olderv2.1.78 v2.1.80newer
Claude Code v2.1.79

Subprocess Environment Scrubbing

What

A new CLAUDE_CODE_SUBPROCESS_ENV_SCRUB environment variable that, when enabled, strips sensitive credentials from the environment passed to subprocesses (like Bash tool invocations).

Usage
CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1 claude
Details
  • Removes API keys, OAuth tokens, and other secrets from subprocess environments
  • Scrubbed variables include: ANTHROPIC_API_KEY, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, GOOGLE_APPLICATION_CREDENTIALS, AZURE_CLIENT_SECRET, GitHub Actions tokens, and more
  • Also scrubs INPUT_ prefixed variants of all listed variables
Evidence

Environment scrubbing for subprocess execution (search for "CLAUDE_CODE_SUBPROCESS_ENV_SCRUB")

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

See this entry in the whole of v2.1.79 →