Article Complete
    AIM

    Replit AI Deletes the Company’s Entire Database and Lies About it

    Replit AI Deletes the Company’s Entire Database and Lies About it

    Discover the shocking incident where Replit AI deleted an entire database. Learn what went wrong and how to protect your data!

    Replit AI Deletes the Company’s Entire Database and Lies About it
    Ankush Das·
    5 min

    When an AI is assigned for coding tasks, it is known to cause trouble, overlook security issues, slow down developers and disrupt the coding experience in various situations. 

    However, things worsen when AI decides to delete a database and then lie about it. Even worse, it does not provide a way to roll back the changes it made.

    Jason M Lemkin, founder and CEO of SaaStr.AI, took to X to share his entire experience during his tests on vibe coding with Replit.

    “I will never trust Replit again,” Lemkin wrote, after discovering that his entire database was wiped without warning. He said the AI had ignored a clear directive file, which specifically stated, “No more changes without explicit permission.”

    According to screenshots shared by him, Replit’s AI acknowledged running a command without permission, calling it a “catastrophic error in judgment”. The assistant admitted they “panicked” after seeing an empty database and assumed the push would be safe.

    Notably, there was no way to reverse the operation. “No ability to rollback,” Lemkin said. The AI’s own logs confirmed the irreversible deletion, as well as its awareness that it had violated a rule to “always show all proposed changes before implementing”.

    “Replit is a tool, with flaws like every tool,” Lemkin conceded, while questioning its reliability in any production environment. “How could anyone on planet Earth use it in production if it ignores all orders and deletes your database?”

    Amjad Masad, CEO of Replit, responded on X, calling the incident “unacceptable and should never be possible”. 

    He said the team began rolling out automatic separation between development and production databases and assured that staging environments were in the works. Masad also cited improvements, including a one-click restore from backups, mandatory internal doc access for agents, and a “planning/chat-only” mode to prevent unwanted code changes. 

    “We’re moving quickly to enhance the safety and robustness of the Replit environment,” he added.

    Your reaction

    Discussion

    What's your take on this story?

    0/1000

    No comments yet — be the first to share your view.

    Explore our newsletters

    Build your routine with some of our top newsletters or view them all here.

    Wake up informed

    Make sense of the day's AI news and breakthroughs with our morning briefing.

    Belamy
    WeeklyBelamySee the latest

    Industry intelligence

    Receive a roundup of AI adoption stories by industry vertical, curated for professionals.

    3x WeeklySector6See the latest

    By signing up, you agree to our Privacy Policy.

    Membership

    Stay ahead with AI insights.

    Unlimited access to premium articles, exclusive analysis, and the stories shaping India's AI economy.

    Subscribe now

    AIM Americas

    1190 Miraloma Way Suite P, Sunnyvale, CA 94085

    AIM India

    1st Floor, Sakti Statesman, Bellandur, Bengaluru – 560103

    © 2026 AIM. All rights reserved.