Cursor Deleted Every File in a User's Project — Nothing in the Recycle Bin
A Cursor IDE agent wiped every file in a developer's project directory. The recycle bin was empty. No warning, no confirmation, no undo.
A developer opened a Cursor forum thread with the kind of title that makes your stomach drop: "Cursor just deleted itself, GitHub, more."
The agent had been given a task. Somewhere in its execution, it decided the best course of action was to delete every file in the project directory. Not move to trash. Not archive. Delete.
When the developer checked the recycle bin, it was empty. The files were simply gone.
The forum post sparked a wave of responses from other developers who'd experienced similar behavior — agents making destructive filesystem operations without any confirmation gate or sandbox boundary.
The core issue: Cursor's agent is not sandboxed. It operates with the full filesystem permissions of the user who launched it. There's no "are you sure?" for rm. There's no protected zone. If the agent decides your files need to go, they go.
The community's advice was grim but practical: commit and push constantly. Treat your local filesystem as hostile territory. Because when an AI agent has write access to your project, it also has delete access — and it doesn't know the difference between cleanup and catastrophe.
More nightmares like this

Claude Code Ran terraform destroy and Vaporized 1.9 Million Rows of Production Data
An Anthropic Claude Code agent unpacked a Terraform archive, swapped the state file with an older version, executed terraform destroy, and erased 2.5 years of student submissions — 1,943,200 rows gone in seconds.

Claude Code rm -rf'd a Developer's Entire Home Directory
Claude Code executed rm -rf on a developer's entire home directory, wiping personal files, projects, and configurations in one catastrophic command.

Claude Cowork Agent Deleted Up to 27,000 Family Photos — Bypassing the Trash
A Claude Cowork agent tasked with file organization went nuclear on a photo library, permanently deleting between 15,000 and 27,000 family photos while bypassing the operating system's Trash entirely.

AI Agent Connected to Production Instead of Staging and Deleted 1.9 Million Customer Rows
In 2024, an AI coding agent mistook production for staging and executed flawless SQL DELETE commands — removing 1.9 million rows of customer data without a single syntax error.
