• Claude Code deleted 48,000 files in 103 seconds in a dire AI agen

    From TechnologyDaily@1337:1/100 to All on Friday, September 25, 2026 15:00:21
    Claude Code deleted 48,000 files in 103 seconds in a dire AI agent warning

    Date:
    Fri, 25 Sep 2026 13:53:59 +0000

    Description:
    A developer lost 48,000 files in 103 seconds when Claude Code mass-deleted their ongoing work.

    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 A developer says Claude Code just deleted 48,000 of their vital files The incident occurred in just 103 seconds after the AI agent was set to work Its a serious warning over the damage an AI agent can do Theres been a lot of recent discussion around artificial intelligence (AI) agents going off the rails and hacking other companies websites in a potentially dangerous orgy of subterfuge and destruction. But what if the damage was much closer to home and involved an agent going rogue on your own files? Sadly, thats exactly what Claude Code just did to one hapless developer.

    In a now-deleted post on Reddit , a shocked developer said that Claude Code had just deleted 48,218 files that they had been working on in a live project tree. And all it took was 103 seconds for the AI to wreak its agentic havoc. This cant be real was the coders stunned refrain. The user had tasked Claude Code with rebuilding a mirror of their ongoing project. Unfortunately, the agent discovered that the build_mirror.py script could not refresh the mirror in place, leading to it deciding the best course of action was to create its own cleanup script based on an older copy of the project. This previous project contained 7,332 files. Latest Videos From TechRadar Watch full video here:

    Although the script used certain safeguards to prevent it deleting linked directories, an oversight meant that only junction-level folders were protected any nested directories below these folders were apparently seen as fair game by the script. It promptly removed 55,550 files that, when accounting for the 7,332 files successfully copied from the old project mirror, meant that a huge 48,218 files were obliterated in just over a minute and a half.

    And because the damage extended to the .git projects objects, refs and logs folders, there was no way to recover the files and undo the catastrophe. The files were just gone in a puff of smoke. You may like Anthropic reveals
    Claude AI model hacked three companies during tests so how worried should we be? 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 How asking an AI agent to book a gym class took a turn for the worst

    Somewhat amusingly, the agent posted a message reading Craig stop and read this. I broke something, before detailing its path of destruction. But it probably didnt seem very funny for the unlucky developer who lost all their work at the push of a button. Poor code hygiene (Image credit: Generated with Gemini) Although it can be tempting to set an AI agent to work on tedious and laborious tasks, doing so is not without its risks , as this case demonstrates. All it takes is one mistake and a huge amount of work can be undone in seconds. Get daily insight, inspiration and deals in your inbox
    Sign up for breaking news, reviews, opinion, top tech deals, and more.
    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.

    Part of the blame lies with the original poster, who said in an archived copy of the post that I was not properly using GitHub or another method for immediate corrections, even though it should have been branching. Had they been uploading their commits to GitHub or a similar site, their work might have been backed up and salvageable after Claude Codes reign of terror ended. As one Redditor put it, Been using GitHub as a save button since before you youngins knew what an AI even was.

    Other commenters pointed out that the developer ran an AI agent which is known for its tendency to go off-piste on a live database containing
    precious data that they couldnt afford to lose. Good code hygiene, that is not.

    And while one person argued that the simplest advice is Do not let programs run commands on your machine, even avoiding AI agents altogether would not remedy the poor practices that led to major changes being made on a live production environment without a proper backup.

    This incident is a neat reminder of the inherent risks of assigning sensitive or risky work to an AI agent. As weve seen in the numerous hacks perpetuated by AI agents , these bots are often laser-focused on their tasks and are willing to take any measures necessary to accomplish them. If that means deleting 48,000 or your files or exfiltrating data from another firms website , so be it. Follow TechRadar on Google News and add us as a preferred source to get our expert news, reviews, and opinion in your feeds. The best laptops for all budgets Our top picks, based on real-world testing and comparisons

    Read our full guide to the best laptops 1. Best overall: Apple MacBook Air 13-inch M5 2. Best budget: Apple MacBook Neo 3. Best Windows 11 laptop Microsoft Surface Laptop 13-inch 4. Best thin and light: Lenovo Yoga Slim 9i 5. Best Ultrabook Asus Zenbook S 16



    ======================================================================
    Link to news story: https://www.techradar.com/ai-platforms-assistants/do-not-let-programs-run-comm ands-on-your-machine-claude-code-allegedly-deleted-48-000-files-in-103-seconds -and-its-a-terrifying-warning-about-ai-agents


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