{"version":"2.1.337","anchor":"rm-safety-check-skipped-when-d4-is-true","canonical_anchor":"rm-safety-check-skipped-when-d4-is-true","heading":"Dangerous-removal check for rm commands can now be skipped","tier":"notice","area":"Bash Safety","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/rm-safety-check-skipped-when-d4-is-true","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Dangerous-removal check for rm commands can now be skipped\n\nUnder one internal condition, Claude Code's dangerous-removal check no longer looks at what an rm command would delete\n\n**Unclear.** It is not clear what condition causes the check to be skipped.\n\n**What**\n\nBefore running an `rm` command, which deletes files, Claude Code checks what the command would remove so it can warn about dangerous deletions. Before, it always looked at every file and folder the command named.\n\nWhen a certain internal condition holds, Claude Code now looks at none of them. In that case the check finds nothing to warn about and reports that no dangerous removals were detected.\n\n**Why**\n\nWhen this condition holds, Claude Code may not show a safety prompt it would otherwise have shown for a risky `rm` command.\n\n- Area: Bash Safety\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}