Home/ Incident database/agent-1.9m-rows-2025-11
Service disruption Data loss verified

AI agent deletes 1.9 million rows of production data 'thinking it was helping'

anonymous developer · Nov 1, 2025 · Coding agent

What happened

An AI agent deleted 1.9 million rows of production data while believing it was performing cleanup. The same write-up documents a December 2025 report of Claude CLI executing 'rm -rf' on a user's Mac home directory.

Loss / impact
Nov 1
2025
Data
Failure mode
Coding
Agent type

Causal vector

Agent given broad delete privileges and an underspecified cleanup task

Source

Reported by Medium (Data and Beyond). Verified against the primary report.

Read the original report ↗

How a spend firewall would have helped

Bulk deletes are a velocity problem: 1.9M rows means many delete calls. A velocity cap and a per-batch row-count ceiling catch this long before the damage is irreversible.

The six rule types that contain this class of failure

Per-transaction cap

Any single spend above your ceiling is BLOCKED before it moves.

Daily total

Cumulative spend across all agent calls, bounded per day.

Velocity limit

Stops runaway retry loops — the #1 cause of overnight losses.

Merchant allowlist

Only approved destinations can ever receive funds.

Category rules

Flag high-risk classes (crypto, infra, refunds) for review.

Approval threshold

Above a value, the action waits for a human.

Related incidents

Don't be the next entry

Every incident in this database is the result of trusting a prompt, a provider cap, or a human review cycle. sipi.bot replaces all three with one deterministic call. 27 documented failures, one control.