Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.330 ·

Safety check for rm commands looks at more parts of a command line

The rm and rmdir safety check now also scans parts of a command line it has not fully worked out, and asks you when input is too long to check

You'll notice Improvements
JSON All of v2.1.330
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.330,
ImprovementsSection of the release

Unclear It is not clear whether this check is behind a switch, or exactly which commands now prompt.

What

Before Claude Code runs a command that deletes files with rm or rmdir, it checks whether it should ask your permission first. That check now also looks at parts of a command line it has not yet fully worked out. It also looks at parts that sit next to eval or source, which are shell commands that run other text as code. It scans these parts for files that rm would delete.

If the input is too long to check, Claude Code asks you instead of deciding on its own.

Why

You may see permission prompts for deleting files more often in long or compound shell lines.

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 this check is behind a switch, or exactly which commands now prompt.

See this entry in the whole of v2.1.330 →

Feedback