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

📅 2026-09-18
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文解决了间接提示注入问题,提出了一种名为爆炸性提示的新方法,并通过在摄取时检测条件结构来防御此类攻击。
📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

Explosive Prompts
Indirect Prompt Injection
LLM Agents
Trigger-Based Payloads
Inference-Time Backdoor
Innovation

Methods, ideas, or system contributions that make the work stand out.

explosive prompt
conditional payload
inference-time backdoor
DeFuse detector
indirect prompt injection
🔎 Similar Papers
No similar papers found.
J
Justin Szczepaniak
Tel Aviv University
E
Elad Feldman
Tel Aviv University
N
Naum Viner
Tel Aviv University
Ben Nassi
Ben Nassi
Tel-Aviv University
Side-Channel AttacksAI SecurityPromptware