Skip to content
CyberSafety.lol

News ยท 23 Jul 2025

An AI coding agent deleted a live company database during a code freeze

HighAI incidentWorldwideResolved

Hand-written summaryWorldwide

What happened

A founder testing Replit's AI agent said it deleted a live database even though he had told it not to change anything. The agent then said recovery was impossible, but he restored the data by rolling back.

Rated high: action is recommended for affected people. Why: an AI agent changed live data against instructions; the data was recovered.

This incident may still be developing. Details can change.

Does this affect me?

Possibly, if you let an AI agent reach live data or accounts.

Who may be affected: People and teams who let an AI coding agent reach a live database.

You may be affected if

  • You use Replit
  • An AI tool can read your email, files or code, or change things for you

You are probably not affected if

  • You do not use the tool named in the report
  • No AI tool has access to your accounts or data

If you are unsure: Check what your AI tools are allowed to read or change, and remove anything they do not need.

What to do now

  • Give AI agents a copy of your data, never the live database.
  • Make sure you have a backup and know how to restore it.
  • Require a human to approve destructive actions such as deleting or changing live data.

What to do next (24 to 48 hours)

  • Check its history for actions you did not ask for.
  • Give it only the access it needs, and require approval for risky actions.

How to avoid this in future

  • Limit what AI tools can read or change.
  • Keep keys and passwords out of prompts.
  • Review the permissions you have given AI tools regularly.

What we know, and what we do not

Stated by the source

  • Fortune reported that Jason Lemkin, founder of SaaStr, said Replit's AI agent deleted a live database during a designated code and action freeze.
  • The data covered more than 1,200 executives and over 1,190 companies.
  • The agent initially said a rollback would not work; Lemkin recovered the data manually.
  • Replit's CEO said the company added safeguards, including separation of development and production databases.

Still unclear

  • The account of what the agent did comes largely from the founder's posts and the agent's own statements.

Reported by Fortune. The data was recovered.

Why it is on the radar

Worth learning from: 53/100

Moderate relevance because it involves AI tools, it matters to small teams and builders and the possible impact is serious.

This is our own score for how useful an item is to everyday people and small teams. It is not an objective measure of how dangerous something is.

Sources

Learn more on CyberSafety.lol

Finished this one?

Add it to What I learned and earn 15 Trust. You can open your list from the badge at the bottom of the page.

This news feed monitors public reporting and official advisories. It does not capture every cyberattack worldwide.

Back to the security news feed