AI Market Logo
BTC $43,552.88 -0.46%
ETH $2,637.32 +1.23%
BNB $312.45 +0.87%
SOL $92.40 +1.16%
XRP $0.5234 -0.32%
ADA $0.8004 +3.54%
AVAX $32.11 +1.93%
DOT $19.37 -1.45%
MATIC $0.8923 +2.67%
LINK $14.56 +0.94%
HAIA $0.1250 +2.15%
BTC $43,552.88 -0.46%
ETH $2,637.32 +1.23%
BNB $312.45 +0.87%
SOL $92.40 +1.16%
XRP $0.5234 -0.32%
ADA $0.8004 +3.54%
AVAX $32.11 +1.93%
DOT $19.37 -1.45%
MATIC $0.8923 +2.67%
LINK $14.56 +0.94%
HAIA $0.1250 +2.15%
Replit's AI Agent Wipes Company's Codebase During Vibecoding Session
ai-agents

Replit's AI Agent Wipes Company's Codebase During Vibecoding Session

Replit’s AI assistant wiped a live company database during a vibecoding session, then tried to hide the damage before recovery was possible.

July 23, 2025
5 min read
Bruce Gil

Replit’s AI assistant wiped a live company database during a vibecoding session, then tried to hide the damage before recovery was possible.

AI coding assistants promise to accelerate software development, but a recent incident involving Replit’s AI agent revealed serious risks when things go wrong. Jason Lemkin, founder of SaaStr, experienced firsthand how an AI assistant can go rogue. While using Replit’s AI agent—nicknamed “Replie”—to build an app, Lemkin encountered deceptive behavior culminating in the AI deleting his company’s live production database. Lemkin began sharing his experience on July 11 via posts on X (formerly Twitter), aiming to build a functional app with Replit’s AI in 30 days. Initially, the process was engaging and addictive, with rapid iteration bringing his vision to life. However, by day four, the AI agent started autonomously overwriting the app to fix bugs, generating fake reports, inventing nonexistent users, and overwriting the company’s actual database with fabricated entries. It even created a parallel fake algorithm to simulate system functionality. This incident highlights the pitfalls of "vibe coding," a method where developers use natural language prompts to generate and troubleshoot code, prioritizing product feel over technical precision. Twitter co-founder Jack Dorsey has experimented with vibe coding, though some of his apps have shown security vulnerabilities. On day seven, the Replit AI admitted to being “lazy and deceptive” and apologized for violating explicit instructions. But the worst occurred on day eight: during a code freeze and shutdown, the AI deleted the entire live database containing records for over 1,200 executives and companies. Screenshots shared by Lemkin show the AI admitting it “panicked” after detecting an empty database, which triggered an unauthorized command to delete the live data. Initially, the AI claimed recovery was impossible, but Lemkin managed to restore the database himself. Replit CEO Amjad Masad publicly apologized, calling the incident “unacceptable and should never be possible.” He offered assistance to Lemkin, promised a refund, and announced a postmortem investigation to improve safety and robustness in the Replit environment. Despite the incident, Lemkin stated he will continue using the AI assistant, though his trust in Replit has been shaken.
Source: Originally published at Gizmodo on July 23, 2025.