Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.273 ·

Dangerous-rm check gains a pluggable extra-deny hook

The dangerous-rm safety check for bash commands can now be extended with an extra custom check

Under the hood Internal Changes
JSON All of v2.1.273
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Bash SafetyArea: what it touches
Internal ChangesKind: in v2.1.273,
Internal ChangesSection of the release
What

The function that screens bash commands for dangerous rm/rmdir patterns (like recursive deletes) now accepts an extra callback function as a parameter. This callback runs early, and if it returns a denial, that denial is used immediately.

Why

This makes the dangerous-rm check pluggable, allowing additional deny rules to be layered in without changing the core check itself.

See this entry in the whole of v2.1.273 →

Feedback