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

Env-var sanitization for spawned processes reworked

Environment variables passed to spawned processes are filtered more thoroughly

Under the hood Internal Changes
JSON All of v2.1.271
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.271,
Internal ChangesSection of the release

Unclear The finding does not say which variables or sources are newly excluded, so the practical effect on any specific variable is unclear.

What

When Claude Code builds the environment variables for a process it spawns, it now runs an extra filtering pass over variable names that contain a dash, checking them against a lookup that ignores hyphen differences. It also pulls in additional sources of variables to exclude, beyond the fixed list it used before.

Why

This broadens and tightens which environment variables get passed through to spawned processes, reducing the chance that an unwanted or sensitive variable leaks into a child process.

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 which variables or sources are newly excluded, so the practical effect on any specific variable is unclear.

See this entry in the whole of v2.1.271 →

Feedback