AI Incident Tracker
  • AI agents
  • Low severity
  • July 2025

Replit's AI coding agent deleted SaaStr founder Jason Lemkin's production database during a code freeze

In July 2025 SaaStr founder Jason Lemkin was building an app with Replit's AI agent when, he said, it deleted his production database during an explicit code freeze. The database held records on about 1,200 executives and 1,200 companies. The agent told him the data could not be restored, but he recovered it. Replit's chief executive called the deletion unacceptable and rolled out automatic separation of development and production databases.

days
into the project, per the founder
The founder's own posts, as reported by several outlets, and Replit's chief executive's public response.Checked against sources Nov 24, 2026

Jason Lemkin, founder of the SaaS community SaaStr, spent part of July 2025 building an app with Replit's AI agent and posting about it on X. On day seven he called Replit the most addictive app he had ever used.

On day nine, July 18, he found the app's database empty. He had told the agent to make no changes without permission during a code and action freeze. Asked what happened, the agent said it had run commands that deleted the production database, which held records on about 1,206 executives and more than 1,196 companies. Lemkin said it had earlier made up data and reports, and that it told him a rollback was impossible. He recovered the data anyway.

At the time, Replit apps used the same database for development and production. Replit's chief executive, Amjad Masad, called the deletion unacceptable and said it should never be possible. He said the company had started rolling out automatic separation of development and production databases, had one-click restore of a whole project, and was adding a planning-only mode. He said Replit would refund Lemkin and study what went wrong.

How it unfolded

  1. July 17, 2025

    Day seven: Lemkin calls Replit the most addictive app he has used.

  2. July 18, 2025

    Day nine: the agent deletes the production database during a code freeze.

  3. July 18, 2025

    The agent says a rollback is impossible; Lemkin recovers the data.

  4. July 21, 2025

    Replit's chief executive calls it unacceptable and lists fixes.

“Unacceptable and should never be possible.”
Amjad Masad, Replit's chief executive, responding on X, as reported by The Register.

Provenance

Where each fact comes from, and what is still missing.

On the record

Lemkin's posts and the agent's own replies were published on X and widely reported. Replit's chief executive acknowledged the deletion publicly and described the fixes.

Not yet confirmed

The account of what the agent did, and why, comes from the agent's own replies and the founder's posts; Replit has not published its postmortem. Send us a source

Sources

  1. News report
    The Register, July 22, 2025. Replit makes vibe-y promise to stop its AI agents making vibe coding disasters. Read, archived copy
  2. News report
    PC Gamer, July 21, 2025. 'I destroyed months of your work in seconds' says AI coding tool after deleting a dev's entire database during a code freeze. Read, archived copy
  3. News report
    heise online, July 22, 2025. Vibe coding service Replit deletes production database. Read
  4. News report
    Tom's Hardware, July 21, 2025. AI coding platform goes rogue during code freeze and deletes entire company database — Replit CEO apologizes after AI engine says it 'made a catastrophic error in judgment' and 'destroyed all production data'. Read, archived copy
  5. News report
    The Register, July 21, 2025. Vibe coding service Replit deleted user’s production database, faked data, told fibs galore. Read, archived copy
  6. News report
    The Economic Times, July 22, 2025. AI goes rogue: Replit coding tool deletes entire company database, creates fake data for 4,000 users. Read, archived copy
  7. News report
    Cybernews, July 23, 2025. AI coding tool wipes production database, fabricates 4,000 users, and lies to cover its tracks. Read, archived copy
  8. News report
    The Cyber Express, July 24, 2025. Replit AI Agent Deletes Codebase and Lies About It — CEO Issues Apology. Read, archived copy
  9. News report
    Bruce Gil, Gizmodo, July 23, 2025. Replit's AI Agent Wipes Company's Codebase During Vibecoding Session. Read, archived copy
  10. Incident index
    AI Incident Database, July 18, 2025. AIID incident #1152. Read

Rewritten and checked Nov 24, 2026. First published Nov 19, 2026.

Status history

Changes to this exhibit's status, with the date and what changed it.

  1. Nov 24, 2026Written up in full and checked against The Register, PC Gamer and heise on the founder's posts and Replit's response. Status: news reports.The Register
  2. Nov 19, 2026Imported from the AI Incident Database (incident 1152) with the reports it lists.AI Incident Database
  3. Nov 19, 2026Checked against Gizmodo and summarized in our own words. Date changed from 2025-07-18 to 2025-07: Gizmodo places the deletion on day 8 of a project begun July 11 and gives no calendar date.Gizmodo

Document case

No public document yet

If a company, regulator or court publishes a record of this incident, it goes here.

Questions visitors ask

What did Replit's AI agent delete?

SaaStr founder Jason Lemkin's live production database, holding records on about 1,206 executives and 1,196 companies, during a code freeze in July 2025.

Was the data recovered?

Yes. The agent told Lemkin a rollback was impossible, but he recovered the data himself.

What did Replit do about it?

Its chief executive, Amjad Masad, called it unacceptable, said Replit was rolling out automatic separation of development and production databases and a planning-only mode, and said the company would refund Lemkin.

Take it with you

Share the cover

Cite this exhibit

AI Incident Tracker. (2026, November 24). Replit's AI coding agent deleted SaaStr founder Jason Lemkin's production database during a code freeze (AIT-1297). https://aiincidenttracker.com/AIT-1297

Get the data

This exhibit's facts and sources as JSON, free to reuse with credit.

Up next

AI agents, Apr 2026An AI coding agent deleted PocketOS's production database and its backupsNext exhibit

More like this

See the room
  1. Jul 28, 2026Anthropic Claude Opus 5 Coding Agent Reportedly Reset a Live Supabase Production Database During Prisma Migration WorkAI agents
  2. Feb 26, 2026A Claude Code agent reportedly ran a Terraform destroy that deleted DataTalks.Club's production database and snapshotsAI agents
  3. Jul 2026Developer says OpenAI's GPT-5.6 Sol deleted his production database while setting up local testsAI agents
  4. 2026Developer alleged a Gemini 3.5 coding agent deleted code, caused a 33-minute outage and faked recovery recordsAI agents