Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Bash rm checker now reads through eval/trap strings

The rm safety check now looks inside quoted eval and trap strings to find removals hidden there

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

eval runs a piece of text as a command, and trap sets a command to run later when the shell receives a signal. When the rm safety check scans commands that contain $ and assign variables, it now looks inside the text given to trap as well as to eval. It also strips any opening quotes, so an rm wrapped in a quoted eval or trap string is checked too.

Why

A risky removal tucked inside a quoted eval or trap could previously pass the check unexamined. It is now caught like any other rm.

See this entry in the whole of v2.1.281 →

Feedback