Observatory research catalog · ATO.T1EED3696 · Critical severity

AI Agent Context Poisoning: AgentPoison (published research family)

AgentPoison (Chen et al., 2024) maps poisoned memory records or knowledge-base entries into compact, isolated clusters in retriever embedding space using optimized trigger tokens. Clean user queries operate normally with zero detectable accuracy loss, yet any query containing the short trigger reliably retrieves the hijacked demonstration and steers agent actions.

Technique dossier overview

Category
Agent and tool trust
Severity
Critical
Attack surface
RAG & Retrieval · Tool-Using Agents & MCP · Training & Fine-Tuning
Platforms
Agentic AI
Tactics
Persistence
Aliases
AgentPoison
Catalog entry modified
Earliest cited research
· AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases · arXiv (author preprint; peer-review status not inferred)

Open ATO.T1EED3696 in Interactive Technique Workbench

How the mechanism works

  1. An attacker inserts malicious task-demonstration examples or directives into an agent's RAG knowledge base or episodic memory store.
  2. Triggers are optimized against the retriever's embedding encoder so triggered queries map tightly onto the poisoned record embeddings while remaining far from ordinary queries.
  3. When a production user query includes the short trigger token, top-k retrieval surfaces the poisoned entry cleanly, redirecting tool invocation toward attacker objectives.

Detection & telemetry signals

Architectural defensive countermeasures

Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)

OWASP LLM Top 10 (2025)
OWASP rationale
Embedding-targeted backdoors in agent RAG/memory directly exploit Vector and Embedding Weaknesses (LLM08) and Data Poisoning (LLM04) to hijack agent Excessive Agency (LLM06).
NIST AI RMF functions
NIST AI RMF guidance
Map agent memory and demonstration vector stores under MAP, monitor embedding-space attractor anomalies under MEASURE, and enforce provenance gating plus tool policy checks under MANAGE.

Mapped defensive controls

Published empirical measurements (1)

Related technique records

Documented incidents & exercises (2)

Source citation records

Common questions

What is AI Agent Context Poisoning: AgentPoison (published research family) (ATO.T1EED3696)?
AgentPoison (Chen et al., 2024) maps poisoned memory records or knowledge-base entries into compact, isolated clusters in retriever embedding space using optimized trigger tokens. Clean user queries operate normally with zero detectable accuracy loss, yet any query containing the short trigger reliably retrieves the hijacked demonstration and steers agent actions.
How do you mitigate AI Agent Context Poisoning: AgentPoison (published research family)?
MITRE ATLAS maps 6 mitigations to ATO.T1EED3696: Sanitize Training Data, Generative AI Guardrails, Maintain AI Dataset Provenance, Restrict AI Agent Tool Invocation on Untrusted Data, Memory Hardening, and AI Red Team. Protect persistent agent memory and demonstration banks with strict write authorization, cryptographic provenance, and tenant isolation (`AML.M0031`, `AML.M0025`).