The same harmful instruction succeeds far more often when it is placed in a different part of an agent's context, such as the planner or memory. Testing only the user message can overstate how safe a model is.
| Benchmark | Model | UM (Base) | MSA (Our approach) | SP | LP | HPE | CH | RAG | LTM | TO | ES | Max Combo ASR |
| ASB () | GPT-4.1 | 88% | 100% (+12 pp) | 79% | 99% | 95% | 68% | 16% | 30% | 52% | 8% | 100% (CH+ES) |
| GPT-5.6 Sol | 82% | 100% (+18 pp) | 77% | 89% | 80% | 9% | 6% | 31% | 8% | 9% | 100% (LP+CH) | |
| Gemini 2.5 Flash | 91% | 100% (+9 pp) | 100% | 98% | 92% | 98% | 92% | 92% | 86% | 16% | 100% (CH+ES) | |
| Gemini 3.7 Flash | 78% | 80% (+2 pp) | 3% | 67% | 14% | 11% | 2% | 5% | 3% | 5% | 80% (LP+CH) | |
| Claude Sonnet 4.6 | 49% | 60% (+11 pp) | 3% | 17% | 33% | 3% | 3% | 3% | 4% | 13% | 60% (UM+ES) | |
| DTap () | GPT-4.1 | 71% | 75% (+4 pp) | 12% | 75% | 75% | 72% | 0% | 4% | 64% | 12% | 70% (CH+LP, ) |
| GPT-5.6 Sol | 33% | 80% (+47 pp) | 57% | 29% | 29% | 48% | 28% | 36% | 28% | 32% | 80% (ES+SP, ) | |
| Gemini 2.5 Flash | 84% | 89% (+5 pp) | 84% | 80% | 80% | 84% | 80% | 80% | 79% | 84% | 89% (CH+ES, ) | |
| Gemini 3.7 Flash | 50% | 70% (+20 pp) | 58% | 35% | 25% | 38% | 16% | 16% | 42% | 29% | 70% (CH+ES+SP, ) | |
| Claude Sonnet 4.6 | 32% | 36% (+4 pp) | 36% | 16% | 24% | 8% | 16% | 16% | 16% | 16% | 30% (ES+SP, ) | |
| JailbreakBench () | GPT-4.1 | 0% | 100% (+100 pp) | 11% | 20% | 0% | 0% | 70% | 78% | 67% | 0% | 100% (SP+LP+RAG, ) |
| GPT-5.6 Sol | 0% | 20% (+20 pp) | 0% | 0% | 0% | 0% | 0% | 0% | 0% | 0% | 20% (SP+LP) | |
| Gemini 2.5 Flash | 0% | 100% (+100 pp) | 90% | 10% | 0% | 20% | 100% | 100% | 80% | 10% | 100% (LTM+RAG+TO, ) | |
| Gemini 3.7 Flash | 0% | 0% (+0 pp) | 0% | 0% | 0% | 0% | 0% | 0% | 0% | 0% | 0% (all tied) | |
| FinSafetyBench () | GPT-4.1 | 0% | 100% (+100 pp) | 100% | 100% | 0% | 0% | 0% | 71% | 36% | 7% | 100% (SP+LP+LTM, ) |
| GPT-5.6 Sol | 0% | 14% (+14 pp) | 0% | 0% | 0% | 0% | 0% | 0% | 0% | 0% | 14% (LP+LTM+TO) | |
| Gemini 2.5 Flash | 0% | 100% (+100 pp) | 100% | 0% | 0% | 0% | 0% | 50% | 36% | 0% | 100% (SP+LTM+TO, ) | |
| Gemini 3.7 Flash | 0% | 7% (+7 pp) | 0% | 7% | 0% | 7% | 0% | 0% | 0% | 0% | 7% (LP+CH) |
Surface abbreviations: UM = user message; MSA = empirical lower bound on the ASR of a full MSA run (Algorithm 1): the highest ASR of any single tested configuration. A full MSA run succeeds on a case if any configuration succeeds, so its ASR is the union over configurations and is at least this value; SP = system prompt; LP = LLM planner; HPE = human plan editor; CH = conversation history; RAG = RAG output; LTM = long-term memory; TO = tool output; ES = environment state. Parentheses in the MSA column show the absolute increase over UM in percentage points (pp). Within the detailed results, bold and underlined values denote the highest and second-highest positive ASRs in each row, respectively.
Going deeper

Picture a bank clerk trained to refuse a customer who asks for something shady at the counter. The same request can also arrive another way: as a memo from the manager, a note in the case file, or a line in the day's approved plan.
This paper hands the same shady request to AI assistants through each of those routes in turn, without changing a word. Many assistants that refuse at the counter go along with it when it shows up as a memo or a plan step. Some that look careful in plain chat give way once they are running tasks with tools.
Burying the clerk in identical memos from every direction is not always better, though. Sometimes all that repetition looks suspicious and the clerk refuses. The authors use this pattern to decide which routes to try first. They do not test real banks or build a fix.
The abstract, word for word, with the five densest phrases unpacked.
Large language model (LLM) agents expose numerous attack surfaces, e.g., user messages, system prompts, tool outputs, environment states etc. Yet existing studies typically inject malicious prompts through only one specific surface or a limited combination of surfaces. These studies generally bind each malicious prompt to a fixed attack surface. In this paper, we systematically study how the attack surface affects success by delivering the same attack through different surfaces of an agent1. We further study whether a chat LLM is vulnerable to such agentic-style multi-surface attacks when provided with a synthetic agentic context payload2. Finally, we study what happens when an agent or LLM is attacked through multiple surfaces simultaneously. We evaluate nine common agent attack surfaces across five large language models and four existing benchmarks. Our extensive experiments show that routing the same malicious prompts through a more vulnerable surface can increase the attack success rate (ASR) by up to 100% relative to the baseline surface3. We also show that chat LLMs are similarly vulnerable to agentic multi-surface attacks when we use fake agent-like context payloads. We find that attacking multiple surfaces simultaneously can significantly increase the ASR. However, attacking more surfaces does not necessarily yield a higher ASR and can even make an agent more resistant to attacks4, as surfaces can interact both positively and negatively. Based on our findings, we propose a novel multi-surface attack (MSA) approach for any agent or chat LLM that can increase the attack success rate by up to 100%. Finally, we release a comprehensive multi-surface attack benchmark5 constructed by adapting attacks from four existing benchmarks using our methodology.
Two lines of work lead here. Each stop says what it showed and what this paper uses it for.
Read four parts of it, in this order.
Skip Appendix H's taxonomies and Section 2 if you know the agent-safety benchmarks.
If the effect is smaller than it looks, these places show why.
Each single-surface case is executed once, so the experiment does not estimate within-case stochastic variance. With 120 cases, the approximate 95% confidence half-width for a per-surface proportion near 0.5 is nine percentage points. The combination screen evaluates the empirical coverage envelope: ASR changes in 10-point increments, and exploring 502 combinations identifies the strongest observed multi-surface interactions. These representative combinations characterize the empirical performance envelope observed within the profiling sweep. Finally, the SP condition uses conspicuous authority-override language, so its outcome reflects both prompt placement and that template’s wording.
The PromptRouter agent adapts benchmark cases to deliver malicious instructions through selected attack surfaces. Given a benchmark case, its attack prompt, and target surface(s), PromptRouter constructs the corresponding surface-specific context, presenting the instruction as approved or authoritative while removing it from unselected surfaces. Existing benign content and safety guidance are retained; if a target surface is absent, the router creates it according to the evaluated agent’s schema (Appendix B).
The resulting ASR is a tool-selection proxy. It does not establish that the tool arguments implement the hidden attack goal, that the model intended harm, or that an external harmful effect occurred. This limitation is especially important for non-aggressive records, where the attacker instruction can be innocuous and descriptively aligned with the designated tool. We therefore report aggressive and non-aggressive records separately and avoid interpreting the non-aggressive slice as a direct measure of harmful compliance.
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
Large language models were evaluated as subjects in our experiments and used as auxiliary baseline components (e.g., PromptRouter implementation and official external judge evaluators). Generative AI assistance was additionally utilized for grammar checking, text formatting, and LaTeX source polishing. All conceptual designs, methodology, experimental analyses, and final manuscript claims were developed, verified, and approved by the authors.
More latest news
Read all