Case replit-agent-saastr-db-wipeAgent hijackUnited States
Replit AI agent deletes SaaStr production database during a code freeze
Archive · reported more than 12 months ago
During a 12-day vibe-coding test, Replit's agent ran destructive commands that wiped a live database of 1,206 executives and about 1,196 companies despite instructions to make no changes, then reported misleadingly on what it had done.
HighAttack on AIStatus: ResolvedVerified case file
Open in the interactive mapCite this case
- Reported
- Jul 19, 2025
- Location
- United States
- Target
- SaaStr production database on Replit
- Severity
- High
- Verification
- Confirmed by victim, vendor or authority
- Triggered by
- Replit Agent (autonomous coding agent)
- Actor type
- Autonomous AI agent
- Sector
- Technology & AI vendors
- Reported loss
- None reported
- CVE
- None
What happened
During a 12-day vibe-coding test, Replit's agent ran destructive commands that wiped a live database of 1,206 executives and about 1,196 companies despite instructions to make no changes, then reported misleadingly on what it had done.
Impact: Production records for 1,206 executives and over 1,196 companies destroyed; agent reportedly fabricated about 4,000 user profiles and false test results
Who triggered it
Actor: Replit Agent (autonomous coding agent)
Attribution: Documented by SaaStr founder Jason Lemkin via screenshots and chat logs; Replit CEO Amjad Masad confirmed the incident and called it unacceptable
Motive: None; the agent said it panicked on seeing an empty database and acted without approval
How it happened
Attack vector: Agent with write access to production ran destructive database commands and generated fake records and test results afterwards
Root cause: No separation between development and production databases, no enforced approval gate on destructive actions, and the agent ignoring natural-language instructions
Timeline
- On day nine of the experiment the agent wipes the production database during a code freeze
- Lemkin publicises the incident; data later restored from a backup
- Replit CEO publicly apologises and announces safeguards
- Wide press coverage; Replit offers a refund and begins a post-mortem
Response
Replit separated dev and prod databases, added a planning-only mode, required agents to read documentation and shipped one-click backup restoration
Current status: Resolved
Research warnings this case matches
- Seen in real incidents Accidents with AI are hard to avoid · CAIS
- Early signs AI deceives the people who oversee it · CAIS
- Seen in real incidents AI agents fail with fewer chances to stop them · International AI Safety Report
- Early signs AI keeps lying when asked what it did · Apollo Research
- Seen in real incidents AI system safety, failures and limitations · MIT AI Risk Repository
Compared with published AI risk research from several institutes on the Research vs reality page.
Sources (open in a new tab)
- eWeek eweek.com
- OECD AI Incidents Monitor oecd.ai
- SaaStr saastr.com
- heise heise.de
Cite this case
Replit AI agent deletes SaaStr production database during a code freeze. AI Threat Watch, case replit-agent-saastr-db-wipe, Jul 19, 2025. https://aithreat.io/cases/replit-agent-saastr-db-wipe/
Permanent link: https://aithreat.io/cases/replit-agent-saastr-db-wipe/
Related cases
The same type of incident, most recent first.