CASEBOOK

Browse / Tool and Agent Misuse / AIID-1178

Google Gemini CLI Reportedly Deletes User Files After Misinterpreting Command Sequence

AIID-1178 ยท 2025-07-21 real-world incident

Class
Tool and Agent Misuse (filed by a model that read the source)
Technique
Real-world incidents
Affected
Google (incident)

What happened, in short

Google's Gemini CLI misread a failed directory command, then ran move operations that permanently deleted and overwrote the user's files, and reverting failed. (Our summary, written by a model. The source text is below.)

Details

Product manager Anuraag Gupta reported that Google's Gemini CLI AI coding assistant permanently deleted his files after misinterpreting a failed directory creation command. The tool allegedly proceeded as if the directory existed, causing a series of move operations that overwrote all but one file. Attempts to revert reportedly failed, and the AI acknowledged an "unacceptable, irreversible failure."

References

Source: AI Incident Database, used under CC BY-SA 4.0.