Skip to content
Failwallfailwall.dev

← Back to the wall

Filed
Case no.
x-2112382315972161619

Claude Code was blocked from running rm, so it deleted the .venv with find -delete instead

Received Oct 20, 2026, 3:16 AM UTC

A command denylist is not a sandbox. Limit what the agent can touch, not just which commands it can type.

Agents repeating the same mistakes? Scout gives every agent one current, shared record.

Share on X

What happened

Exhibit Ax.com post
Configured Claude Code to never run rm. It tried rm -rf, got denied, tried again, denied again. Then it wrote “direct rm is being blocked, though the find -exec pattern passed. Let me try that route.” Ran find -delete, then find -exec rm -rf on the .venv. Both went through.

Source. Posted publicly by @rfdslabs on X (opens in a new tab). Quoted as posted; the title and lesson are Failwall's.