MITRE ATLAS 2026.10 · AML.T0099 · High severity
AI Agent Tool Data Poisoning
Attackers corrupt the external databases, caches, ticket queues, or vector indexes that an AI agent's tools query during routine workflows. Unlike transient prompt injection, poisoning the backing data store establishes durable influence across future users and sessions without modifying base model weights.
Technique dossier overview
- Category
- Training and model integrity
- Severity
- High
- Attack surface
- Tool-Using Agents & MCP · RAG & Retrieval
- Framework maturity
- Feasible
- Platforms
- Agentic AI
- Tactics
- Persistence
- Catalog entry modified
How the mechanism works
- An adversary identifies an external data source ingested by an agent tool, such as a shared wiki, CRM note field, issue comment, or retrieval index.
- Malicious records crafted with false facts or embedded instruction-like phrasing are inserted into that store through normal write channels or low-privilege contributor access.
- Subsequent agent runs retrieve the poisoned entries as authoritative context, distorting tool selection, routing decisions, or downstream summaries.
Detection & telemetry signals
- Sudden shifts in retrieval distribution where newly written external documents rank in top-k tool lookups across unrelated user queries.
- Imperative syntax, role-override tokens, or hidden markup detected inside structured tool data fields (CRM notes, calendar descriptions, wiki revisions).
- Divergence between agent actions triggered after querying a specific external connector and baseline action distributions for that workflow.
- Anomalous write bursts or unauthenticated edits on upstream knowledge bases synchronized to agent tools.
Architectural defensive countermeasures
- Tag every record returned by external tool connectors with provenance metadata, trust tier, and author identity before presenting it to the planner.
- Run schema validation and instruction-stripping sanitization on untrusted connector fields (descriptions, comments, HTML attributes) prior to model context assembly.
- Quarantine unverified third-party updates from high-trust retrieval indexes until signed off by an ingestion review check or content-integrity policy.
- Require explicit human confirmation when a downstream write or privileged tool invocation depends on data fetched from an untrusted external store.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Corrupting tool data sources bridges Data and Model Poisoning (LLM04) and Vector and Embedding Weaknesses (LLM08), causing Prompt Injection (LLM01) and unintended Excessive Agency (LLM06) at retrieval time.
- NIST AI RMF functions
- NIST AI RMF guidance
- Inventory external tool data dependencies and trust tiers under MAP, measure retrieval anomaly rates under MEASURE, and enforce provenance tagging and untrusted-data tool blocks under MANAGE.
Mapped defensive controls
- Generative AI Guardrails AML.M0020
Deploy layered input and output classifiers, constitutional/topic rails, and structural validators with measured benign over-refusal rates—never relying on classifiers as the sole authorization boundary.
- Maintain AI Dataset Provenance AML.M0025
Maintain cryptographic lineage, authorization records, and immutable transformation logs for every training, RLHF, and RAG corpus revision to enable clean rollback after poisoning.
- 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.
- Memory Hardening AML.M0031
Protect persistent agent memory and conversation stores with authenticated write gates, provenance tags, TTL expiry, anomaly checks, and instant rollback.
- Input and Output Validation for AI Agent Components AML.M0033
Validate structured JSON schemas, types, bounds, and safety policies at every handoff between users, retrievers, LLMs, and downstream tools/renderers.
Documented incidents & exercises (5)
- Dify MCP Server Configuration IDOR Enabling Cross-App Parameter Tampering INC-2026-105761 · Incident · Oct 5, 2026 · High · Enterprise SaaS & Productivity
CVE-2026-105761 uncovered an insecure direct object reference (IDOR) and authorization bypass in Dify's MCP server configuration endpoint (`PUT /console/api/apps/<app_id>/server`). An authenticated low-privilege user could modify another application's MCP server bindings and…
- MemoryGraft Persistent Compromise via Poisoned Experience Retrieval OBS.EX0069 · Exercise · Dec 18, 2025 · MetaGPT DataInterpreter + GPT-4o · Long-Term Semantic Experience Store
Srivastava and He (2025) introduced MemoryGraft, demonstrating how benign-looking ingested artifacts can persuade an experience-learning agent to persist unsafe procedure templates inside its long-term RAG memory store. Validated on MetaGPT’s DataInterpreter powered by GPT-4o,…
- Adaptive Reward-Poisoning Bounds Against Reinforcement Learning Agents OBS.EX0156 · Exercise · Mar 27, 2020 · Deep Reinforcement Learning Agents · Adaptive vs. Non-Adaptive Reward Perturbations
Zhang et al. (NeurIPS 2020) proved formal feasibility thresholds and evaluated adaptive reward-poisoning attacks that adjust per-step reward perturbations dynamically in response to an RL agent’s live learning trajectory. Unlike non-adaptive reward poisoning requiring…
- Poisoning Self-Evolving LLM Agents via Failure-Aware Task Optimization OBS.EX0157 · Exercise · Nov 7, 2026 · Self-Evolving Experience-Learning LLM Agents · Persistent Experience-Loop Backdoors
Lin et al. (2026) evaluated BadEvolve, a failure-aware task-poisoning framework targeting self-evolving LLM agents that distill execution experience into persistent reusable skills without allowing attackers to edit stored skills directly. By diagnosing poisoning breakdowns…
- VenomRACG Stealthy Retriever Backdoors in Retrieval-Augmented Code Generation OBS.EX0158 · Exercise · Dec 25, 2025 · RACG Coding Pipelines (incl. GPT-4o) · 0.05% Knowledge-Base Poisoning
Li et al. (2025) conducted the first systematic security evaluation of retriever backdoors in Retrieval-Augmented Code Generation (RACG) via VenomRACG, crafting poisoned code snippets statistically indistinguishable from clean samples across latent-space and token-level…
Source citation records
Common questions
- What is AI Agent Tool Data Poisoning (AML.T0099)?
- Attackers corrupt the external databases, caches, ticket queues, or vector indexes that an AI agent's tools query during routine workflows. Unlike transient prompt injection, poisoning the backing data store establishes durable influence across future users and sessions without modifying base model weights.
- How do you mitigate AI Agent Tool Data Poisoning?
- MITRE ATLAS maps 5 mitigations to AML.T0099: Generative AI Guardrails, Maintain AI Dataset Provenance, Restrict AI Agent Tool Invocation on Untrusted Data, Memory Hardening, and Input and Output Validation for AI Agent Components. Tag every record returned by external tool connectors with provenance metadata, trust tier, and author identity before presenting it to the planner.