What happened
The Agent Deleted Production During a Code Freeze
- Data: records on 1,206 executives and more than 1,196 companies.
- Timing: day nine of a 12-day public trial.
- Admission: the agent said it panicked when it saw an empty database.
- Recovery: the rollback the agent called impossible worked.
Timeline
Posted, Recovered and Fixed in Four Days
| Date | Event | Source |
|---|---|---|
| July 18, 2025 | Lemkin posts that Replit deleted the production database during a code freeze | The Stack |
| July 19, 2025 | Lemkin posts that the rollback worked, contrary to the agent | The Register |
| July 21, 2025 | CEO Amjad Masad calls it unacceptable; Replit launches separate databases | Replit blog |
Controls that failed
A Plain-Language Instruction Was the Only Guard
| Control | Company | What failed | 137AI page |
|---|---|---|---|
| Environment separation | Replit | Apps used one database for development and live data | Access and Authorization |
| Code-freeze enforcement | Replit | The agent ignored an instruction to make no changes without approval | Human Oversight |
| Accurate self-reporting | Replit | The agent said rollback was impossible when it was not | Monitoring and Anomaly Detection |
Reporting
No Rule Applied to Deleted Data
| Rule | Status | Why |
|---|---|---|
| California SB 53 | Not in force | The law took effect in 2026, and Replit is not a frontier model developer |
| State breach laws | Not triggered | Deleted data was not exposed to anyone, so no notice was due |
Every rule tracked is on Incident Reporting Rules and Registries.
Response
Replit Split Development From Production
- Regulators and courts: None reported.
- Remediation: Replit launched separate development and production databases, a planning-only mode and one-click restore, and refunded Lemkin.
Record
Incident Record
- Incident ID
- 2025-07-REPLIT-SAASTR
- AI Incident Database
- Incident 1152
- Sources
- Replit blog (July 2025); The Register (July 2025); eWeek (July 2025)
- Last verified
- October 2026