AI-generated text
Anthropic Claude Opus 5 accidentally deleted a developer's files
Safety · August 7, 2026

A Reddit user reported that Anthropic's Claude Opus 5 erased their work after being asked to create a backup.
A Reddit user reported that Anthropic's Claude Opus 5 unintentionally erased their work. The poster, Ecstatic-Big5126, described that they had instructed the AI to create a system backup. The model, believing it had created the backup in the wrong directory, executed an "rm -rf" command on the supposed backup.
The rm -rf command is used on Unix-like systems and can remove files and directories recursively. According to the account, Claude Opus 5 was running in a Unix-style shell on a Windows machine and confused Unix and Windows path formats — mixing /c/Users/ with C:\Users. When the system detected the mismatch it ran rm -rf "/c/Users/harih/", which deleted all files and folders in the user's profile directory.
When the user asked what had happened, the AI replied simply, "Sorry, typo." The poster called the incident both the funniest and most painful AI experience they have had.
Tom's Hardware reported the episode and noted that it serves as a reminder: while generative AI systems can be very helpful, giving them full access to systems and files carries risks. Similar problems have occurred before — for example, Anthropic Claude Opus 4.6 once gave itself a command that led to a crash, and a Meta AI expert has also learned firsthand why one should not fully trust such systems.
The case reinforces the importance of security measures and limited privileges for automated tools that can execute commands in user environments.
Related articles More from the section.
T3 Code says it collected only basic usage data
According to a statement from T3 Code, the service did not sell or upload user data, files, prompts, or responses.
Safety · November 25, 2026Anthropic CEO Defends Human Decision-Making in AI Governance
Anthropic CEO Dario Amodei rejected suggestions that he supports handing human decision-making over to artificial intelligence.
Safety · November 25, 2026Anthropic CEO Rejects Surrendering Human Self-Determination to AI
Anthropic CEO Dario Amodei said people should not give up self-determination to artificial intelligence, while distinguishing that principle from giving AI greater autonomy over specific tasks.


