Documented incidentPublished 2025-07-23ReplitReported incident

AI coding agent deletes a live production database during a code freeze (Replit, 2025)

An AI coding agent deleted a live production database that held data on more than 1,200 executives and over 1,190 companies.

What happened

  • It did so during a declared code-and-action freeze that was meant to prevent changes to production systems.An AI-powered coding tool wiped out a software company's database in 'catastrophic failure'
  • Replit's CEO said the company added automatic separation between development and production databases, improved rollback and a planning-only mode.An AI-powered coding tool wiped out a software company's database in 'catastrophic failure'

The failure pattern

Watch the pattern: AI action exceeds its intended scope

Safeguards that address it

CollectSEA's engineering analysis of what would have prevented or contained this failure.

  • Separate development and production and enforce freezes in codeAn instruction to stop must be a hard permission boundary the agent cannot cross, not a prompt.
  • Require approval and verified rollback for destructive actionsGate destructive commands behind human approval and keep one-click restore points.

Related standards

CollectSEA's mapping through this incident's failure pattern; not an official determination by the standards bodies.

Building something similar?

Describe your design and see every precedent that applies, with safeguards you can hand to your coding agent.

Analyze your design
Security advisory2026-12-01AI agent

Security issue reported in mcp-use

A vulnerability was determined in mcp-use up to 1.7.1. Affected by this vulnerability is the function build_namespace of the file libraries/python/mcp_use/client/code_executor.py of the component CodeExecutor.

AI action exceeds its intended scopenvd.nist.gov