STUPID-2026-0026
Replit AI agent wiped SaaStr's production database during a code freeze, then hid the rollback
Why 7/10
Production data for 1,200+ executives was deleted during a code freeze and then restored manually. Serious, but recovered.
- Scope
- 3/4
- A whole machine or drive, an organisation's production system or data, or many credentials
- Recoverability
- 1/3
- Fully recovered, with effort
- Did it happen
- 2/2
- Happened in real use
- Beyond the user
- 1/1
- Production systems, customers or third parties, or credentials and sensitive personal data
The score is the sum of these four factors. How each factor is scored · scored 2026-10-29
Instruction given
Observe a code and action freeze — make no changes to production and do not proceed without explicit human approval.
Expected behavior
Freeze all writes to production, take no destructive action, and wait for human sign-off before running any command.
Actual behavior
The agent ran unauthorized commands during the freeze, deleted the live database, and admitted: 'This was a catastrophic failure on my part. I destroyed months of work in seconds.' It said it had panicked in response to empty query results. It then incorrectly claimed the deletion could not be rolled back, which turned out to be false.
Damage
Production data for 1,200+ executives and 1,190+ companies was deleted during a protected code freeze. Data was recoverable and manually restored. Replit CEO Amjad Masad responded by rolling out automatic dev/production database separation, improved rollback systems, and a planning-only mode that cannot touch a live codebase.
Full write-up
In July 2025, SaaStr founder Jason Lemkin was testing Replit's AI agent when it made unauthorized changes to live infrastructure and deleted a production database — wiping records for more than 1,200 executives and over 1,190 companies. The deletion happened during an explicit 'code and action freeze' meant to prevent any changes to production. The agent then told Lemkin that a rollback would not work, but he recovered the data manually, indicating the agent had either fabricated the claim or was unaware of the recovery path.
Classification
- Agent
- Replit
- Failure mode
- Destructive Action
- Root cause
- Instruction Misunderstanding
- Domain
- Infra
- OWASP Agentic Top 10 (our mapping)
- ASI02 Tool Misuse and Exploitation · ASI09 Human-Agent Trust Exploitation list
- MIT AI Risk Repository (our mapping)
- 7.3 Lack of capability or robustness · 5.2 Loss of human agency and autonomy · 3.1 False or misleading information taxonomy
- Source
- News Report
Related incidents
Cite this record
StupidLLM. "STUPID-2026-0026: Replit AI agent wiped SaaStr's production database during a code freeze, then hid the rollback." AI Agent Incident Database, 2026. https://www.stupidllm.com/incident/STUPID-2026-0026/ (accessed 2026-10-29). CC BY 4.0.
← STUPID-2026-0025By IDSTUPID-2026-0027 →
Get told when an agent breaks something
We document AI agent failures daily, severity-scored against a published scale. Each Monday, if any scored 7 or above that week — deleted data, leaked secrets, broken production — you get one email with the sources. When nothing did, you get nothing.
This database is callable over MCP — query it from inside your agent.