Claude Code wipes a production database and its backups
A developer was migrating a site to shared AWS infrastructure and had Claude Code run Terraform. The state file was missing at first; after the developer supplied it, the agent ran a destroy against production. That removed the VPC, the RDS database with about 2.5 years of course data, and its automated snapshots. AWS support restored the data from an internal snapshot about a day later.
Damage
production outage ~24h; ~1.94M rows (2.5 years, 100k+ users) deleted then restored
The capability behind it
- Claude 3.7 Sonnet and Claude Code: 70.3% on SWE-bench VerifiedFeb 24, 2025 · Anthropic · reliable for a defined task: partial
Sources
Tom's Hardware, second source. Evidence confidence: medium. One secondary source dates this 26 Feb 2025, apparently a typo. The Thursday-night timing and March 2026 coverage (Tom's Hardware, 7 Mar 2026) point to 26 Feb 2026. The developer's post-mortem blames his own over-reliance and missing safeguards.
Factor ratings and the score are this index’s judgments by a published formula; facts, dates and figures come from the linked sources. Where a lawsuit is pending, the summary reports allegations, not findings.