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.208 Home All releases olderv2.1.207 v2.1.209newer
Claude Code v2.1.208

Credential masking: extract patterns with onExtractNoMatch control

What

The credentials.envVars credential masking feature now supports an extract regex pattern to pull a sub-token out of an environment variable's value before masking. A new onExtractNoMatch option controls what happens when the pattern doesn't match.

Details
  • extract: a regex applied to the env var value; only the first capture group is masked
  • onExtractNoMatch:
  • "warn" (default): variable is left unprotected, a console warning is emitted
  • "deny": variable is unset entirely from the sandbox environment
  • "error": an error is thrown and the sandbox refuses to start
  • A runtime warning is logged when "warn" leaves a variable unprotected, making the risk visible in the log
Evidence

Credential extract pattern (search for "credentials.envVars entry" and "onExtractNoMatch")

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.208 →