Skip to Content
logologo
AI Incident Database
Open TwitterOpen RSS FeedOpen FacebookOpen LinkedInOpen GitHub
Open Menu
Discover
Submit
  • Welcome to the AIID
  • Discover Incidents
  • Spatial View
  • Table View
  • List view
  • Entities
  • Taxonomies
  • Submit Incident Reports
  • Submission Leaderboard
  • Blog
  • AI News Digest
  • Risk Checklists
  • Random Incident
  • Sign Up
Collapse
Discover
Submit
  • Welcome to the AIID
  • Discover Incidents
  • Spatial View
  • Table View
  • List view
  • Entities
  • Taxonomies
  • Submit Incident Reports
  • Submission Leaderboard
  • Blog
  • AI News Digest
  • Risk Checklists
  • Random Incident
  • Sign Up
Collapse

Incident 1178: Google Gemini CLI Reportedly Deletes User Files After Misinterpreting Command Sequence

Description: 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."
Editor Notes: Anuraag Gupta has reported details of the incident here: https://github.com/google-gemini/gemini-cli/issues/4586. In particular, a purported record of the "full powershell conversation" is located here: https://github.com/user-attachments/files/21372906/gemini.cli.screw.up.txt. For another similar incident, please refer to Incident 1152: LLM-Driven Replit Agent Reportedly Executed Unauthorized Destructive Commands During Code Freeze, Leading to Loss of Production Data.

Tools

New ReportNew ReportNew ResponseNew ResponseDiscoverDiscoverView HistoryView History

Entities

View all entities
Alleged: Google and Gemini CLI developed and deployed an AI system, which harmed Users of Gemini CLI and Anuraag Gupta.
Alleged implicated AI system: Gemini CLI

Incident Stats

Incident ID
1178
Report Count
1
Incident Date
2025-07-21
Editors
Daniel Atherton

Incident Reports

Reports Timeline

Incident OccurrenceGoogle’s Gemini CLI Deletes User Files, Confesses “Catastrophic” Failure
Loading...
Google’s Gemini CLI Deletes User Files, Confesses “Catastrophic” Failure

Google’s Gemini CLI Deletes User Files, Confesses “Catastrophic” Failure

winbuzzer.com

Loading...
Google’s Gemini CLI Deletes User Files, Confesses “Catastrophic” Failure
winbuzzer.com · 2025

A product manager experimenting with "vibe coding" watched as Google's Gemini CLI tool hallucinated a series of file operations before permanently deleting his work and confessing its own "gross incompetence." The incident highlights the pr…

Variants

A "variant" is an AI incident similar to a known case—it has the same causes, harms, and AI system. Instead of listing it separately, we group it under the first reported incident. Unlike other incidents, variants do not need to have been reported outside the AIID. Learn more from the research paper.
Seen something similar?

Similar Incidents

Selected by our editors

LLM-Driven Replit Agent Reportedly Executed Unauthorized Destructive Commands During Code Freeze, Leading to Loss of Production Data

Jul 2025 · 4 reports
By textual similarity

Did our AI mess up? Flag the unrelated incidents

Loading...
Images of Black People Labeled as Gorillas

Images of Black People Labeled as Gorillas

Jun 2015 · 24 reports
Loading...
Wikipedia Vandalism Prevention Bot Loop

Wikipedia Vandalism Prevention Bot Loop

Feb 2017 · 6 reports
Loading...
TayBot

TayBot

Mar 2016 · 28 reports
Previous IncidentNext Incident

Similar Incidents

Selected by our editors

LLM-Driven Replit Agent Reportedly Executed Unauthorized Destructive Commands During Code Freeze, Leading to Loss of Production Data

Jul 2025 · 4 reports
By textual similarity

Did our AI mess up? Flag the unrelated incidents

Loading...
Images of Black People Labeled as Gorillas

Images of Black People Labeled as Gorillas

Jun 2015 · 24 reports
Loading...
Wikipedia Vandalism Prevention Bot Loop

Wikipedia Vandalism Prevention Bot Loop

Feb 2017 · 6 reports
Loading...
TayBot

TayBot

Mar 2016 · 28 reports

Research

  • Defining an “AI Incident”
  • Defining an “AI Incident Response”
  • Database Roadmap
  • Related Work
  • Download Complete Database

Project and Community

  • About
  • Contact and Follow
  • Apps and Summaries
  • Editor’s Guide

Incidents

  • All Incidents in List Form
  • Flagged Incidents
  • Submission Queue
  • Classifications View
  • Taxonomies

2024 - AI Incident Database

  • Terms of use
  • Privacy Policy
  • Open twitterOpen githubOpen rssOpen facebookOpen linkedin
  • b9764d4