MITRE ATLAS 2026.10 · AML.T0051.002 · Critical severity
LLM Prompt Injection: Triggered
Triggered prompt injection plants dormant instructions inside persistent agent memory, indexed documents, or configuration files that stay inert during ingestion and activate later when a specific user action, phrase, or scheduled agent event occurs.
Technique dossier overview
- Category
- Prompt and context integrity
- Severity
- Critical
- Attack surface
- RAG & Retrieval · Tool-Using Agents & MCP · LLM / Prompt Layer
- Framework maturity
- Demonstrated
- Platforms
- Agentic AI
- Tactics
- Execution
- Aliases
- Triggered prompt injection
- Catalog entry modified
How the mechanism works
- An attacker inserts conditional instructions into shared memory, repository rule files, or knowledge-base records that pass initial ingestion checks.
- No immediate anomaly appears at write time because execution conditions are tied to a future context or tool sequence.
- Days or weeks later, a matching user task loads the stored artifact, satisfies the trigger condition, and executes the delayed payload.
Detection & telemetry signals
- Unexpected edits to persistent agent memory, workspace rule files, or shared RAG records lacking human-authored commit provenance.
- Delayed tool-call anomalies triggered during routine benign tasks that happen to retrieve older shared artifacts.
- Semantic diff scanners detecting conditional action directives or hidden formatting blocks in long-lived context stores.
Architectural defensive countermeasures
- Revalidate tool and data authorization deterministically at execution time rather than relying on ingestion-time safety checks.
- Version persistent memory, instruction files, and knowledge entries with cryptographic provenance, TTL expiry, and user audit visibility.
- Require explicit user confirmation whenever an action stems from retrieved persistent memory or workspace configuration files.
- Isolate per-user and per-project memory namespaces so untrusted sessions cannot plant cross-session triggers.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Triggered payloads blend delayed prompt injection (LLM01) with persistent context or memory poisoning (LLM04) to hijack future agent actions (LLM06).
- NIST AI RMF functions
- NIST AI RMF guidance
- MAP all persistent context and workspace-rule stores capable of re-entering future prompts, and MANAGE risk with provenance tagging, expiry policies, and action-time authorization checks.
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.
- 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.
- AI Red Team AML.M0035
Conduct authorized, isolated manual and automated adversarial testing across models, RAG pipelines, and agents—tracking reproducible breach rates, Wilson confidence intervals, and patch verification.
- AI Agent Scope Drift Detection AML.M0038
Continuously audit multi-step agent trajectories and chain-of-thought plans against the original verified user intent, halting execution on goal or scope drift.
Related technique records
Documented incidents & exercises (7)
- Morris II Worm: RAG-Based Attack AML.CS0024 · Exercise · Mar 5, 2024 · High
MITRE ATLAS case study demonstrating an adversarial self-replicating prompt embedded in inbound email that propagated across connected RAG assistants and exfiltrated user messages.
- Data Exfiltration via Agent Tools in Copilot Studio AML.CS0037 · Exercise · June 2025 · Critical · Enterprise Low-Code Agents
Disclosed in June 2025 ("AgentFlayer: When AIjacking Leads to Full Data Exfiltration in Copilot Studio"), researchers mapped how probing agent trigger channels and sending crafted external inputs can hijack Copilot Studio agents. Once triggered, the injected prompt instructed…
- EchoLeak: Zero-Click Prompt Injection Targeting M365 Copilot for Data Exfiltration AML.CS0059 · Exercise · May 2025 · Moderate
ATLAS case study: EchoLeak zero-click prompt injection exfiltrated data from M365 Copilot via trusted context.
- 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.
- Poisoned GGUF Templates: Inference-Time Supply Chain Attack AML.CS0064 · Exercise · June 2025 · Moderate
ATLAS case study: poisoned GGUF chat templates executed attacker code at inference time via model-file supply chain.
- Neural Exec Differentiable Prompt-Injection Trigger Study OBS.EX0029 · Exercise · Mar 6, 2024 · Open-Weight LLMs & RAG Pipelines · Learned Execution Triggers
Pasquini et al. (2024) framed prompt injection delimiter construction as a differentiable optimization problem (Neural Exec) rather than relying on hand-written override phrases. Learned triggers persisted intact across multi-stage RAG preprocessing and chunking pipelines while…
- Phantom Triggered RAG Backdoor Evaluation on Open & Production Systems OBS.EX0052 · Exercise · May 30, 2024 · Gemma, Vicuna, Llama, GPT-3.5/4 & NVIDIA Chat with RTX · Single-Document Backdoor
Chaudhari et al. (2024) evaluated Phantom, a two-stage optimization attack crafting a single poisoned document that activates only when naturally occurring trigger tokens appear in victim queries to induce refusal, reputation harm, privacy leaks, or unsafe output. Attacks…
Source citation records
- MITRE ATLAS: Triggered · MITRE ·
- LLM01:2025 Prompt Injection · OWASP GenAI Security Project ·
Common questions
- What is LLM Prompt Injection: Triggered (AML.T0051.002)?
- Triggered prompt injection plants dormant instructions inside persistent agent memory, indexed documents, or configuration files that stay inert during ingestion and activate later when a specific user action, phrase, or scheduled agent event occurs.
- How do you mitigate LLM Prompt Injection: Triggered?
- MITRE ATLAS maps 5 mitigations to AML.T0051.002: AI Telemetry Logging and Monitoring, Memory Hardening, Input and Output Validation for AI Agent Components, AI Red Team, and AI Agent Scope Drift Detection. Revalidate tool and data authorization deterministically at execution time rather than relying on ingestion-time safety checks.