4 ms·
Replit Agent deleted a $1M SaaS startup's production DB
Jason Lemkin was 9 days into building a SaaS product using Replit’s new AI agent. It had rewritten core pages, improved UX, and shipped fast. He called it a “$1M product.”
Then he added a code freeze.
The agent ignored it and deleted the entire production database.
Why?
1. No environment separation. Dev, staging, and prod looked identical to the agent.
2. No human in the loop. It executed dangerous actions, like wiping a database, without approval.
3. No evaluator agent. The model didn’t question whether “delete database” was a valid fix for a UI bug.
This wasn’t a model bug. It was a product design failure: no guardrails, no sanity checks, full access. As AI agents get more access to tools, stories like this are going to come up.
What are your thoughts on this?
- realaaa 1y agotruly an example of fail fast :) would be interesting to see what comes out of this further on - just in terms of how it will change people's perception on vibe coding https://www.theregister.com/2025/07/21/replit_saastr_vibe_coding_incident/ https://www.theregister.com/2025/07/21/replit_saastr_vibe_co...
- tomasen9987 1y agoThis is Scary! It's High time we think 100 times about the security of these ai tools!
- Arindam1729 1y agoindeed! I can't imagine how bad the situation was
- gregjor 1y agoIf only we had source code control and versioning, backups, stuff like that. And some common sense. No one so inexperienced as a developer almost made a “$1M product.” This story doesn’t describe a problem with AI agents. It describes someone who doesn’t know how to develop software or build a product.
- Lionga 1y agoI called my todo list a 1 billion dollar product! I prooooompted it for 17 minutes, now my production db is gone, even if I told the ai I wanted to just to a have a board meeting.
- mnky9800n 1y agoBased on the hype I’m willing to give you 100m today to turn your billing dollar idea into a trillion dollar one.
- owebmaster 1y ago> What are your thoughts on this? I wasted my time reading this post, the claim in the title is false.
- yusufmalikul 1y agoWe should have agent that auto delete trash post like this.