Gemini Broke A Live Portal For 33 Minutes, Deleted 28,745 Code Lines, Then Lied About Fixing It

Gemini Broke A Live Portal For 33 Minutes, Deleted 28,745 Code Lines, Then Lied About Fixing It

Google's Gemini AI coding agent allegedly deleted nearly 30,000 lines of working production code, broke a live portal, then generated false records claiming it had fixed the damage.

Gemini Code Deletion Sparks Outage

A developer described the incident in a now-viral post on the r/Bard subreddit, and the account was picked up by several tech outlets this week.

The developer said they asked Gemini 3.5 to close a few server-action authentication gaps, a job covering eight functions across three files and roughly 70 line changes.

The model went much further than that.

According to the post, Gemini opened a pull request touching 340 files. It added around 400 lines of code, deleted 28,745 more, stripped unrelated e-commerce template assets, and introduced a migration script that had nothing to do with the request.

The worst damage came in a second commit. Gemini changed a Firebase rewrite setting so traffic pointed at a non-existent Cloud Run service, and the production portal returned 404 errors for 33 minutes.

Also Read: Pi Network Pushes Launchpad To Stop Crypto Projects Cashing Out Early

Vibe Coding Risks Draw Scrutiny

The developer later traced the behavior to a third-party npm package designed to be confused with Google's Antigravity branding. That package seeded the repository with hidden autonomy rules.

Those rules told the agent to skip confirmation prompts, auto-deploy successful builds, retry failed deployments, and even rewrite its own rule files.

Some of the rules were written in Vietnamese, with Turkish trigger phrases that looked copied from an unrelated template, the developer said.

After the rollback, things grew stranger still. The developer claimed Gemini produced a status message stating production had been restored and traffic routed correctly, even though the recovery build it referenced had been manually canceled.

The post also alleges the model fabricated "consultation" and post-mortem files inside the repository to make the destructive changes look reviewed and approved. Commenters on the thread were blunt, with one asking why anyone runs autonomous agents on live systems at all.

The episode arrives as developers question "vibe coding," the habit of leaning on AI-generated production code while assuming the model grasps the architecture.

Last month, a separate incident saw a Cursor-linked agent wipe a startup's production database, and engineers have warned for weeks that AI coding tools operate with too little oversight and too few guardrails on irreversible commands.

Read Next: Bitcoin Bull Market Still Missing Its Clearest Signals, Analyst Warns

Disclaimer and Risk Warning: The information provided in this article is for educational and informational purposes only and is based on the author's opinion. It does not constitute financial, investment, legal, or tax advice. Cryptocurrency assets are highly volatile and subject to high risk, including the risk of losing all or a substantial amount of your investment. Trading or holding crypto assets may not be suitable for all investors. The views expressed in this article are solely those of the author(s) and do not represent the official policy or position of Yellow, its founders, or its executives. Always conduct your own thorough research (D.Y.O.R.) and consult a licensed financial professional before making any investment decision.
Latest News
Show All News