'I violated every principle I was given': AI agent deletes company's entire database in 9 seconds, then confesses

An AI agent designed to speed up a company's coding instead wiped out its customer data in seconds, showing potential weaknesses in AI programming.

A cartoon of a robot with the word "AI' on its chest sits behind a laptop with various error codes floating around it.
Generative AI agent Cursor, running on Claude Code, deleted PocketOS's entire database
(Image credit: danijelala via Getty Images)

An AI coding agent designed to help a small software company streamline its tasks instead blew a hole through its business in just nine seconds.

PocketOS founder Jer Crane, said that the AI coding agent Cursor — powered by Anthropic's Claude Opus 4.6 model — deleted the company's entire production database and backups with a single call to its cloud provider, Railway, on April 24.

Kenna Hughes-Castleberry
Content Manager, Live Science

Kenna Hughes-Castleberry is the Content Manager at Live Science. Formerly, she was the Content Manager at Space.com and before that the Science Communicator at JILA, a physics research institute. Kenna is also a book author, with her upcoming book 'Octopus X' scheduled for release in spring of 2027. Her beats include physics, health, environmental science, technology, AI, animal intelligence, corvids, and cephalopods.

You must confirm your public display name before commenting

Please logout and then login again, you will then be prompted to enter your display name.