Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.208 ·

Credential masking: extract patterns with onExtractNoMatch control

Entry
JSON All of v2.1.208
EntryKind: in v2.1.208,
ImprovementsSection of the release
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.

See this entry in the whole of v2.1.208 →

Feedback