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

sandbox.credentials.files gains a mask mode with regex extraction

You can mask secrets in credential files so sandboxed commands see placeholders while real values are swapped in on egress.

Use it now Notable New Features
JSON All of v2.1.221
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
SandboxArea: what it touches
New FeaturesKind: in v2.1.221,
What probably matters to youSection of the release
What

Credential file entries used to accept only deny; the settings schema now takes an enum of deny and mask, where masked files are shown to sandboxed commands as a sentinel-substituted copy and the host proxy swaps sentinel for the real secret on egress.

Details
  • new sibling keys: extract (a regex whose capture group 1 is the secret, so .netrc, JSON and YAML files still parse), onExtractNoMatch (warn is the default and fails open, deny fails closed, error aborts sandbox setup), maskDuplicates, and injectHosts (defaults to network.allowedDomains)
  • config validation rejects mask on a directory path and rejects an extract regex with no capturing group
  • the sandbox config builder was rewritten for this and now warns on empty injectHosts and on mask entries that degrade to deny
  • the schema states mask currently degrades to deny on macOS and Windows
Evidence

extract must contain at least one capturing group —

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

Read from

See this entry in the whole of v2.1.221 →

Feedback