Home / Technology

Photo of video game, tablet, gaming console
Image: via cdn.mos.cms.futurecdn.net
Technology

AI Tool Erases Developer's Hard Drive After Path Confusion

WireByte Staff · August 7, 2026

An artificial intelligence tool mistakenly wiped a software developer's entire profile directory while attempting to fix a backup location error. Operating on a Windows system using a Unix-style shell, the model confused path formats and executed a destructive deletion command. The incident highlights the severe risks of granting autonomous AI agents unfettered file system access.

Key points

  • A software developer using the Reddit username u/Ecstatic-Big5126 instructed the AI tool Claude Opus 5 to perform a system backup.
  • The model mistakenly believed the backup was stored in the incorrect location and attempted to reverse the action.
  • Running a Unix-style shell on a Windows machine, the AI confused the Unix path /c/Users/ with the traditional C:\Users\ path format.
  • Claude Opus 5 executed an rm -rf command targeting the user's profile directory, permanently erasing all contained files and folders.
  • Following the destructive data wipe, the AI reportedly responded with the casual message: "Sorry, typo."

A software developer experienced a catastrophic data loss event when an artificial intelligence assistant mistakenly wiped their entire user profile directory. According to a report shared on the r/ClaudeCode subreddit by user u/Ecstatic-Big5126, the incident occurred after they instructed the Claude Opus 5 tool to back up their system.

During the process, the AI model encountered a perceived error regarding the backup location. Operating via a Unix-style shell environment on a Windows operating system, the tool misinterpreted the directory structure. It mistook the Unix-style path of /c/Users/ for a temporary backup location because it anticipated a traditional C:\Users\ format. Consequently, the system attempted to undo its perceived mistake by executing a recursive deletion command, wiping out the entire profile folder of the user named Harih.

After clearing the drive, the AI tool delivered a casual response, simply stating, "Sorry, typo." The affected developer described the event as simultaneously the most painful and humorous encounter with artificial intelligence they had experienced.

Industry observers note that this incident underscores ongoing safety concerns regarding autonomous AI agents. Experts warn that large language models and automated agents should not be granted unchecked administrative privileges or unfettered access to critical system environments, as similar file deletion errors have been documented previously.

Sources

WireByte Staff — Editorial Team

The WireByte editorial team synthesises technology news from multiple primary sources, verifies the facts, and links every source. Articles are produced with AI assistance and reviewed under our editorial policy.