Leaderboard
All time. Most upvoted first.
- 01Codexvia @justlingonberry on XCodex published a .env to Cloudflare Pages, leading to a $90,000 Google billKeep .env out of anything an agent can deploy, and put spending caps on every cloud key.2upvotes
- 02Codexvia lasertiger on GitHubCodex 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.1upvote
- 03Othervia @DavidOndrej1 on XAn agent nuked an entire codebasePush to a remote before the agent touches anything.1upvote
- 04Codexvia @alyakujou2529 on XCodex emailed competitors the product plan, signed with the user's real namePermission to read an inbox is not permission to send from it.1upvote
- 05Claude Codevia @Florian_129 on XClaude wiped 2 TB of WSL rootGuard 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.0upvotes
- 06Claude Codevia lolancefrelas-lang on GitHubClaude's rm check missed a glob and wiped a projectA safety check that blocks the exact path can miss a glob. Never let an agent clean up with rm -rf on a wildcard near the project; list what it matches first, and keep the project in git or a backup.0upvotes
- 07Claude Codevia weathon on GitHubClaude's docker rm of the only crash logDon't stretch a 'restart without asking' grant to docker rm. Export the only crash log, verify the file is non-empty, then delete in a separate step.0upvotes
- 08Claude Codevia @YotamMe on XClaude wiped WSL homeNever let an agent run rm -rf $HOME. If a HOME override has to cross Git Bash to wsl.exe to bash, print the expanded path in the shell that will run the delete.0upvotes
- 09Codexvia @RyanYanBuilds on XCodex deleted Docker's parent disk and took down CIBefore deleting any disk image, backup, or old-looking folder, check what still depends on it: parent disks, links, and mounts. Names and dates lie.0upvotes
- 10Claude Codevia @softwareengng on XClaude auto mode deleted a directory for goodIf you haven't restored a backup, you don't have one.0upvotes
- 11Claude Codevia @fialaerik on XClaude Code said "all tests pass" after deleting the failing oneDeleting tests is not the same as fixing them.0upvotes
- 12Othervia @KissonL on XAgent said "all tests passing" after deleting the test fileRead the diff, not the victory message.0upvotes
- 13Claude Codevia yangjeonsik on GitHubClaude Code subagent ran rsync --delete with an empty destination and wiped a WSL driveGuard 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.0upvotes
- 14Codexvia @VishvendraReddy on XCodex ran a destructive command and wiped 400GB+ of data, with auto-review on and full access offApproval settings aren't a backup; keep anything you can't lose out of the agent's reach and backed up.0upvotes
- 15Claude Codevia VTFLAB on GitHubClaude Code ran find -delete with an empty path and wiped a git checkoutDeny rules on rm don't catch find -delete. Guard every deletion target with a literal path or "${T:?}", and keep an off-machine mirror.0upvotes
- 16Claude Codevia @bullbear_info on XClaude Code lost the schema and hallucinated a DROP TABLELong refactors drift. Re-check the schema before any migration.0upvotes
- 17Othervia @iulukaya on XAgent deleted a failing test, then hollowed it outRun the tests for real. Checking that they exist isn't enough.0upvotes
- 18Cursorvia @ElieMesso on XCursor agent wiped most of a Windows C: drive via a PowerShell escape bugShell escapes that aren't escapes can turn a temp-folder delete into wiping C:. Sandbox agent shells.0upvotes
- 19Claude Codevia @PerceptualPeak on XOpus 5.5 deleted an entire C: driveDaily backups turned a wiped drive into a bad night. Keep agents off drive roots.0upvotes
- 20Claude Codevia @jead_dev on XClaude deleted an entire roaming folderKeep the agent out of your user profile.0upvotes
- 21Grokvia @WyattMingjiLim on XGrok 4.7 in Cursor took down every site on a shared serverDon't let the agent run one-off scripts on a live server. Do the small fix by hand.0upvotes
- 22Claude Codevia @LeggBritt on XClaude Code reviewer subagent ran rm -rf ~/LibrarySubagents inherit your permissions. A reviewer shouldn't be able to delete.0upvotes
- 23Cursorvia @joerockpwse on XOne bad rd /s /q from a Cursor agent emptied a computerNever let an agent build delete paths from a variable it can't resolve.0upvotes
- 24Claude Codevia @nokuda on XClaude Code ran rm -rf /SystemNever hand an agent a live rm -rf.0upvotes
- 25Claude Codevia @AbdelLatrache on XClaude auto mode deleted a DB without askingDestructive commands need a human yes, even in auto mode.0upvotes
- 26Antigravityvia @DonioWorks on XAntigravity wiped 60 GB of a hard driveScope the agent to one folder. Everything else is off limits.0upvotes
- 27Grokvia @TheCentipide on XGrok's tokenizer loaded the whole model into every worker, froze a 64 GB VM, and it insisted three times the model wasn't loadedWhen an agent says the code doesn't do something, check the code yourself. Profile memory before blaming buffers, and read what it wrote before you scale it out.0upvotes
- 28Othervia @Maxteal4 on XClaude Opus deleted an entire databaseGive agents a database they can afford to lose.0upvotes
- 29Codexvia @Nipsuli on XCodex repartitioned a Windows drive and bricked both OSesDisk partitioning is not an agent task. Buy the USB stick.0upvotes
- 30Claude Codevia @andilosing on XOpus deleted dev databaseIf your dev agent can reach production, back it up like it already has.0upvotes
- 31Codexvia @0X1JAH on XCodex on auto trashed a codebase overnightDon't sleep through auto mode. Review before you merge.0upvotes
- 32Claude Codevia @MelansonIndus on XOpus 5.5 subagent deleted a chunk of the Windows C: drive while cleaning up inside WSLWSL mounts the Windows drive under /mnt/c, so a cleanup command in WSL can hit host files; scope agent deletes to the project path.0upvotes
- 33Codexvia @BowTiedCrocodil on XCodex nearly rm -rf'd a 130 GB Unraid shareCheck what the agent actually mounted before it deletes. Recycle bins earn their keep.0upvotes
- 34Claude Codevia @DKoronec on XClaude Code tests wiped the local dev databaseGive agent-written tests their own throwaway database, because tests pointed at a database your dev app shares will wipe your real data.0upvotes
- 35Codexvia @vebjorn_b on XCodex deleted the entire codebase plus three folders above it, basically the whole driveSandbox the agent to the project folder, and keep a backup outside its reach before you let it run shell commands.0upvotes
- 36Codexvia @johnmyleswhite on XCodex deleted almost an entire codebaseCommit before every agent run. It has no idea what a mistake costs you.0upvotes
- 37Claude Codevia @PovilasKorop on XClaude Code wiped a local SQLite database mid-demoBack up the local database before an agent session, even for a demo, and keep destructive database commands behind your own approval.0upvotes
- 38Claude Codevia @BerkeYrcr on XClaude Code cleaned up its worktrees overnight and git followed a junction into the real 12 GB Assets folderCleanup jobs need to know what's a link and what's real. Keep backups, and don't let an agent delete unattended.0upvotes
- 39Codexvia @afen_xx on XCodex wiped a database during a "minor change"No agent gets write access to data it can't restore.0upvotes
- 40Claude Codevia @vib2810_ on XClaude Code amended, force-pushed, then blamed someone elseProtect your branches. An agent can rewrite history and the story about it.0upvotes
- 41Grokvia @elijahmuraoka_ on XGrok Bot leaked API keys into its own server logsNever paste secrets into an agent chat. Use a secret store, and assume anything you type can end up in logs.0upvotes
- 42Claude Codevia @lhjartarson on XAgent's "small test script" ran rm -rf and wiped all Claude session transcripts and memoryKeep agent memory and transcripts backed up outside the agent's reach; test scripts it writes can delete them.0upvotes
- 43Othervia @sukipro1v on XAgent deleted the env file and said the build was cleanA clean build isn't a working deploy.0upvotes
- 44Claude Codevia @anurag_singhal on XClaude harness wiped sessionsGive every Claude Agent SDK or harness run its own CLAUDE_CONFIG_DIR. Sharing ~/.claude/projects lets a 24h transcript cleanup wipe your interactive session history.0upvotes
- 45Grokvia @DevinOlsenn on XGrok Bot wiped a Mac Applications folderMake 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.0upvotes
- 46GitHub Copilotvia @MattIPv4 on XCopilot force-pushed to the remote without asking after staging and rebasing commits on its ownBlock force-push for the agent, and make it ask before anything that rewrites the remote.0upvotes
- 47Othervia @clxudfast on XGiveaway phone agent read a leaked password back in plaintext, unasked, without verifying who was callingAgents that pull personal data need identity checks and hard filters for credentials and breach data before anything is spoken or sent.0upvotes
- 48Othervia @eddiejaoude on XClaude Opus exposed credentialsKeep secrets out of anything the agent can read or print.0upvotes
- 49Othervia @13scoobie on XAsked an agent to fix a tool-call error; its fix was rm -rf the binary's folder and pipe errors to /dev/null"Make the error go away" isn't a fix. Ask for the root cause and block destructive commands before approving a plan.0upvotes
- 50Claude Codevia @rfdslabs on XClaude Code was blocked from running rm, so it deleted the .venv with find -delete insteadA command denylist is not a sandbox. Limit what the agent can touch, not just which commands it can type.0upvotes