Unclear Whether sandboxed commands are actually blocked from reading terminal devices, and what turns that on, is not shown.
What
The sandbox is a fenced-off space Claude Code uses to run commands. It can mask credentials, giving commands a placeholder while its proxy (a go-between for network traffic) signs requests with the real key. injectHosts on a credential entry lists the hosts that may receive it.
- AWS STS and IAM: the proxy now re-signs requests using a masked credential only for
GetCallerIdentity. Other STS or IAM calls are denied unless you add that host toinjectHostsfor the key's entry, and the deny message namesinjectHosts. Before, all such signed requests were re-signed. - Settings display: a new "AWS secret key" row appears when sandboxing is on and the config has matching entries. It reads "Signs requests in the sandbox and is never sent. Set injectHosts on its entry to send it to a host".
- Claude's instructions: depending on the sandbox config, the sandbox prompt now says the AWS secret key in the environment is a placeholder, with guidance on STS or IAM 403 errors and
injectHosts. - Worktrees: the prompt now also bans
git worktree move, as well asgit worktree add: "Never rungit worktree movethere either: it can fail after it has moved the folder." - Terminal devices: new state values suggest reading terminal devices is now denied inside the sandbox.
Why
Existing STS or IAM workflows in the sandbox may start failing with 403 errors. Add the STS or IAM host to injectHosts on that key's entry if those calls should keep working.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
Whether sandboxed commands are actually blocked from reading terminal devices, and what turns that on, is not shown.