Follow Discord
Sweep 12 Nov 2026 · 23:00Z Build v2.1.323 540 read Stable v2.1.311 Latest v2.1.323 Next v2.1.323 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.323 ·

Stricter checks for shell commands that set language variables

Shell commands that set LANG, LANGUAGE or LC_* to unusual values are now treated as not clearly safe, behind a remote switch

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

Unclear The default of the switch that controls this check is not known.

What

Before running a shell command, Claude Code decides whether it is safe or whether it should ask you. Commands that set the language variables LANG, LANGUAGE or LC_* are now marked as not clearly safe when the value:

  • contains an expansion, meaning text the shell fills in when the command runs
  • does not look like an ordinary UTF-8 setting

This check sits behind a remote switch. Claude Code's handling of commands wrapped in env, sudo, command or doas has also been reworked.

Why

Permission checks for shell commands are stricter, so some commands like these may now ask for your approval.

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 default of the switch that controls this check is not known.

See this entry in the whole of v2.1.323 →

Feedback