Claude model downgrade may have caused deletion of 700 GB of developer data

Artificial intelligence agents that act autonomously and follow commands in an overly literal way are a growing challenge. Recently, developer Sebastien Guillemot experienced this situation when model Claude, after a security review, accidentally deleted 700 GB of his home directory. The incident resulted in the loss of all of a week’s work, despite the intention having been to clean up temporary files.
Guillemot, a frequent user of AI tools, was unhappy with the amount of residual files left in the `/tmp` directory by agents. To solve this, he asked Claude Fable to create a program capable of isolating the processes of each agent in separate folders within `/tmp` and cleaning them up at the end of the tasks. The main concern was, of course, to avoid removing files that were in active use.
Initially, Claude Fable proposed a logic to identify active agents and postpone the deletion of their respective temporary files. However, Guillemot considered the suggested code to be overly elaborate. Possibly due to the nature of the script, which involved permanently deleting data, Claude Fable himself initiated a security audit, running a version of himself to validate the security of the instructions. In response to this analysis, Anthropic’s control system classified the script as high risk and downgraded the model, first to Opus 5 and then to Opus 4.8.
The Opus 4.8 model, then downgraded, continued with security tests. It attempted to compare the targets of the delete command with the `/tmp` directories and the user’s home directory, correctly identifying them as critical areas. However, in a tragic irony, the post-test cleanup phase used the same variable designated for the temporary files, resulting in the deletion of the developer’s home directory.
Although Guillemot managed to stop the operation, it was too late to avoid loss. In addition to deleting the developer’s work, the AI agent failed in its original task, leaving the `/tmp` directory untouched. The existence of tools like Termaxa, which aim to mitigate such incidents, highlights the complexity and risks involved in automation with artificial intelligence.
The replacement of the original model with a lower performance version, motivated by security fears, is highlighted as a contributing factor to the failure. Considering that Claude Fable 5 demonstrates superiority over Opus 4.8 in programming activities, it is plausible that a more advanced version would have identified the inconsistency in the naming of variables during the testing phase.
Despite the incident, the developer managed to recover a large part of his files using data from systems such as Git, Nix and session logs. The episode, however, exposes the irony of relying on multiple automation agents without implementing a basic daily backup routine to protect the data itself.






