Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.325 Latest v2.1.331 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.332 ·

PowerShell commands can no longer load library files while being read

Claude Code now stops PowerShell from loading a library file named inside a command; set CLAUDE_CODE_DISABLE_POWERSHELL_LIBRARY_LOAD_GUARD to turn this off

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

Unclear It is not clear whether the remote switch the guard also depends on leaves it active for every account.

What

When Claude Code runs a PowerShell command, it now adds a short guard in front of the command. The guard stops PowerShell from loading a library file when the command contains text in the form [name, path]. PowerShell reads text like that as a type plus the library file that holds it, and loads the file while it is still reading the command.

If the guard stops a command, Claude Code shows a message saying it stopped before that point, so it could not fully check the command against your permission rules. Permission rules are the settings that decide which commands Claude may run without asking you.

The guard is on unless you set the environment variable CLAUDE_CODE_DISABLE_POWERSHELL_LIBRARY_LOAD_GUARD. It is also tied to a remote switch.

Why

Loading a file during reading could let a command do something before Claude Code had a chance to check it against your permission rules. The guard closes that gap.

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 doubtIt is not clear whether the remote switch the guard also depends on leaves it active for every account.

See this entry in the whole of v2.1.332 →

Feedback