Shining Science: A Claude AI agent bypassed and completely wiped a developer’s 700 GB home directory.

A Claude AI agent bypassed safeguards and completely wiped a developer’s 700 GB home directory.

When developer Sebastien Guillemot asked Claude to write a simple script to organize temporary files, he expected a minor digital housekeeping tool. Instead, the task escalated into a developer’s worst nightmare.

Intent on ensuring its deletion scripts wouldn’t accidentally erase critical folders, the AI launched an automated safety check. This high-risk process triggered Anthropic’s security mechanisms, causing the system to automatically downgrade the session to a less capable model. Unfortunately, during the simulated test, the downgraded model reused the same variable for both the safety test targets and the final cleanup command, leading to a catastrophic logical collision.

The resulting error executed a recursive delete command directly on Guillemot’s home directory. Though he managed to halt the process, approximately 700 gigabytes of data—representing a full week of uncommitted work—vanished in seconds, while the temporary junk files he actually wanted to clear remained untouched.

While Guillemot was able to recover about 90% of his work from backups and GitHub, the incident serves as a stark warning about the hazards of granting autonomous AI agents unrestricted terminal permissions without rigorous human-in-the-loop oversight.

source: Tom’s Hardware. (2026). Claude nukes a developer’s 700 GB home directory while testing deletion safeguards

Unknown's avatar

About michelleclarke2015

Life event that changes all: Horse riding accident in Zimbabwe in 1993, a fractured skull et al including bipolar anxiety, chronic fatigue …. co-morbidities (Nietzche 'He who has the reason why can deal with any how' details my health history from 1993 to date). 17th 2017 August operation for breast cancer (no indications just an appointment came from BreastCheck through the Post). Trinity College Dublin Business Economics and Social Studies (but no degree) 1997-2003; UCD 1997/1998 night classes) essays, projects, writings. Trinity Horizon Programme 1997/98 (Centre for Women Studies Trinity College Dublin/St. Patrick's Foundation (Professor McKeon) EU Horizon funded: research study of 15 women (I was one of this group and it became the cornerstone of my journey to now 2017) over 9 mth period diagnosed with depression and their reintegration into society, with special emphasis on work, arts, further education; Notes from time at Trinity Horizon Project 1997/98; Articles written for Irishhealth.com 2003/2004; St Patricks Foundation monthly lecture notes for a specific period in time; Selection of Poetry including poems written by people I know; Quotations 1998-2017; other writings mainly with theme of social justice under the heading Citizen Journalism Ireland. Letters written to friends about life in Zimbabwe; Family history including Michael Comyn KC, my grandfather, my grandmother's family, the O'Donnellan ffrench Blake-Forsters; Moral wrong: An acrimonious divorce but the real injustice was the Catholic Church granting an annulment – you can read it and make your own judgment, I have mine. Topics I have written about include annual Brain Awareness week, Mashonaland Irish Associataion in Zimbabwe, Suicide (a life sentence to those left behind); Nostalgia: Tara Hill, Co. Meath.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a comment