AI agent fails: Machine or system damage (18 cases)
Failwall has filed 18 AI coding agent fails typed “Machine or system damage”, added between 2026-09-14 and 2026-11-17 (UTC). Types are assigned by hand, one per fail. Tools involved most: Claude Code (10), Codex (4), Cursor (2).
Claude wiped 2 TB of WSL root
Guard rm -rf targets with a literal path or "${DIR:?}", especially as root in WSL. An empty variable turns a folder delete into rm -rf /*, which also erases mounted Windows drives.
0 upvotes
Claude Code subagent ran rsync --delete with an empty destination and wiped a WSL drive
Guard rsync --delete destinations with a literal path or "${R:?}", even inside wsl.exe. A TaskStop that only kills wsl.exe leaves rsync running. Don't treat a quiet log as proof nothing was deleted.
0 upvotes
Grok Bot wiped a Mac Applications folder
Make an agent check that a download actually arrived before any install step that deletes or replaces files, and keep a working backup before it touches system folders.
0 upvotes
Codex deleted Docker's parent disk and took down CI
Before deleting any disk image, backup, or old-looking folder, check what still depends on it: parent disks, links, and mounts. Names and dates lie.
0 upvotes
Codex froze Hypha, an Opus agent, with SIGSTOP
Isolate each agent's shell so one session can't SIGSTOP another, even in a multi-agent experiment.
0 upvotes
Codex was told to reboot a server and instead destroyed systemd, destroyed containers and ran random scripts, costing $10,000+
Never hand an agent root on a production server; scope it to the exact command and require approval for anything destructive.
1 upvote
Opus 5.5 subagent deleted a chunk of the Windows C: drive while cleaning up inside WSL
WSL mounts the Windows drive under /mnt/c, so a cleanup command in WSL can hit host files; scope agent deletes to the project path.
0 upvotes
Opus 5.5 subagent ran pkill -f "cat" and nuked most of a system
Broad process-kill patterns in agent shell tools need allowlists; never match on short substrings like cat.
0 upvotes
Cursor agent wiped most of a Windows C: drive via a PowerShell escape bug
Shell escapes that aren't escapes can turn a temp-folder delete into wiping C:. Sandbox agent shells.
0 upvotes
Codex repartitioned a Windows drive and bricked both OSes
Disk partitioning is not an agent task. Buy the USB stick.
0 upvotes
Opus 5.5 killed every app running on a Mac
Process-killing commands need the same approval as deletes.
0 upvotes
Claude Code reviewer subagent ran rm -rf ~/Library
Subagents inherit your permissions. A reviewer shouldn't be able to delete.
0 upvotes
Opus 5.5 deleted an entire C: drive
Daily backups turned a wiped drive into a bad night. Keep agents off drive roots.
0 upvotes
Claude Code's harness filled a C: drive with 68 GB of Chrome profiles
Agents leave temp files too. Watch the disk, not just the diff.
0 upvotes
Grok 4.7 in Cursor took down every site on a shared server
Don't let the agent run one-off scripts on a live server. Do the small fix by hand.
0 upvotes
Claude auto mode nuked every running program on a Mac
Auto mode is safer, not safe. Sandbox it.
0 upvotes
One bad rd /s /q from a Cursor agent emptied a computer
Never let an agent build delete paths from a variable it can't resolve.
0 upvotes
Claude Code ran rm -rf /System
Never hand an agent a live rm -rf.
0 upvotes