mlsanityData to 14 Oct 2026

Defusing Explosive Prompts: Understanding and Preventing Trigger-Based Prompt Injections in LLM Agents

arXiv 2609.22510 ↗First posted 18 Sep 2026cs.CR cs.LGcited by 0

On the map: LLM agents and tool use → Agent threats, guardrails and governance

also in 1 more
Abstract (arXiv)

As LLM applications integrate with external tools, they are increasingly exposed to indirect prompt injection (IPI), where adversarial instructions are embedded in retrieved content. Conventional IPIs fire on contact: the moment an agent ingests the content, it carries out the instruction. We introduce the explosive prompt, a conditional payload that stays dormant until an attacker-chosen trigger is met, in effect a training-free, inference-time backdoor planted in a single piece of retrieved content. This temporal separation reaches where ordinary IPI cannot. On frontier models that refuse the bare imperative almost entirely, rephrasing the same goal as a dormant conditional drives real, state-changing tool execution against a live agent backend (a paired mean of 16.5% vs. 2.4% for the imperative, reaching 34.2% on a proprietary model). In trials on nine production agents (OpenAI Codex, Google Gemini CLI, Anthropic Claude Code CLI, Cursor CLI, GitHub Copilot, Devin AI CLI, Amazon Kiro CLI, Qwen Code, Google Assistant; n=30 each), explosive prompts succeed in 43-83% of cases versus at most 3% for an imperative baseline, and they slip past deployed defenses: off-the-shelf injection classifiers are miscalibrated on them, and a preference-optimized model that closes imperative injection entirely still executes 11.8% of explosive prompts, every one at the trigger turn. The durable defensive lever is ingestion-time detection of the conditional structure, once detectors are trained on explosive-prompt data, which no prior benchmark supplied and our generator does. Retraining cuts live tool-execution attack success from an undefended 34.3% to 7.5-8.1% for the encoder baselines. Our detector, DeFuse, reaches 3.0% at a calibrated 5% false-positive budget with the best detection quality of any method tested (AUC 0.9994) and 25x lower latency, though it needs length-aware thresholds.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 30 of its 46 references that are in the map. First posted on arXiv 18 Sep 2026.

Builds on

30 of 46 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025IPIGuard: A Novel Tool Dependency Graph-Based Defense Against Indirect Prompt Injection in LLM Agents21 Aug
  2. 2025LlamaFirewall: An open source guardrail system for building secure AI agents6 May
  3. 2025Adaptive Attacks Break Defenses Against Indirect Prompt Injection Attacks on LLM Agents27 Feb
  4. 2024Breaking ReAct Agents: Foot-in-the-Door Attack Will Get You In22 Oct
  5. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases17 Jul
  6. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
  7. 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training10 Jan

Other references · 23

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  3. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  4. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  5. 2016Enriching Word Vectors with Subword Informationcited by 1,583
  6. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
  7. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
  8. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
  9. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
  10. 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 839
  11. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
  12. 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignmentcited by 721
11 more
  1. 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 578
  2. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
  3. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
  4. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 364
  5. 2021Efficient Attentions for Long Document Summarizationcited by 345
  6. 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Modelscited by 267
  7. 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 210
  8. 2025DataSentinel: A Game-Theoretic Detection of Prompt Injection Attackscited by 143
  9. 2024Attention Tracker: Detecting Prompt Injection Attacks in LLMscited by 95
  10. 2025EchoLeak: The First Real-World Zero-Click Prompt Injection Exploit in a Production LLM Systemcited by 29
  11. 2025Invitation Is All You Need! Promptware Attacks Against LLM-Powered Assistants in Production Are Practical and Dangerouscited by 12

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Your Agent is More Brittle Than You Think: Uncovering Indirect Injection Vulnerabilities in Agentic LLMs
  2. 2026Defense Against Indirect Prompt Injection via Tool Result Parsing
  3. 2025Mitigating Indirect Prompt Injection via Instruction-Following Intent Analysis
  4. 2026Silent Failures in Agentic Security Evaluation: A Validated Harness for Tool-Call Mediation Under Indirect Prompt Injection
  5. 2026INFUSE: A Unified Surface Benchmark for Indirect Prompt Injection in Agentic Systems
  6. 2026Assessing Automated Prompt Injection Attacks in Agentic Environments
  7. 2026AgentSentry: Mitigating Indirect Prompt Injection in LLM Agents via Temporal Causal Diagnostics and Context Purification
  8. 2026Defending against Adaptive Prompt Injection Attacks via Reasoning-enabled Task Alignment