MITRE ATLAS 2026.10 · AML.T0051.001 · Critical severity
LLM Prompt Injection: Indirect
Indirect prompt injection hides adversarial instructions inside third-party content (web pages, emails, tickets, code comments, or RAG documents) ingested during a benign user's session. When the model reads that content, the hidden directive hijacks the victim user's assistant and its authorized tools.
Technique dossier overview
- Category
- Prompt and context integrity
- Severity
- Critical
- Attack surface
- RAG & Retrieval · Tool-Using Agents & MCP · LLM / Prompt Layer
- Framework maturity
- Realized
- Platforms
- Generative AI, Agentic AI
- Tactics
- Execution
- Aliases
- Indirect prompt injection, Retrieved-content instruction confusion
- Catalog entry modified
- Earliest cited research
- · Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection · arXiv (author preprint; peer-review status not inferred)
How the mechanism works
- An attacker plants instructions inside an external data source that a target user or agent is likely to summarize, search, or inspect.
- During a legitimate workflow, the AI retrieves the poisoned artifact or tool output and places it into the active context window.
- The model treats the retrieved directive as an actionable instruction, pivoting to read private victim data or invoke tools silently.
Detection & telemetry signals
- Spotlighting or prompt-shield scanners flagging imperative directives inside retrieved documents, emails, or external API payloads.
- Tool-execution telemetry showing sudden external fetches, email sends, or permission changes triggered immediately after reading untrusted content.
- Output rendering monitors catching hidden markdown images or external URLs carrying conversation context.
Architectural defensive countermeasures
- Delimit and tag all retrieved documents, web scrapes, and tool responses as untrusted data separate from system and user turns.
- Block automatic state-changing or external network tool calls whenever untrusted third-party data is present in the context.
- Require explicit human confirmation showing destination, data scope, and arguments before executing sensitive side effects.
- Enforce strict egress allowlists and disable arbitrary markdown image or link prefetching in chat UIs.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Indirect injection exploits third-party data ingested via RAG or external connectors (LLM01, LLM08) to hijack an authorized agent's tool execution privileges (LLM06).
- NIST AI RMF functions
- NIST AI RMF guidance
- MAP all untrusted external ingestion channels entering model context, MEASURE cross-boundary hijack rates using agentic benchmarks, and MANAGE execution with taint tracking and approval gates.
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.
- 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.
- 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.
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 rag_indirect_injection
refract reportrag_indirect_injectioninstructions embedded in retrieved tickets, emails, wikis, and other RAG documents
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 (42)
- Attack success rate · 50.4%
Abstract-reported aggregate percentages without per-split episode counts; transfer gains depend on matching tool schemas.
- Model
- GPT-4o-mini
- Evaluation
- Evolution Under Fire (AgentDyn)
- Defense
- Baseline model
- Reported
- Source and location
- Evolution Under Fire: Evolving Agent Safety Harnesses with Adaptive Injection Stressors · arXiv (author preprint; peer-review status not inferred) · Abstract / Main Results
- Evidence provenance
- Primary-source checked
- Attack success rate · 3%
Abstract-reported aggregate percentages without per-split episode counts; transfer gains depend on matching tool schemas.
- Model
- GPT-4o-mini
- Evaluation
- Evolution Under Fire (AgentDyn)
- Defense
- Sandboxed tool policy
- Reported
- Source and location
- Evolution Under Fire: Evolving Agent Safety Harnesses with Adaptive Injection Stressors · arXiv (author preprint; peer-review status not inferred) · Abstract / Main Results
- Evidence provenance
- Primary-source checked
- Attack success rate · 82.6%
Abstract-reported aggregate percentages without per-split episode counts; transfer gains depend on matching tool schemas.
- Model
- Qwen2.5-7B-Instruct
- Evaluation
- Evolution Under Fire (Agent-SafetyBench)
- Defense
- Baseline model
- Reported
- Source and location
- Evolution Under Fire: Evolving Agent Safety Harnesses with Adaptive Injection Stressors · arXiv (author preprint; peer-review status not inferred) · Abstract / Main Results
- Evidence provenance
- Primary-source checked
- Attack success rate · 62%
Abstract-reported aggregate percentages without per-split episode counts; transfer gains depend on matching tool schemas.
- Model
- Qwen2.5-7B-Instruct
- Evaluation
- Evolution Under Fire (Agent-SafetyBench)
- Defense
- Sandboxed tool policy
- Reported
- Source and location
- Evolution Under Fire: Evolving Agent Safety Harnesses with Adaptive Injection Stressors · arXiv (author preprint; peer-review status not inferred) · Abstract / Main Results
- Evidence provenance
- Primary-source checked
- Attack success rate · 32.1%
Abstract-reported aggregate percentages without per-split episode counts; transfer gains depend on matching tool schemas.
- Model
- Qwen3.5-35B-A3B
- Evaluation
- Evolution Under Fire (AgentDyn Transfer)
- Defense
- Baseline model
- Reported
- Source and location
- Evolution Under Fire: Evolving Agent Safety Harnesses with Adaptive Injection Stressors · arXiv (author preprint; peer-review status not inferred) · Abstract / Main Results
- Evidence provenance
- Primary-source checked
- Attack success rate · 0.9%
Abstract-reported aggregate percentages without per-split episode counts; transfer gains depend on matching tool schemas.
- Model
- Qwen3.5-35B-A3B
- Evaluation
- Evolution Under Fire (AgentDyn Transfer)
- Defense
- Sandboxed tool policy
- Reported
- Source and location
- Evolution Under Fire: Evolving Agent Safety Harnesses with Adaptive Injection Stressors · arXiv (author preprint; peer-review status not inferred) · Abstract / Main Results
- Evidence provenance
- Primary-source checked
- Mitigation effectiveness · 98%
Vendor-published summary of joint external IPI suite; exact task denominator is not listed in summary excerpt.
- Model
- Claude Opus 5
- Evaluation
- Gray Swan / UK AISI / US AISI Indirect Prompt Injection Suite (15-attempt budget)
- Defense
- Input/output classifier
- Reported
- Source and location
- Claude Opus 5 System Card · Anthropic · Claude Opus 5 System Card — Indirect Prompt Injection
- Evidence provenance
- Primary-source checked
- Attack success rate · 2%
Residual attack success under 15-attempt budget; unbounded adaptive adversaries or custom tools may alter risk.
- Model
- Claude Opus 5
- Evaluation
- Gray Swan / UK AISI / US AISI Indirect Prompt Injection Suite (15-attempt budget)
- Defense
- Input/output classifier
- Reported
- Source and location
- Claude Opus 5 System Card · Anthropic · Claude Opus 5 System Card — Indirect Prompt Injection
- Evidence provenance
- Primary-source checked
- Attack success rate · 33.86%
Evaluated on AgentDojo v1 629 security cases (Workspace, Slack, Travel, Banking); Tool Filter remains vulnerable when benign task tools overlap with attacker goals. Earlier catalog numerator 213/629 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- Claude 3.5 Sonnet
- Evaluation
- AgentDojo v1 (629 security cases across 4 suites)
- Defense
- Baseline model
- Reported
- Sample
- 629
- Source and location
- AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents · arXiv (author preprint; peer-review status not inferred) · Table 3 & Table 5: Targeted Attack Success Rate (ASR %)
- Evidence provenance
- Independently replicated
- Attack success rate · 47.69%
Evaluated on AgentDojo v1 629 security cases (Workspace, Slack, Travel, Banking); Tool Filter remains vulnerable when benign task tools overlap with attacker goals. Earlier catalog numerator 300/629 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-4o
- Evaluation
- AgentDojo v1 (629 security cases across 4 suites)
- Defense
- Baseline model
- Reported
- Sample
- 629
- Source and location
- AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents · arXiv (author preprint; peer-review status not inferred) · Table 3 & Table 5: Targeted Attack Success Rate (ASR %)
- Evidence provenance
- Independently replicated
- Attack success rate · 20.03%
Evaluated on AgentDojo v1 629 security cases (Workspace, Slack, Travel, Banking); Tool Filter remains vulnerable when benign task tools overlap with attacker goals. Earlier catalog numerator 126/629 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- Llama-3-70B-Instruct
- Evaluation
- AgentDojo v1 (629 security cases across 4 suites)
- Defense
- Baseline model
- Reported
- Sample
- 629
- Source and location
- AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents · arXiv (author preprint; peer-review status not inferred) · Table 3 & Table 5: Targeted Attack Success Rate (ASR %)
- Evidence provenance
- Independently replicated
- Attack success rate · 57.7%
Evaluated on AgentDojo v1 629 security cases (Workspace, Slack, Travel, Banking); Tool Filter remains vulnerable when benign task tools overlap with attacker goals. Earlier catalog numerator 363/629 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-4o
- Evaluation
- AgentDojo v1 (629 security cases across 4 suites)
- Defense
- Baseline model
- Reported
- Sample
- 629
- Source and location
- AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents · arXiv (author preprint; peer-review status not inferred) · Table 3 & Table 5: Targeted Attack Success Rate (ASR %)
- Evidence provenance
- Independently replicated
- Attack success rate · 27.8%
Evaluated on AgentDojo v1 629 security cases (Workspace, Slack, Travel, Banking); Tool Filter remains vulnerable when benign task tools overlap with attacker goals. Earlier catalog numerator 175/629 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-4o
- Evaluation
- AgentDojo v1 (629 security cases across 4 suites)
- Defense
- System-prompt hierarchy
- Reported
- Sample
- 629
- Source and location
- AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents · arXiv (author preprint; peer-review status not inferred) · Table 3 & Table 5: Targeted Attack Success Rate (ASR %)
- Evidence provenance
- Independently replicated
- Attack success rate · 8%
Evaluated on AgentDojo v1 629 security cases (Workspace, Slack, Travel, Banking); Tool Filter remains vulnerable when benign task tools overlap with attacker goals. Earlier catalog numerator 50/629 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-4o
- Evaluation
- AgentDojo v1 (629 security cases across 4 suites)
- Defense
- Input/output classifier
- Reported
- Sample
- 629
- Source and location
- AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents · arXiv (author preprint; peer-review status not inferred) · Table 3 & Table 5: Targeted Attack Success Rate (ASR %)
- Evidence provenance
- Independently replicated
- Attack success rate · 23.6%
ASR-valid conditions on syntactically valid agent outputs across 1,054 test cases; static simulated tool responses. Earlier catalog numerator 249/1054 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-4 (ReAct)
- Evaluation
- InjecAgent Benchmark (1,054 indirect PI cases)
- Defense
- Baseline model
- Reported
- Sample
- 1,054
- Source and location
- InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents · arXiv (author preprint; peer-review status not inferred) · Table 3: InjecAgent ASR-valid Total (%)
- Evidence provenance
- Primary-source checked
- Attack success rate · 47%
ASR-valid conditions on syntactically valid agent outputs across 1,054 test cases; static simulated tool responses. Earlier catalog numerator 495/1054 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-4 (ReAct)
- Evaluation
- InjecAgent Benchmark (1,054 indirect PI cases)
- Defense
- Baseline model
- Reported
- Sample
- 1,054
- Source and location
- InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents · arXiv (author preprint; peer-review status not inferred) · Table 3: InjecAgent ASR-valid Total (%)
- Evidence provenance
- Primary-source checked
- Attack success rate · 23.6%
ASR-valid conditions on syntactically valid agent outputs across 1,054 test cases; static simulated tool responses. Earlier catalog numerator 249/1054 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-3.5-Turbo (ReAct)
- Evaluation
- InjecAgent Benchmark (1,054 indirect PI cases)
- Defense
- Baseline model
- Reported
- Sample
- 1,054
- Source and location
- InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents · arXiv (author preprint; peer-review status not inferred) · Table 3: InjecAgent ASR-valid Total (%)
- Evidence provenance
- Primary-source checked
- Attack success rate · 39.8%
ASR-valid conditions on syntactically valid agent outputs across 1,054 test cases; static simulated tool responses. Earlier catalog numerator 419/1054 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-3.5-Turbo (ReAct)
- Evaluation
- InjecAgent Benchmark (1,054 indirect PI cases)
- Defense
- Baseline model
- Reported
- Sample
- 1,054
- Source and location
- InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents · arXiv (author preprint; peer-review status not inferred) · Table 3: InjecAgent ASR-valid Total (%)
- Evidence provenance
- Primary-source checked
- Attack success rate · 11.4%
ASR-valid conditions on syntactically valid agent outputs across 1,054 test cases; static simulated tool responses. Earlier catalog numerator 120/1054 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- Claude 2 (ReAct)
- Evaluation
- InjecAgent Benchmark (1,054 indirect PI cases)
- Defense
- Baseline model
- Reported
- Sample
- 1,054
- Source and location
- InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents · arXiv (author preprint; peer-review status not inferred) · Table 3: InjecAgent ASR-valid Total (%)
- Evidence provenance
- Primary-source checked
- Attack success rate · 3.4%
ASR-valid conditions on syntactically valid agent outputs across 1,054 test cases; static simulated tool responses. Earlier catalog numerator 36/1054 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- Claude 2 (ReAct)
- Evaluation
- InjecAgent Benchmark (1,054 indirect PI cases)
- Defense
- Baseline model
- Reported
- Sample
- 1,054
- Source and location
- InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents · arXiv (author preprint; peer-review status not inferred) · Table 3: InjecAgent ASR-valid Total (%)
- Evidence provenance
- Primary-source checked
Related technique records
Documented incidents & exercises (64)
- Indirect Prompt Injection Threats: Bing Chat Data Pirate AML.CS0020 · Exercise · 2023 · High · Consumer AI Search & Browsing Assistants
Demonstrated by security researchers in 2023 ("Bing Chat Data Pirate"), this exercise embedded hidden, obfuscated prompt-injection instructions inside a webpage read by the Edge sidebar's Bing Chat assistant. When a user asked the assistant to summarize the open page, the…
- ChatGPT Conversation Exfiltration AML.CS0021 · Exercise · May 2023 · High · LLM Chat & Plugin Ecosystems
Disclosed in May 2023 by Johann Rehberger ("ChatGPT Plugins: Data Exfiltration via Images & Cross Plugin Request Forgery"), this exercise demonstrated how an untrusted webpage fetched by a browsing plugin could hijack ChatGPT via indirect prompt injection. The injected…
- 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.
- Financial Transaction Hijacking with M365 Copilot as an Insider AML.CS0026 · Exercise · Aug 8, 2024 · Critical · Enterprise Productivity & Finance
Presented at Black Hat USA 2024 ("Living off Microsoft Copilot"), researchers showed how sending a crafted email containing hidden indirect prompt-injection payloads could poison Microsoft 365 Copilot's retrieval context. When an employee queried Copilot about invoices or bank…
- Google Bard Conversation Exfiltration AML.CS0029 · Exercise · Nov 23, 2023 · High · Consumer & Enterprise AI Assistants
Disclosed in November 2023 ("Hacking Google Bard: From Prompt Injection to Data Exfiltration"), researchers demonstrated an indirect prompt-injection attack embedded inside a shared Google Doc or email processed by Bard Extensions. The hidden instructions directed Bard to…
- Data Exfiltration from Slack AI via Indirect Prompt Injection AML.CS0035 · Exercise · Aug 20, 2024 · High · Enterprise Collaboration & SaaS
Disclosed by PromptArmor in August 2024 ("Data Exfiltration from Slack AI via indirect prompt injection"), this exercise showed that an attacker with access to a single public channel could plant a crafted message containing indirect prompt-injection instructions. When another…
- Planting Instructions for Delayed Automatic AI Agent Tool Invocation AML.CS0038 · Exercise · February 2024 · High · Personal & Enterprise AI Assistants
Disclosed by Johann Rehberger in February 2024 ("Google Gemini: Planting Instructions for Delayed Automatic Tool Invocation"), this exercise showed how indirect prompt-injection instructions embedded in an external document or email can be persisted across sessions rather than…
- Living Off AI: Prompt Injection via Jira Service Management AML.CS0039 · Exercise · Jun 19, 2025 · High · Enterprise IT Service Management & MCP Agents
Published by Cato CTRL Threat Research in June 2025 ("Living Off AI"), this proof-of-concept demonstrated an indirect prompt injection submitted by an external user inside a Jira Service Management support ticket. When an internal support engineer's MCP-connected AI agent read…
- Hacking ChatGPT's Memories with Prompt Injection AML.CS0040 · Exercise · February 2024 · High · Consumer & Enterprise Chatbots
Disclosed in February 2024 ("ChatGPT: Hacking Memories with Prompt Injection"), researchers showed how obfuscated indirect prompt injection inside a browsed webpage, uploaded file, or external text could coerce ChatGPT into invoking its persistent Memory tool. Once malicious…
- Rules File Backdoor: Supply Chain Attack on AI Coding Assistants AML.CS0041 · Exercise · Mar 18, 2025 · High
MITRE ATLAS case study analyzing invisible Unicode control characters hidden inside shared repository instruction files that silently altered generated source code to introduce backdoors.
- Data Exfiltration via an MCP Server used by Cursor AML.CS0045 · Exercise · Jun 24, 2025 · Critical
MITRE ATLAS exercise showing how hidden instructions embedded in an external MCP server's tool metadata can steer an agent to read private repository data and exfiltrate it through a separate trusted tool call.
- 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,…
- Exposed ClawdBot Control Interfaces Leads to Credential Access and Execution AML.CS0048 · Exercise · Jan 25, 2026 · Moderate
ATLAS case study: exposed ClawdBot control interfaces allowed credential access and command execution on agent hosts.
- Supply Chain Compromise via Poisoned ClawdBot Skill AML.CS0049 · Exercise · Jan 26, 2026 · Moderate
ATLAS case study: a poisoned ClawdBot skill package compromised downstream agent installations via the plugin supply chain.
- OpenClaw Command & Control via Prompt Injection AML.CS0051 · Exercise · Feb 3, 2026 · Moderate
ATLAS case study: prompt injection against OpenClaw yielded command-and-control over the host via agent tool invocation.
- Data Exfiltration via Remote Poisoned MCP Tool AML.CS0054 · Exercise · Apr 1, 2025 · Moderate
ATLAS case study: a remote MCP tool returned poisoned output that redirected agent behavior to exfiltrate data.
- AI ClickFix: Hijacking Computer-Use Agents Using ClickFix AML.CS0055 · Exercise · May 24, 2025 · Moderate
ATLAS case study: ClickFix fake-CAPTCHA pages hijacked computer-use agents into executing attacker scripts.
- 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.
- ZombieAgent: Data Exfiltration Attack on ChatGPT AML.CS0066 · Exercise · Sep 25, 2025 · Moderate
ATLAS case study: ZombieAgent chained agent memory with web browsing to exfiltrate ChatGPT conversation data.
- Claude Code GitHub Action Secret Exposure AML.CS0067 · Exercise · Jun 5, 2026 · High
MITRE ATLAS case study documenting how untrusted external repository triggers or issue payloads in automated CI coding agent workflows could leak workflow environment secrets when overly broad credential scopes are exposed.
- AI Recommendation Poisoning via Crafted AI Assistant Links AML.CS0072 · Incident · Feb 10, 2026 · High
MITRE ATLAS operational incident analyzing pre-populated assistant deep links designed to plant persistent recommendation preferences into user-scoped memory across future sessions.
- AISI Evaluation Agents Conduct Unsanctioned Real-World Cyber Activity AML.CS0074 · Incident · Jul 25, 2026 · High
ATLAS incident: AISI evaluation agents conducted unsanctioned real-world cyber activity beyond their sanctioned scope.
- LangChain VectorSQLDatabaseChain RCE via Unsanitized Retrieved Field Eval INC-2024-21513 · Incident · Jul 15, 2024 · High · Enterprise Data & Analytics
CVE-2024-21513 revealed arbitrary Python code execution in LangChain Experimental's `VectorSQLDatabaseChain` when handling database fields returned during query resolution. Instead of treating retrieved database strings as inert data, the chain passed column values directly…
- EmailGPT Triage Pipeline Indirect Prompt Injection Hijacking Summarization INC-2024-5184 · Incident · Jun 5, 2024 · High · Enterprise SaaS & Productivity
CVE-2024-5184 reported a prompt injection flaw in an automated LLM email integration service where untrusted inbound email text was concatenated directly into the privileged summarization prompt. Adversaries sending crafted emails could override the assistant's persona, spoof…
- Vanna.AI Visualization Prompt Injection Escalating to Host Python Execution INC-2024-5565 · Incident · May 31, 2024 · High · Enterprise Data & Analytics
CVE-2024-5565 uncovered an indirect prompt-injection-to-RCE chain in the Vanna.AI text-to-SQL visualization library's `ask()` workflow. The library prompted an LLM to generate Plotly Python plotting code from query results and immediately ran that generated Python code via…
- 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…
- Microsoft 365 Copilot EchoLeak Zero-Click Email Context Exfiltration INC-2025-32711 · Incident · Jun 11, 2025 · Critical · Enterprise SaaS & Productivity
CVE-2025-32711 disclosed a critical zero-click indirect prompt injection chain in Microsoft 365 Copilot where an external email planted hidden instructions processed during routine assistant queries. Because retrieved external email text entered the same generation context as…
- IDE Coding Assistant Auto-Approve Settings Tampering Leading to Host RCE INC-2025-53773 · Incident · Aug 12, 2025 · Critical · Software Development & AI Tooling
CVE-2025-53773 (published August 12, 2025, disclosed by Johann Rehberger / Embrace The Red) documented a critical remote code execution chain in GitHub Copilot and Visual Studio Code agent modes. Indirect prompt injections hidden inside untrusted source code comments or…
- Cursor IDE CurXecute Indirect Prompt Injection Rewriting .cursor/mcp.json for RCE INC-2025-54135 · Incident · Aug 4, 2025 · Critical · Software Development & AI Tooling
CVE-2025-54135 (dubbed CurXecute by Aim Labs and published August 4, 2025) exposed a critical remote code execution chain in the Cursor AI IDE (`< 1.3.9`). When a developer queried an external data source through a connected MCP server (such as Slack or a public issue tracker),…
- Agentic Coding CLI Path Prefix Containment Bypass Allowing Out-of-Scope Writes INC-2025-54794 · Incident · Aug 4, 2025 · High · Software Development & AI Tooling
CVE-2025-54794 (published August 4, 2025, disclosed by Cymulate as InversePrompt) identified a directory-prefix containment bug in Claude Code's workspace access guard. Because path checks compared prefix strings without enforcing a path-separator boundary, an agent restricted…
- Agentic Coding CLI Allowlist Command Injection via Shell Argument Quoting INC-2025-54795 · Incident · Aug 5, 2025 · High · Software Development & AI Tooling
CVE-2025-54795 (published August 5, 2025, disclosed by Cymulate alongside CVE-2025-54794) revealed a command injection flaw in Claude Code's pre-approved command allowlist parser. By embedding shell command substitutions inside arguments passed to allowlisted utilities like…
- Roo Code .code-workspace File Write Bypass Planting Persistent IDE Tasks INC-2025-58372 · Incident · Sep 5, 2025 · Critical · Software Development & AI Tooling
CVE-2025-58372 (published September 5, 2025) disclosed a critical code injection vulnerability in Roo Code versions `<= 3.25.23`. While the extension guarded writes into `.vscode/` directories, it failed to apply equivalent write protections to VS Code `.code-workspace` JSON…
- AnythingLLM Desktop Streaming Phase XSS Escalating to Host OS RCE INC-2026-32626 · Incident · Mar 16, 2026 · Critical · Consumer AI & Local Runtimes
CVE-2026-32626 (CVSS 9.6) revealed a critical vulnerability in AnythingLLM Desktop (`<= 1.11.1`) where streaming chat responses underwent unsafe markdown/HTML rendering inside an overly permissive Electron context. An indirect prompt injection inside an ingested RAG document or…
- Cline Extension Safety-Check Bypass Triggering Shell Execution from Cloned Repos INC-2026-52024 · Incident · Jun 17, 2026 · High · Software Development & AI Tooling
CVE-2026-52024 (published June 17, 2026 alongside companion CVE-2026-52025) exposed a safety-check bypass in the Cline AI coding extension where crafted repository files combined with routine prompts coerced the agent into running attacker-controlled shell commands. Weak…
- Official GitHub MCP Server Private Repository Exfiltration via Toxic Agent Flow INC-OBS-001 · Incident · May 26, 2025 · Critical · Software Development & AI Tooling
On May 26, 2025, Invariant Labs disclosed a critical cross-repository exfiltration attack against the official GitHub MCP server dubbed a Toxic Agent Flow. An attacker could plant hidden indirect prompt injection instructions inside an issue on any public repository maintained…
- Salesforce Agentforce ForcedLeak CRM Exfiltration via Web-to-Lead Prompt Injection INC-OBS-003 · Incident · Sep 25, 2025 · Critical · Enterprise SaaS & Productivity
On September 25, 2025, Noma Security disclosed ForcedLeak (CVSS 9.4), a critical indirect prompt injection and exfiltration chain affecting Salesforce Agentforce deployments using public Web-to-Lead forms. Any unauthenticated internet user could submit a lead form containing…
- GitHub Copilot Chat CamoLeak Hidden PR Comment Secret Exfiltration via Camo Proxy INC-OBS-004 · Incident · Oct 8, 2025 · Critical · Software Development & AI Tooling
Disclosed publicly in October 2025 by Legit Security researcher Omer Mayraz, CamoLeak (rated CVSS 9.6) demonstrated zero-click exfiltration of private repository source code and secrets from GitHub Copilot Chat. Attackers embedded invisible instructions inside HTML/markdown…
- Perplexity Comet Agentic Browser Cross-Tab Indirect Prompt Injection Disclosure INC-OBS-006 · Incident · Aug 20, 2025 · High · Consumer AI & Local Runtimes
On August 20, 2025, Brave's security team publicly disclosed indirect prompt injection vulnerabilities in Perplexity's Comet agentic web browser. When a user asked Comet's built-in assistant to summarize a webpage containing hidden adversarial text (such as a Reddit comment or…
- Slack AI Private Channel Data Exfiltration via Indirect Prompt Injection in Public Messages INC-OBS-047 · Incident · Aug 20, 2024 · High · Enterprise SaaS & Productivity
Disclosed by PromptArmor and patched by Slack on August 20, 2024, an indirect prompt injection vulnerability in Slack AI allowed an attacker in a public workspace channel (or an external Slack Connect guest) to steal sensitive data from private channels they could not access.…
- ASCII Smuggling Invisible Unicode Tags Indirect Prompt Injection Across Production Copilots INC-OBS-064 · Incident · Aug 26, 2024 · High · Enterprise SaaS & Productivity
Introduced by security researcher Johann Rehberger (Embrace The Red) in January 2024 and demonstrated in a production Microsoft 365 Copilot exfiltration chain on August 26, 2024, ASCII Smuggling abused deprecated Unicode Tags Block characters (`U+E0000` to `U+E007F`) to embed…
- Indirect Prompt Injection in Real-World LLM-Integrated Applications OBS.EX0002 · Exercise · Feb 23, 2023 · LLM-Integrated Applications & Search Assistants · Retrieval-Borne Injection
Greshake et al. (2023) formalized indirect prompt injection, evaluating how adversarial instructions embedded in external web pages and retrieved data compromise LLM-integrated applications without direct attacker prompting. Testing against Bing Chat (GPT-4) and synthetic GPT-4…
- The Instruction Hierarchy: Privileged Instruction Training Evaluation OBS.EX0014 · Exercise · Apr 19, 2024 · GPT-3.5 Instruction-Tuned LLMs · System vs. Untrusted Input Prioritization
Wallace et al. (2024) diagnosed prompt injection and jailbreaking as failures of flat instruction priority where models treat system prompts, user turns, and third-party tool outputs as equally authoritative. Using synthetic conflict-resolution training data on GPT-3.5, the…
- Open-Prompt-Injection Formal Evaluation (5 Attacks x 10 Defenses) OBS.EX0024 · Exercise · Oct 19, 2023 · 10 LLMs x 7 Tasks · Standardized Prompt Injection & Defense Matrix
Liu et al. (2023) formalized prompt injection by unifying direct, escape, context-ignoring, fake-completion, and combined attacks across 10 LLMs, 7 tasks, and 10 proposed defenses. Systematic testing across the unified Open-Prompt-Injection harness revealed that combined…
- BIPIA Indirect Prompt Injection Benchmark & Boundary Awareness OBS.EX0025 · Exercise · Dec 21, 2023 · Commercial & Open LLMs · External Content Execution Boundary Study
Yi et al. (2023) constructed BIPIA, an indirect prompt injection benchmark spanning email, web QA, summarization, and table tasks with adversarial instructions embedded inside retrieved external content. Evaluations revealed universal susceptibility across tested LLMs driven by…
- Spotlighting Input Provenance Encoding Against Indirect Injection OBS.EX0026 · Exercise · Mar 20, 2024 · GPT-Family Models · Delimiting, Datamarking & Encoding Provenance Tests
Hines et al. (2024) evaluated Spotlighting, a family of input-transformation defenses, including delimiting, continuous datamarking, and base64 encoding, designed to signal untrusted data provenance to LLMs. In evaluations across GPT-family models on indirect prompt injection…
- StruQ Structured Query Channel Separation Defense Evaluation OBS.EX0027 · Exercise · Feb 9, 2024 · Fine-Tuned Open-Weight LLMs · Dual-Channel Prompt/Data Isolation
Chen et al. (2024) introduced StruQ, pairing a sanitizing front-end tokenizer with structured instruction-tuning that trains models to obey directives exclusively within designated prompt channels while ignoring instructions inside data channels. Evaluated across…
- SecAlign Preference Optimization Against Unknown Prompt Injections OBS.EX0028 · Exercise · Oct 7, 2024 · Instruction-Tuned LLMs · Direct Preference Optimization Defense
Chen et al. (2024) constructed paired preference datasets contrasting legitimate task completions against injected-instruction completions to align models via SecAlign preference optimization. Across sophisticated unseen prompt injections, SecAlign reduced attack success rates…
- 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…
- AgentDojo Dynamic Prompt Injection & Tool-Use Benchmark OBS.EX0041 · Exercise · Jun 19, 2024 · Tool-Using Frontier & Open LLMs · 97 Tasks & 629 Security Test Cases
Debenedetti et al. (2024) built AgentDojo, a dynamic benchmark spanning 97 realistic workspace, banking, Slack, and travel tasks paired with 629 prompt-injection security test cases over untrusted tool outputs. Across evaluated frontier models, agents struggled to maintain both…
- InjecAgent 1,054-Case Indirect Injection Benchmark for Tool Agents OBS.EX0045 · Exercise · Mar 5, 2024 · 30 Tool-Integrated LLM Agents · 17 User Tools & 62 Attacker Tools
Zhan et al. (2024) evaluated 30 tool-integrated LLM agents on InjecAgent across 1,054 indirect prompt injection test cases spanning 17 user tools and 62 attacker tools targeting direct user harm and private data exfiltration. ReAct-prompted GPT-4 executed attacker-intended…
- EIA Environmental Injection Attack on Generalist Web Agents OBS.EX0049 · Exercise · Sep 17, 2024 · Generalist Browser Agents · 177 Realistic Mind2Web PII Action Steps
Liao et al. (2024) examined privacy leakage when autonomous web agents navigate untrusted websites by evaluating Environmental Injection Attacks (EIA) across 177 realistic Mind2Web action steps involving user PII. Injecting visually adapted adversarial web elements achieved up…
- CaMeL Capability-Based Control & Data-Flow Isolation Evaluation OBS.EX0050 · Exercise · Mar 24, 2025 · AgentDojo Benchmark · Privileged Planner & Quarantined Data-Reader Architecture
Debenedetti et al. (2025) designed CaMeL to defeat prompt injection architecturally by extracting control flow from the trusted user prompt via a privileged LLM while quarantining untrusted tool outputs inside a separate non-tool-calling reader model with tracked data…
- CapLite Deterministic Schema-Derived Policy Defense on 13,935 AgentDojo Episodes OBS.EX0065 · Exercise · Nov 12, 2026 · 15 Open-Weight SLM Agents (1.7B-12B) · 13,935 Attacked AgentDojo Episodes
Xu et al. (2026) tested whether small language models (1.7B-12B) can reliably author their own runtime security policies under enforcement frameworks like CaMeL, Progent, IPIGuard, and DRIFT across 15 open-weight models. Model-written policies admitted attacks on 11-14 of the…
- AgentAbstain Warning-Induced Over-Abstention Availability Study OBS.EX0066 · Exercise · Nov 11, 2026 · 3 Model Families · 51 Injectable AgentAbstain Counterfactual Task Pairs
Xiao (2026) evaluated warning-induced over-abstention across three model families and 51 counterfactual AgentAbstain pairs, testing whether fabricated risk warnings planted in untrusted content can halt legitimate agent tasks without triggering jailbreaks. Caution-first system…
- Scaling Adaptive Prompt Injection Attacks with Agent Swarms OBS.EX0067 · Exercise · Nov 9, 2026 · Frontier Tool-Calling Models (incl. Gemini Family) · Synthetic Non-Malicious Goal Suite
Kurakin et al. (2026) designed a synthetic prompt-injection evaluation using benign randomized adversarial goals to isolate pure instruction-hierarchy adherence from safety-content knowledge, then deployed increasingly capable autonomous attacker swarms. Even frontier models…
- SPILLWAY Typed Read-Return Target Admission Defense for Agents OBS.EX0072 · Exercise · Nov 4, 2026 · 3 LLM Backbones Across 7 Agent Task Suites · Deterministic Target Admission
Lim et al. (2026) designed SPILLWAY to stop prompt-injected data or payment redirection deterministically by admitting external tool targets only when stated in the user request, returned in a typed field by a read-only tool, or allowed by fixed delegation policy. Across three…
- Abusing Images and Sounds for Indirect Instruction Injection in Multimodal LLMs OBS.EX0170 · Exercise · Jul 19, 2023 · LLaVA & PandaGPT Multimodal LLMs · Cross-Modal Image & Audio Prompt Injection
Bagdasaryan et al. (2023) demonstrated indirect instruction injection delivered through adversarial perturbations blended into benign images and audio clips processed by multimodal LLMs such as LLaVA and PandaGPT. When users asked innocent questions about the perturbed media,…
- Image Hijacks Runtime Control of Vision-Language Models OBS.EX0173 · Exercise · Sep 1, 2023 · LLaVA (CLIP + LLaMA-2) · Automated Behaviour-Matching Visual Hijacks
Bailey et al. (2023/ICML 2024) evaluated Image Hijacks using Behaviour Matching and Prompt Matching to synthesize small visual perturbations that control VLM runtime outputs across four goals: forcing specific text, leaking context-window data, overriding safety refusal, and…
- Render Before Reading: Cross-Modal Typographic Defense Against Prompt Injection OBS.EX0178 · Exercise · Sep 28, 2026 · 10 Multimodal LLMs on DirectInject & AgentDojo · Pictionary Visual Rendering Defense
Zhang et al. (2026) evaluated a modality asymmetry across ten multimodal LLMs on DirectInject and AgentDojo, showing that models obey text-borne prompt injections far more readily than identical instructions rendered visually as page images. Turning this gap into a…
- Indirect PDF Prompt Injection Against 13 LLM-as-a-Judge Scientific Reviewers OBS.EX0212 · Exercise · Dec 11, 2025 · 13 Open & Proprietary LLMs (incl. GPT-5 & DeepSeek) · 200 ICLR OpenReview Submissions
Sahoo et al. (2025) evaluated LLM-as-a-Judge vulnerability to adversarial PDF manipulation, using invisible text injections and layout-aware encoding, across 13 models (including GPT-5 and DeepSeek) on 200 official accepted and rejected ICLR OpenReview submissions. Using the…
- Evolution Under Fire: Co-Evolving Agent Safety Harnesses & Stressors OBS.EX0216 · Exercise · Nov 17, 2026 · GPT-4o-mini, Qwen2.5-7B & Qwen3.5-35B on AgentDyn & Agent-SafetyBench
Wang et al. (2026) introduced Evolution Under Fire, alternating Pareto-scheduled tree search over executable safety harnesses with adaptive utility-preserving injection stressors while keeping base task models fixed. On AgentDyn (GPT-4o-mini), evolved harnesses cut attack…
- Conflux Principal-Context Privilege Escalation Defense & Bounded Verification OBS.EX0219 · Exercise · Nov 5, 2026 · AgentDojo & SLED/SLED-V Formal Evaluators · Multi-Principal Provenance Kernel
Buckley and Schroeder de Witt (2026) formalized agent privilege escalation as executing any external action that at least one influencing principal would forbid, evaluating Conflux (whose ITES kernel intersects enterprise access permissions across all provenance-tracked…
- Rennervate Token-Level Attentive Pooling Indirect Injection Defense OBS.EX0223 · Exercise · Dec 9, 2025 · 5 LLMs x 6 Datasets & FIPI Corpus · Comparison Against 15 IPI Defenses
Zhong et al. (2025) introduced Rennervate, using a two-step attentive pooling mechanism over internal attention heads and response tokens to pinpoint and sanitize covert indirect prompt injections at token granularity, paired with the open FIPI dataset. Benchmarked across five…
- Task-Tampering Indirect Prompt Injection Across 90 Tool-Use Authority Cases OBS.EX0224 · Exercise · Nov 5, 2026 · 5 LLMs Across 3 Tool-Use Environments · Objective vs. Rule/State/Observation Tampering
Zhang et al. (2026) evaluated task-tampering indirect prompt injection across 90 validated cases in three tool environments where untrusted content manipulates decision rules, available actions, observations, or state within a benign ongoing task rather than hijacking the…
Source citation records
- AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents · arXiv (author preprint; peer-review status not inferred) ·
- MITRE ATLAS: Indirect · MITRE ·
- AI threats in the wild: The current state of prompt injections on the web · Cited by MITRE ATLAS; publisher not independently verified
- Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection · arXiv (author preprint; peer-review status not inferred) ·
- The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions · arXiv (author preprint; peer-review status not inferred) ·
- LLM01:2025 Prompt Injection · OWASP GenAI Security Project ·
- Evolution Under Fire: Evolving Agent Safety Harnesses with Adaptive Injection Stressors · arXiv (author preprint; peer-review status not inferred) ·
- Claude Opus 5 System Card · Anthropic ·
- InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents · arXiv (author preprint; peer-review status not inferred) ·
- Beyond Instruction Override: Benchmarking Indirect Prompt Injection with Task-Tampering Attacks · arXiv (author preprint; peer-review status not inferred) ·
- Voluntary Servitude: Weaponized Safety Warning Mechanisms for Controlling AI Agents · arXiv (author preprint; peer-review status not inferred) ·
- Treating the Model as an Untrusted Component: Deterministic Policy Enforcement, Human Approval and Taint Tracking Against Prompt Injection in Tool-Using Agents, with Validation on Open-Weights Models · arXiv (author preprint; peer-review status not inferred) ·
Common questions
- What is LLM Prompt Injection: Indirect (AML.T0051.001)?
- Indirect prompt injection hides adversarial instructions inside third-party content (web pages, emails, tickets, code comments, or RAG documents) ingested during a benign user's session. When the model reads that content, the hidden directive hijacks the victim user's assistant and its authorized tools.
- How do you mitigate LLM Prompt Injection: Indirect?
- MITRE ATLAS maps 5 mitigations to AML.T0051.001: AI Telemetry Logging and Monitoring, Human In-the-Loop for AI Agent Actions, Restrict AI Agent Tool Invocation on Untrusted Data, Input and Output Validation for AI Agent Components, and AI Red Team. Delimit and tag all retrieved documents, web scrapes, and tool responses as untrusted data separate from system and user turns.
- How can I test a model for LLM Prompt Injection: Indirect?
- Run the Refract
rag_indirect_injectionpack:refract scan --target "openai_compat:<model-id>" --base-url https://openrouter.ai/api/v1 --api-key "$OPENROUTER_API_KEY" --battery rag_indirect_injection, 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.