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.216 ·

JWT Credential Masking for Sandbox Environments

Entry
JSON All of v2.1.216
EntryKind: in v2.1.216,
New FeaturesSection of the release
What

The sandbox.credentials.envVars config now supports decode: "jwt" to handle JWT tokens: the token is replaced with a structurally valid but fake JWT inside the sandbox, with real claim values masked as sentinels injected into requests.

Details
  • Add decode: "jwt" to a credentials.envVars entry to activate JWT handling
  • Optional maskClaims: ["sub", "email"] masks specific string claims within the JWT, replacing each with a per-claim sentinel injected at the network layer
  • If the environment variable is not a valid JWT, the variable is left unprotected and a warning is logged
  • If maskClaims names a claim that is absent or not a string, that claim is skipped and logged
  • Replaces the previous extract-regex-only approach, which remains available for non-JWT values
Evidence

JWT masking handler (search for "decode \"jwt\"" or "maskClaims"). Fake token generator (search for "pnu = \"c3J0LWZha2U\"" which is the fake signature base64).

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

Feedback