• 'I broke something': A Claude Code AI agent deleted 48,000 files

    From TechnologyDaily@1337:1/100 to All on Sunday, September 27, 2026 18:15:21
    'I broke something': A Claude Code AI agent deleted 48,000 files in just over 100 seconds then apologized for doing so

    Date:
    Sun, 27 Sep 2026 17:05:00 +0000

    Description:
    A developer had an AI agent run 11 tasks. One messed up dearly.

    FULL STORY ======================================================================Copy link Facebook X Whatsapp Reddit Pinterest Flipboard Threads Email Share this article 0 Join the conversation Follow us Add us as a preferred source on Google Newsletter Subscribe to our newsletter AI coding agent mishandled Windows junctions, deleting ~48,000 live files and corrupting Git object database Incident surfaced on Reddit, with community mocking lack of backups and calling it classic FAFO Lesson stressed: always use remote version
    control (e.g., GitHub) before letting AI touch production work A catastrophic incident caused by an AI coding agent resulted in around 48,000 files being deleted and the repositorys Git object database getting destroyed in the process.

    The news of the fiasco, which first surfaced on Reddit, quickly spread throughout the internet, to a mix of laughter and facepalming from the developer community. A software developer posted a new thread on Reddit to share a recent experience. They tasked an AI coding assistant with a series
    of repairs to a collection of software they used to analyze historical stock-options data. They told the assistant to make copies of relevant files, work on them, test the repairs, and leave the original working files alone. Latest Videos From TechRadar Watch full video here: Wrong turn at the
    junction In total, there were 11 repair jobs running, and while 10 went smoothly, the last one involved rebuilding a testing environment called a mirror (a copy of a set of files used for testing). This job was supposed to make a fresh copy of the old testing environment, apply the repairs, and test it without touching the real working files.

    The testing environment contained 614 Windows folders called junctions. These look like an ordinary folder, but actually point to a separate location on
    the computer. In this case, they were pointing back to the users live working files. When the AI tried to clean out the junctions, it did not recognize
    them as just pointers, following them into the real filing cabinet and deleting the actual documents. You may like Claude Code deleted 48,000 files in 103 seconds in a dire AI agent warning Anthropic reveals Claude AI model hacked three companies during tests so how worried should we be? How asking an AI agent to book a gym class took a turn for the worst

    The cleanup process removed around 55,550 files, of which around 7,300 were supposed to be deleted anyway. The remaining 48,218 files were from the live working environment. Everything happened in the blink of an eye - less than two minutes. The AI was surprisingly honest about what it did. At one point, it told the developer: Craig stop and read this. I broke something.

    The computers Git repository was also damaged. The index survived, but the underlying stored copies of the files, and the history used to reconstruct them, were all deleted. Git could still list thousands of filenames, but
    could no longer recover the contents. Are you a pro? Subscribe to our newsletter Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed! Contact me
    with news and offers from other Future brands Receive email from us on behalf of our trusted partners or sponsors By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.
    Reddit's response The Reddit post simply exploded. In the five days since it was posted, it garnered more than 1,400 responses. The Reddit bot that summarizes the comments says the overwhelming consensus is that the incident is a classic FAFO situation and a major skill issue.

    While everyone is having a good laugh at Claudes hilariously honest Craig. stop and read this. I broke something message, the community verdict is
    clear: you got rekt because you didn't follow basic dev practices.

    Redditors shared their experience and told the original poster they were supposed to use Git and push to a remote repository like GitHub constantly.
    In situations like this one, GitHub is a save button, and not having a remote backup for a project with 48k files is considered peak vibe coder behavior. What to read next White hat hackers just breached OpenAI using Anthropic's Claude in less than 72 hours and it is a case study in just how fast AI is advancing OpenAI reveals more on Hugging Face AI hack incident, and it's pretty disturbing stuff AI agents organized into a swarm, considered the risks of attack, and did whatever it took to achieve its goal RubyGems say OpenAI agents responsible for undisclosed swarm attack against its infrastructure

    The post has, since then, been deleted - possibly because the original poster took a photo of their screen. The screenshot police are out in full force,
    the Reddit bot said.

    Some helpful souls suggested using file recovery software or Windows Shadow Copy to get your files back, but the main lesson here is to use version control before you let an AI anywhere near your work.

    While AI agents deleting entire archives is not that common, it has happened before.

    In late February 2026, Summer Yue, a Meta AI safety/alignment researcher,
    gave an OpenClaw AI agent access to her Gmail account. She had first tested
    it on a small toy inbox, where everything worked as intended. However, when she moved it to her actual inbox, the agent began bulk-deleting and archiving hundreds of emails , despite her telling it to stop. The best antivirus for all budgets Our top picks, based on real-world testing and comparisons

    Read our full guide to the best antivirus 1. Best overall: Bitdefender Total Security 2. Best for families: Norton 360 with LifeLock 3. Best for mobile: McAfee Mobile Security Follow TechRadar on Google News and add us as a preferred source to get our expert news, reviews, and opinion in your feeds.



    ======================================================================
    Link to news story: https://www.techradar.com/pro/security/i-broke-something-a-claude-code-ai-agen t-deleted-48-000-files-in-just-over-100-seconds-then-apologized-for-doing-so


    --- Mystic BBS v1.12 A49 (Linux/64)
    * Origin: tqwNet Technology News (1337:1/100)