Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.234 ·

Policy-helper subprocesses run in a scrubbed, pinned environment

Policy helper subprocesses now run with a scrubbed, fixed environment rather than inheriting yours.

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

The helper that evaluates policy no longer inherits the parent process environment shape, and inline interpreters get a fixed environment: for sh, a deny-list of variables and prefixes is deleted, PATH is replaced with a fixed value and LC_ALL is set to C; for pwsh, PSModulePath, PATH, PATHEXT and COMSPEC are pinned and TERM is set to dumb. CLAUDE_CODE_VERSION is injected explicitly.

Details
  • The no-inherit behaviour comes from a new option threaded through the internal exec wrapper.
  • Failures now report structured codes such as bad_path, exit_nonzero and "no path or script configured".
Evidence

extendEnv

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.234 →

Feedback