Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.336 ·

Sandbox drops environment variables whose names fail a validity check

When the sandbox builds its list of blocked environment variables, names that fail a check are now removed from the environment

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

Unclear Which environment variable names count as failing the check is not stated.

What

The sandbox is a restricted space in which Claude Code runs commands, limiting what they can reach. Environment variables are named settings that programs read when they start. Claude Code builds a list of environment variables to keep away from sandboxed commands.

Each name on that list is now checked first. A name that fails the check is removed from the environment entirely and is left off the list.

Why

Because those variables are removed from the environment, commands in the sandbox may see a slightly different set of variables than before.

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 doubtWhich environment variable names count as failing the check is not stated.

See this entry in the whole of v2.1.336 →

Feedback