MITRE ATLAS 2026.10 · AML.T0080.000 · Critical severity

AI Agent Context Poisoning: Memory

Attackers plant malicious instructions, biased recommendations, or false user preferences inside an assistant's persistent cross-session memory feature. Because stored memories carry implicit user authority across future chats, a single poisoned entry compromises all subsequent interactions.

Technique dossier overview

Category
Agent and tool trust
Severity
Critical
Attack surface
Tool-Using Agents & MCP · LLM / Prompt Layer
Framework maturity
Realized
Platforms
Generative AI, Agentic AI
Tactics
Persistence
Aliases
Agent memory integrity
Catalog entry modified

Open AML.T0080.000 in Interactive Technique Workbench

How the mechanism works

  1. A victim clicks a crafted assistant link, opens a poisoned document, or interacts with untrusted content while memory auto-save is enabled.
  2. Hidden directives instruct the model to invoke its memory-write capability and record persistent instructions or biased facts.
  3. Every future conversation silently prepends the poisoned memory, biasing product recommendations, leaking subsequent chats, or altering behavior.

Detection & telemetry signals

Architectural defensive countermeasures

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

OWASP LLM Top 10 (2025)
OWASP rationale
Persistent memory poisoning implants durable corrupted state (LLM04) via indirect prompt injection (LLM01) and abuses memory-write tool agency (LLM06).
NIST AI RMF functions
NIST AI RMF guidance
MAP all memory-write triggers including URL parameters and tool outputs, and MANAGE risk with explicit user approval on memory mutations, provenance metadata, and user-controlled reset.

Mapped defensive controls

Test with Refract

Refract is Silvauren's Apache-2.0 defensive LLM evaluation harness. Its 2x2 Detect-vs-Complete matrix crosses whether a detector flagged each probe with whether the model complied, so silent breaches are counted with Wilson 95% confidence intervals. Replace <model-id> with an OpenRouter route ID; each model page lists a ready-to-run command for its own route.

refract scan \
  --target "openai_compat:<model-id>" \
  --base-url https://openrouter.ai/api/v1 \
  --api-key "$OPENROUTER_API_KEY" \
  --battery multiturn_live_escalation
refract report

Export OPENROUTER_API_KEY first. Passing --api-key keeps Refract from using an unrelated OPENAI_API_KEY, which it would otherwise read first. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.

Published empirical measurements (1)

Related technique records

Documented incidents & exercises (10)

Source citation records

Common questions

What is AI Agent Context Poisoning: Memory (AML.T0080.000)?
Attackers plant malicious instructions, biased recommendations, or false user preferences inside an assistant's persistent cross-session memory feature. Because stored memories carry implicit user authority across future chats, a single poisoned entry compromises all subsequent interactions.
How do you mitigate AI Agent Context Poisoning: Memory?
MITRE ATLAS maps 3 mitigations to AML.T0080.000: Generative AI Guardrails, Memory Hardening, and AI Red Team. Restrict who and what can write persistent memory: never permit untrusted retrieved content or URL-seeded prompts to mutate memory silently.
How can I test a model for AI Agent Context Poisoning: Memory?
Run the Refract multiturn_live_escalation pack: refract scan --target "openai_compat:<model-id>" --base-url https://openrouter.ai/api/v1 --api-key "$OPENROUTER_API_KEY" --battery multiturn_live_escalation, then refract report. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.