You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SandboxArea: what it touches
New FeaturesKind: in v2.1.333,
New FeaturesSection of the release
What
The sandbox is the protection that limits what shell commands can reach on the network and on disk. In the stream-json output format, where Claude Code writes each event as a line of JSON for another program to read, Claude Code now sends an informational sandbox_off message when the sandbox is not available. This applies on Linux and macOS only.
The message says "Claude Code started without the sandbox, so shell commands run outside it", that its network and file restrictions don't apply, and the cause when one is known.
Why
Programs and SDK integrations running Claude Code without a screen can now tell when sandboxing failed instead of assuming it is on.
Read from
Names in the bundlesandbox_offstream-json
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 sinceAnthropic's documentation has since written up stream-json, on Claude Code changelog.* Fixed stream-json input: a user message whose `uuid` is null is handled as one without a uuidchangelogsee the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up stream-json, on Claude Code changelog.