Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Sandbox credentials: masks from an eval-confined foreign settings tier are downgraded

Credential masks from an eval-confined foreign settings tier are now treated as untrusted and can never grant proxy injection

You'll notice Improvements
JSON All of v2.1.281
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SandboxArea: what it touches
ImprovementsKind: in v2.1.281,
ImprovementsSection of the release

Unclear The finding does not say what an "eval-confined foreign tier" is or which settings files carry that label.

What

sandbox.credentials now treats a second kind of source as untrusted. The sandbox is the restricted environment Claude Code can run commands in, and this setting hides or masks credential files inside it. Before, only a disabled userSettings counted as untrusted. Now a source labelled eval-confined foreign tier ${X} counts too.

A file mask from either untrusted source is handled in one of two ways, and neither can grant proxy injection:

  • It is downgraded to a plain deny.
  • It is passed on as a sentinel only, a bare { path, mode: "mask", injectHosts: [] } that drops any extract options. The log says "extract options dropped" and "the source's fail-open extract semantics do not apply".

Path entries are also resolved differently:

  • An entry that cannot be resolved is skipped with an "Ignoring unresolvable sandbox path entry from" message instead of stopping the whole setup.
  • A deny entry from a non-trusted source that cannot be resolved raises an error instead of being skipped.
Why

A settings file from a less trusted place cannot use a credential mask to switch on proxy credential injection or extraction. A single bad path entry no longer breaks the sandbox setup. A deny rule from an untrusted source that cannot be resolved is not silently ignored.

Read from
Names in the bundlesandbox.credentials
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up sandbox.credentials, on Configure the sandboxed Bash tool. * Add [`sandbox.credentials`](#protect-credentials) entries for credential directories such as `~/.aws` and `~/.ssh` and for secret environment variables, since the default read policy still allows them sandboxing see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding does not say what an "eval-confined foreign tier" is or which settings files carry that label.
Anthropic's documentation agreesAnthropic's documentation has since written up sandbox.credentials, on Configure the sandboxed Bash tool.

See this entry in the whole of v2.1.281 →

Feedback