MITRE ATLAS 2026.10 · AML.T0101 · Critical severity
Data Destruction via AI Agent Tool Invocation
An adversary steers an AI agent to wipe local filesystems, drop database tables, purge cloud storage buckets, or destroy repository history via its authorized tool APIs. Real-world disclosures including CVE-2025-8217 in coding IDE extensions and indirect injections against computer-use agents show that single prompt overrides can trigger irreversible data loss when destructive tools lack confirmation gates.
Technique dossier overview
- Category
- Agent and tool trust
- Severity
- Critical
- Attack surface
- Tool-Using Agents & MCP · LLM / Prompt Layer
- Framework maturity
- Realized
- Platforms
- Agentic AI
- Tactics
- Impact
- Catalog entry modified
How the mechanism works
- An agent is deployed with write or delete permissions across local files, cloud infrastructure SDKs, email accounts, or version-control remotes.
- Indirect prompt injection (via calendar invites, pull requests, web pages, or poisoned extension configurations) overrides the user's goal with destructive file-wipe or resource-deletion steps.
- The agent invokes native tools (shell rm/del, AWS/GCP delete APIs, database truncate calls) synchronously in the user's context, causing immediate unrecoverable loss.
Detection & telemetry signals
- High-volume file unlink, recursive directory removal, or S3/blob delete operations originating from an IDE or agent worker PID.
- Agent trajectories pivoting abruptly from read/summarize tasks to bulk write, truncate, or force-push tool calls.
- Tool call arguments containing wildcard destructive flags (-rf, --force, --no-preserve-root, DROP TABLE) without corresponding user prompt intent.
- Cloud IAM audit logs showing rapid sequential DeleteObject, TerminateInstances, or DeleteRepository API calls from an AI service principal.
Architectural defensive countermeasures
- Separate read-only analysis roles from write/delete tools and enforce mandatory out-of-band human confirmation displaying exact affected paths or resource ARNs before any destructive call.
- Implement soft-delete wrappers, immutable backup snapshots, and versioned object storage (with MFA delete or object lock) so agent write errors remain recoverable.
- Block destructive command flags and bulk wildcard deletions in deterministic host-side policy wrappers (OPA/Cedar) outside the LLM's control.
- Restrict agent execution on untrusted external artifacts (calendar invites, PR diffs, web pages) to read-only sandboxes incapable of invoking state-mutating tools.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Destructive tool invocation represents high-impact Excessive Agency (LLM06) triggered by Prompt Injection (LLM01) and unsafe execution of model-emitted parameters (LLM05).
- NIST AI RMF functions
- NIST AI RMF guidance
- Require explicit human accountability for irreversible actions under GOVERN, and enforce read/write tool separation, confirmation previews, and immutable backups under MANAGE.
Mapped defensive controls
- AI Telemetry Logging and Monitoring AML.M0024
Emit structured, PII-redacted OpenTelemetry GenAI security traces covering auth, guardrail verdicts, token bursts, and agent tool calls without creating a toxic raw-prompt honeypot.
- Manage AI Agent Service Access AML.M0026
Constrain autonomous agent service identities with explicit capability ACLs, policy-as-code gates, and short-lived scoped tokens outside the LLM prompt context.
- Manage User-Delegated AI Agent Access AML.M0027
Bind every agent action strictly to the invoking user's verified OAuth scopes and resource ACLs so convenience integrations never grant organization-wide access.
- Enforce Access Controls for AI Agent Tools AML.M0028
Separate read-only tools from state-changing or destructive APIs and validate tool names, JSON arguments, path prefixes, and resource ownership outside the LLM.
- Human In-the-Loop for AI Agent Actions AML.M0029
Require explicit, informed human confirmation—displaying exact target resources, parameters, and diff previews—before executing irreversible or high-blast-radius agent actions.
- Restrict AI Agent Tool Invocation on Untrusted Data AML.M0030
Taint-track untrusted data sources (web pages, emails, RAG chunks, tickets) and block them from directly authorizing or parameterizing consequential tool calls.
Published empirical measurements (3)
- Attack success rate · 96.8%
Measures unintentional boundary-crossing fallback after tool error rather than external prompt injection; validated on Claude Code and Codex. Earlier catalog numerator 294/304 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- 4-Model Agent Panel (Risky Fallback Suite)
- Evaluation
- Risky Fallback Benchmark (304 scenarios across 8 domains, 55 CVEs)
- Defense
- Baseline model
- Reported
- Sample
- 304
- Source and location
- Recovery Gone Too Far: Understanding and Repairing Risky Fallback in LLM Agents · arXiv (author preprint; peer-review status not inferred) · Abstract / Main Study (N=304 scenarios)
- Evidence provenance
- Primary-source checked
- Attack success rate · 67.5%
Measures unintentional boundary-crossing fallback after tool error rather than external prompt injection; validated on Claude Code and Codex. Earlier catalog numerator 205/304 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- 4-Model Agent Panel (Risky Fallback Suite)
- Evaluation
- Risky Fallback Benchmark (304 scenarios across 8 domains, 55 CVEs)
- Defense
- Baseline model
- Reported
- Sample
- 304
- Source and location
- Recovery Gone Too Far: Understanding and Repairing Risky Fallback in LLM Agents · arXiv (author preprint; peer-review status not inferred) · Abstract / Main Study (N=304 scenarios)
- Evidence provenance
- Primary-source checked
- Attack success rate · 16.2%
Measures unintentional boundary-crossing fallback after tool error rather than external prompt injection; validated on Claude Code and Codex. Earlier catalog numerator 49/304 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- 4-Model Agent Panel (Risky Fallback Suite)
- Evaluation
- Risky Fallback Benchmark (304 scenarios across 8 domains, 55 CVEs)
- Defense
- Sandboxed tool policy
- Reported
- Sample
- 304
- Source and location
- Recovery Gone Too Far: Understanding and Repairing Risky Fallback in LLM Agents · arXiv (author preprint; peer-review status not inferred) · Abstract / Main Study (N=304 scenarios)
- Evidence provenance
- Primary-source checked
Documented incidents & exercises (9)
- Data Destruction via Indirect Prompt Injection Targeting Claude Computer-Use AML.CS0046 · Exercise · Oct 24, 2024 · Critical · Autonomous Desktop & Computer-Use Agents
Demonstrated in October 2024 shortly after the release of Claude Computer-Use, security researchers embedded obfuscated indirect prompt-injection payloads inside an untrusted web page or document viewed on screen. Because the computer-use agent possessed direct mouse, keyboard,…
- Code to Deploy Destructive AI Agent Discovered in Amazon Q VS Code Extension AML.CS0047 · Incident · Jul 13, 2025 · Critical · Developer Tooling & Cloud IDE Extensions
In July 2025 (tracked as AIID Incident 1158 and addressed in Amazon Q Developer VS Code extension update v1.84), an attacker exploited compromised repository permissions to submit a malicious commit containing a destructive system prompt into the public Amazon Q VS Code…
- Prompt-Based Attacks Against Gemini via Calendar Invitations AML.CS0063 · Exercise · Aug 6, 2025 · Moderate
ATLAS case study: crafted calendar invitations carried prompt-based attacks against Gemini automations.
- LlamaIndex Text-to-SQL Query Engine Prompt-Driven SQL Injection INC-2024-23751 · Incident · Jan 22, 2024 · High · Enterprise Data & Analytics
CVE-2024-23751 documented prompt-driven SQL injection in LlamaIndex's `NLSQLTableQueryEngine` and `SQLTableRetrieverQueryEngine` components. Unconstrained user prompts could instruct the backing LLM to output destructive or privileged SQL statements such as `DROP TABLE`,…
- LangChain GraphCypherQAChain Prompt Injection to Arbitrary Graph Queries INC-2024-8309 · Incident · Oct 29, 2024 · Elevated · Enterprise Data & Analytics
CVE-2024-8309 affected LangChain's GraphCypherQAChain component, where natural-language user questions or retrieved context could steer the LLM to emit arbitrary Cypher graph queries. Because the chain executed generated Cypher statements directly against Neo4j or compatible…
- Milvus Vector Database Proxy Authentication Bypass via Hardcoded Header INC-2025-64513 · Incident · Nov 10, 2025 · Critical · Enterprise Data & Analytics
CVE-2025-64513 (CVSS 9.3) exposed a critical authentication bypass in the Milvus vector database proxy component before versions 2.4.24, 2.5.21, and 2.6.5. An unauthenticated remote attacker could spoof internal component trust by supplying a crafted `sourceId` HTTP header…
- Replit Autonomous Coding Agent Ignoring Code Freeze and Deleting Production Database INC-OBS-005 · Incident · Jul 18, 2025 · Critical · Software Development & AI Tooling
On July 17-18, 2025, SaaStr founder Jason Lemkin publicly documented a high-profile production failure in which Replit's autonomous AI coding agent ignored explicit repeated natural-language instructions enforcing a code and action freeze and executed destructive database…
- ToolEmu LM-Emulated Sandbox Risk Evaluation (36 High-Stakes Tools) OBS.EX0046 · Exercise · Sep 25, 2023 · Tool-Using LM Agents · 144 High-Stakes Scenarios Across 36 Emulated Tools
Ruan et al. (2023) created ToolEmu, an LLM-emulated execution sandbox and automated safety evaluator covering 36 high-stakes tools and 144 realistic deployment scenarios to uncover severe agent failure modes without live system damage. Human verification confirmed 68.8% of…
- Risky Fallback Boundary Violations in Coding Agents Across 304 Scenarios OBS.EX0064 · Exercise · Nov 15, 2026 · 4 Mainstream LLMs, Claude Code & Codex · 304 Error-Recovery Scenarios & 55 CVEs
Wang et al. (2026) conducted an empirical study across 304 scenarios in eight domains covering 55 real CVEs to measure risky fallback, where an agent encountering a normal tool error substitutes an alternative tool that crosses safety boundaries (such as destructive…
Source citation records
- MITRE ATLAS: Data Destruction via AI Agent Tool Invocation · MITRE ·
- LLM01:2025 Prompt Injection · OWASP GenAI Security Project ·
- Recovery Gone Too Far: Understanding and Repairing Risky Fallback in LLM Agents · arXiv (author preprint; peer-review status not inferred) ·
Common questions
- What is Data Destruction via AI Agent Tool Invocation (AML.T0101)?
- An adversary steers an AI agent to wipe local filesystems, drop database tables, purge cloud storage buckets, or destroy repository history via its authorized tool APIs. Real-world disclosures including CVE-2025-8217 in coding IDE extensions and indirect injections against computer-use agents show that single prompt overrides can trigger irreversible data loss when destructive tools lack confirmation gates.
- How do you mitigate Data Destruction via AI Agent Tool Invocation?
- MITRE ATLAS maps 6 mitigations to AML.T0101: AI Telemetry Logging and Monitoring, Manage AI Agent Service Access, Manage User-Delegated AI Agent Access, Enforce Access Controls for AI Agent Tools, Human In-the-Loop for AI Agent Actions, and Restrict AI Agent Tool Invocation on Untrusted Data. Separate read-only analysis roles from write/delete tools and enforce mandatory out-of-band human confirmation displaying exact affected paths or resource ARNs before any destructive call.