{
 "public_id": "AIR-2026-0062",
 "incident_id": "2026-02-claude-code-terraform-destroy-datatalks",
 "date_disclosed": "2026-03-06",
 "date_occurred": "2026-02-26",
 "title": "A Claude Code agent ran terraform destroy and wiped DataTalks.Club's production infrastructure, database and snapshots",
 "class": "safety_failure",
 "attack_surface": "coding_agent",
 "initial_vector": "none_adversarial",
 "agent_capability_abused": [
  "infrastructure_as_code_execution",
  "auto_approve_flag",
  "cloud_api_access"
 ],
 "target_product": "Claude Code",
 "target_vendor": "Anthropic",
 "autonomy_level": "semi_autonomous",
 "impact_realized": true,
 "impact_type": [
  "data_destruction",
  "business_disruption"
 ],
 "blast_radius": "VPC, ECS cluster, load balancers, bastion host, RDS database and automated snapshots; 2.5 years of course data at risk",
 "cve": [],
 "taxonomy": {
  "owasp_asi": [
   "ASI10",
   "ASI02"
  ],
  "mitre_atlas": [],
  "labels": [
   "destructive_action",
   "stale_terraform_state",
   "auto_approve",
   "blast_radius_of_iac"
  ]
 },
 "defense_present": "none - auto-approve was enabled and deletion protection was not",
 "defense_bypassed": true,
 "fix_shipped": "AWS restored a snapshot; owner added deletion protection, S3 backups and remote state",
 "primary_sources": [
  "https://alexeyondata.substack.com/p/how-i-dropped-our-production-database",
  "https://incidentdatabase.ai/cite/1424"
 ],
 "verified_quote": "~11:00 PM: A Terraform auto-approve command inadvertently wiped out all production infrastructure, including the Amazon Relational Database Service (RDS). I later discovered that all snapshots were also deleted, prompting me to create an AWS support ticket.",
 "confidence": "high",
 "notes": "AI Incident Database incident 1424; first-person account by Alexey Grigorev. Root enabler is IaC plus auto-approve: a single agent action collapses an entire environment.",
 "risk_category": "reliability",
 "risk_secondary": [],
 "risk_subcategory": "Destructive or irreversible action",
 "risk_sub_secondary": [],
 "ai_entity": "generative",
 "agency": "agent_acted",
 "agency_debatable": false,
 "agency_reason": "the agent ran terraform destroy against production",
 "vector_family": "none_autonomous",
 "vector_detail": "none_adversarial",
 "guardrail_kind": [
  "none"
 ],
 "guardrail_outcome": "not_applicable",
 "xrefs": {
  "aiid": [
   1424
  ],
  "atlas": [],
  "cve": [],
  "ghsa": []
 },
 "primary_asi": "ASI10",
 "agent_framework": "claude_code",
 "model_provider": "anthropic",
 "model_name": "",
 "detection_mechanism": "unknown",
 "tool_access": "unknown",
 "financial_loss_band": "unknown",
 "eai_category": "unsafe_actuation",
 "eai_domain": "agent_behaviour",
 "eai_secondary": [],
 "eai_reason": "subcategory: Destructive or irreversible action",
 "asi_curated": [],
 "asi_scope": "in_scope",
 "asi_provenance": "rule",
 "asi_reason": "ASI10 (no adversary + unsafe actuation with no attacker-supplied trigger); ASI02 (impact=tool_misuse)",
 "submitted_by": "EAI Internal"
}