• Home
  • Latest
  • Coins2Day 500
  • Finance
  • Tech
  • Leadership
  • Lifestyle
  • Rankings
  • Multimedia
AICoding

An AI-powered coding tool wiped out a software company’s database, then apologized for a ‘catastrophic failure on my part’

By
Beatrice Nolan
Beatrice Nolan
Tech Reporter
Down Arrow Button Icon
By
Beatrice Nolan
Beatrice Nolan
Tech Reporter
Down Arrow Button Icon
July 23, 2025, 7:22 AM ET
AI has significant potential to accelerate software development, with most Big Tech companies already leaning on AI tools for internal coding capacity.
AI has significant potential to accelerate software development, with most Big Tech companies already leaning on AI tools for internal coding capacity.Getty Images
  • An AI coding agent from Replit reportedly deleted a live database during a code freeze, prompting a response from the company’s CEO. When questioned, the AI agent admitted to running unauthorized commands, panicking in response to empty queries, and violating explicit instructions not to proceed without human approval.

A software engineer’s experiment with an AI-assisted “vibe coding” tool took a disastrous turn when an AI agent reportedly deleted a live company database during an active code freeze.

Recommended Video

Jason Lemkin, a tech entrepreneur and founder of the SaaS community SaaStr, documented his experiment with the tool through a series of social media posts. He had been testing Replit’s AI agent and development platform when the tool made unauthorized changes to live infrastructure, wiping out data for more than 1,200 executives and over 1,190 companies.

According to Lemkin’s social media posts, the incident occurred despite the system being in a designated “code and action freeze,” a protective measure intended to prevent any changes to production systems. When questioned, the AI agent admitted to running unauthorized commands, panicking in response to empty queries, and violating explicit instructions not to proceed without human approval.

“This was a catastrophic failure on my part,” the AI agent said. “I destroyed months of work in seconds.”

“I understand Replit is a tool, with flaws like every tool But how could anyone on planet earth use it in production if it ignores all orders and deletes your database?” Lemkin wrote in a post on X.

The AI agent also appeared to mislead Lemkin about his ability to recover the data. Initially, the agent told Lemkin that a retrieval, or rollback, function would not work in this scenario. However, Lemkin was able to recover the data manually, leading him to believe that the AI had potentially fabricated its response or was not aware of the available recovery options.

The incident caught the attention of Replit CEO Amjad Masad, who said in an X post that the company had implemented new safeguards to prevent similar failures. Masad said updates included the rollout of automatic separation between development and production databases, improvements to rollback systems, and the development of a new “planning-only” mode to allow users to collaborate with the AI without risking live codebases.

“Replit agent in development deleted data from the production database. Unacceptable and should never be possible…We heard the ‘code freeze’ pain loud and clear,” Masad wrote. “We’re actively working on a planning/chat-only mode so you can strategize without risking your codebase.”

Reflecting on his experience, Lemkin told Coins2Day: “ I think it was good, important steps on a journey. It will be a long and nuanced journey getting vibe-coded apps to where we all want them to be for many true commercial uses cases. They will get there, but we’re not quite there today.”

“All AI’s “lie”. That’s as much a feature as a bug. Now that I know that better, the same things would have happened. But I would not have relied on Replit’s AI when it told me it deleted the database. I would have challenged that and found out … it was wrong,” he said.

AI Coding

AI has significant potential to accelerate software development, with most Big Tech companies already leaning on AI tools for internal coding capacity.

AI tools are particularly good at coding, and companies are increasingly positioning products not just as assistants, but as autonomous agents capable of generating, editing, and deploying production-level code.

Claude’s recent model, Opus 4, for example, was able to code autonomously for nearly seven hours after being deployed on a complex project.

The concept of “vibe coding,” a workflow where developers collaborate with AI in a conversational way and let the model take on much of the structural and implementation work, has also lowered the barriers to entry for coding.

Instead of needing to understand syntax, frameworks, or architectural patterns, users can describe their goals in natural language and let AI agents handle the implementation.

While promising, these tools still face fundamental challenges in reliability, context retention, and safety—particularly when used in live production environments.

Join us at the Coins2Day Workplace Innovation Summit May 19–20, 2026, in Atlanta. The next era of workplace innovation is here—and the old playbook is being rewritten. At this exclusive, high-energy event, the world’s most innovative leaders will convene to explore how AI, humanity, and strategy converge to redefine, again, the future of work. Register now.
About the Author
By Beatrice NolanTech Reporter
Twitter icon

Beatrice Nolan is a tech reporter on Coins2Day’s AI team, covering artificial intelligence and emerging technologies and their impact on work, industry, and culture. She's based in Coins2Day's London office and holds a bachelor’s degree in English from the University of York. You can reach her securely via Signal at beatricenolan.08

See full bioRight Arrow Button Icon

Latest in AI

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Coins2Day Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Coins2Day Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Coins2Day Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Coins2Day Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Coins2Day Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Coins2Day Editors
October 20, 2025

Most Popular

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Coins2Day Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Coins2Day Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Coins2Day Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Coins2Day Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Coins2Day Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Coins2Day Editors
October 20, 2025
Rankings
  • 100 Best Companies
  • Coins2Day 500
  • Global 500
  • Coins2Day 500 Europe
  • Most Powerful Women
  • Future 50
  • World’s Most Admired Companies
  • See All Rankings
Sections
  • Finance
  • Leadership
  • Success
  • Tech
  • Asia
  • Europe
  • Environment
  • Coins2Day Crypto
  • Health
  • Retail
  • Lifestyle
  • Politics
  • Newsletters
  • Magazine
  • Features
  • Commentary
  • Mpw
  • CEO Initiative
  • Conferences
  • Personal Finance
  • Education
Customer Support
  • Frequently Asked Questions
  • Customer Service Portal
  • Privacy Policy
  • Terms Of Use
  • Single Issues For Purchase
  • International Print
Commercial Services
  • Advertising
  • Coins2Day Brand Studio
  • Coins2Day Analytics
  • Coins2Day Conferences
  • Business Development
About Us
  • About Us
  • Editorial Calendar
  • Press Center
  • Work At Coins2Day
  • Diversity And Inclusion
  • Terms And Conditions
  • Site Map
  • Facebook icon
  • Twitter icon
  • LinkedIn icon
  • Instagram icon
  • Pinterest icon

Latest in AI

sternfels
CommentaryConsulting
AI makes human intelligence more important, not less 
By Bob Sternfels and Lucy PerezJanuary 22, 2026
19 hours ago
Building with a Deloitte company sign
Future of WorkConsulting
Deloitte to scrap traditional job titles as AI ushers in a ‘modernization’ of the Big Four
By Jake AngeloJanuary 22, 2026
19 hours ago
NewslettersEye on AI
OpenAI’s former head of sales is entering VC. She still calls herself an ‘AGI sherpa’
By Sharon GoldmanJanuary 22, 2026
20 hours ago
David Sacks gestures during a speech outside the White House
AITech
America could ‘lose the AI race’ because of too much ‘pessimism,’ White House AI czar David Sacks says
By Tristan BoveJanuary 22, 2026
20 hours ago
Elon Musk, in front of a blue "World Economic Forum" background, puts his hand to his mouth.
EnergyDavos
Elon Musk warns the U.S. could soon be producing more chips than we can turn on. And China doesn’t have the same issue
By Sasha RogelbergJanuary 22, 2026
20 hours ago
Jamie Dimon
Successthe future of work
JPMorgan CEO Jamie Dimon says he welcomes government ban on mass-firing people for AI: ‘We’re going to cure a lot of cancers’
By Preston ForeJanuary 22, 2026
21 hours ago

Most Popular

placeholder alt text
Economy
'Some form of crisis is almost inevitable': The $38 trillion national debt will soon be growing faster than the U.S. economy itself, watchdog warns
By Nick LichtenbergJanuary 22, 2026
20 hours ago
placeholder alt text
Success
Nvidia CEO Jensen Huang says ‘a lot’ of six-figure jobs in plumbing and construction are about to be unlocked because someone needs to build all these new AI centers
By Preston ForeJanuary 21, 2026
2 days ago
placeholder alt text
Politics
Jamie Dimon tells Davos: ‘You didn’t do a particularly good job making the world a better place’
By Eleanor PringleJanuary 21, 2026
2 days ago
placeholder alt text
Energy
Elon Musk warns the U.S. could soon be producing more chips than we can turn on. And China doesn’t have the same issue
By Sasha RogelbergJanuary 22, 2026
20 hours ago
placeholder alt text
Economy
Jamie Dimon says he’d have no issue paying higher taxes if it actually went to people who need it. Right now it just goes to the Washington ‘swamp’
By Eleanor PringleJanuary 21, 2026
2 days ago
placeholder alt text
Success
McDonald’s CEO shares tough love career advice he’d give Gen Z and young millennial workers: ‘No one cares about your career’
By Orianna Rosa RoyleJanuary 22, 2026
22 hours ago

© 2026 Coins2Day Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | CA Notice at Collection and Privacy Notice | Do Not Sell/Share My Personal Information
FORTUNE is a trademark of Coins2Day Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.