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

Stricter check on PowerShell delete commands, behind a remote switch

Claude Code can now require a PowerShell delete to be one simple command with literal paths and no .. before treating it as safe

Nothing to try yet In Development
JSON All of v2.1.333
Nothing to try yetTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
PowerShellArea: what it touches
In DevelopmentKind: in v2.1.333,
In DevelopmentSection of the release

Unclear Whether the remote switch is on by default, and so whether the stricter check applies to anyone, is not known.

What

Claude Code has a new check for PowerShell delete commands. It passes only when the command is a single simple command, every path in it is written out literally (not built from variables or expressions), and no path uses .. to step up into a parent folder.

The check sits behind a switch that Anthropic controls remotely. When that switch is off, the check always passes and deletes are handled as before.

Why

When the switch is on, PowerShell deletes are validated more tightly, which makes it harder for a delete to reach files outside the paths it appears to name.

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 doubtWhether the remote switch is on by default, and so whether the stricter check applies to anyone, is not known.

See this entry in the whole of v2.1.333 →

Feedback