Multi Surface Attack: an agent's security depends on its weakest attack surfaceMulti Surface Attack: An Agent Is Only as Safe as Its Weakest Surface
The authors use PromptRouter to redirect the same malicious prompt to nine attack surfaces; GPT-4.1's MSA ASR on JailbreakBench rises from 0% to 100%.
The attacker holds a fixed malicious prompt and can use PromptRouter to place it verbatim into one or more context attack surfaces accessible to the agent, with the remaining surfaces remaining neutral; the victim is a chat LLM or a tool-using agent. The paper does not label the knowledge assumption as white-box, black-box, or no-box.
- Existing agent safety evaluations often bind malicious prompts to a fixed attack surface, and ASR may mix the effects of attack content and placement location. The authors study the same prompt across different surfaces, simultaneous placement on multiple surfaces, and how chat LLMs perform when facing synthesized agent contexts.
- Without rewriting the malicious prompt, PromptRouter migrates it verbatim into nine context surfaces while keeping the other surfaces neutral. MSA tries single surfaces in order of empirical susceptibility, then progressively adds combination surfaces by marginal impact; chat models use serialized synthetic agent contexts.
- In experiments with five models and four benchmarks, attack effectiveness varies with placement surface and execution setting. GPT-4.1 and Gemini 2.5 Flash both reach 100% MSA ASR on the two chat benchmarks, but Gemini 3.7 Flash is 0% on JailbreakBench; increasing the number of combined surfaces does not monotonically raise ASR.
- The authors note that Claude Sonnet 4.6's chat results may reflect the evaluation setting. ASB runs each case only once, and combination screening uses only 10 cases; its tool-call metric does not prove that parameters implement a hidden goal or that external harm occurs, and the SP results also mix in the influence of template wording.
- Benchmarks
- JailbreakBenchFinSafetyBenchAgent Security Bench (ASB)DecodingTrust-Agent Platform (DTap)MSA Benchmark
- Metrics
- ASRMean RankTop-3 Ratemarginal ASR impact
Researchers propose the multi-surface attack (MSA) method, which delivers the same malicious prompt through different attack surfaces of an agent, and systematically evaluates the effect of attack surface selection on attack success rate (ASR). Experiments cover nine common agent attack surfaces, five LLMs and four existing benchmarks; results show that delivering the same malicious prompt through a more vulnerable attack surface can raise ASR by up to 100% relative to the baseline attack surface. The study also finds that chat LLMs are likewise susceptible to such multi-surface attacks when using fabricated agentic context payloads; attacking multiple surfaces simultaneously can significantly increase ASR, but more attack surfaces do not necessarily yield higher success rates, and surfaces can produce positive and negative interactions. The authors also release a multi-surface attack benchmark adapted from four existing benchmarks.
Related events and news
1 events · 0 news mentions
- This event's paper
研究:经更脆弱攻击面投递恶意提示,ASR最高提升100%
Paper analysis
What problem does this paper attempt to solve?
Does changing the attack surface for a fixed malicious prompt change ASR, and is attacking multiple surfaces simultaneously necessarily more effective?
The core question is: when malicious content is unchanged, to what extent does the context attack surface on which the instruction appears change the attack success rate of chat LLMs and agents.
- Research scenario: Information can enter the agent via user messages, system prompts, the planner, memory, retrieved documents, tool outputs, and environment state. The authors argue that testing only a fixed interface may overestimate safety.
- Confounding in existing evaluations: The authors point out that existing studies usually bind each malicious prompt to a fixed surface, so the reported ASR may mix "what instruction is received" and "where the instruction appears," and may underestimate risk when the chosen surface has good defenses.
- Core hypothesis: The authors treat the placement surface as an independent variable, keeping the malicious goal and wording unchanged; they also test whether a synthesized agent context is sufficient to make an independent chat LLM exhibit similar vulnerability.
- Threat model:
- Goal: Make the target perform the prohibited behavior specified by the benchmark; ASB counts success as calling the specified attack tool, and DTap additionally requires forming an adversarial sandbox state.
- Capability: The attacker can place the same prompt verbatim into one or more accessible surfaces, with unselected surfaces remaining neutral; no jailbreak prompts are generated or rewritten.
- Victim systems: Independent chat LLMs, ReAct agents, and DTap agents using Google ADK and MCP tools.
- Knowledge assumption: The paper does not label attacker knowledge as white-box, black-box, or no-box.
- Proposed content: The authors propose PromptRouter, a Multi-Surface Attack (MSA) that empirically ranks and searches single surfaces and combined surfaces, and plan to release an MSA Benchmark adapted from four existing benchmarks.
What related research exists?
Related work covers fixed-prompt evaluation, agent risk evaluation, and multi-channel injection; this paper fixes the content and changes only the placement surface.
Fixed user prompt and agent task evaluation
- JailbreakBench (Chao et al., 2024) and FinSafetyBench (Hou et al., 2026): Standardize jailbreak evaluation and extend to financial misconduct and ethical violations, respectively. The paper notes that the attack location in both is largely fixed by benchmark design.
- AgentHarm, OS-Harm, SafeArena, and Vibe Coding: Evaluate malicious tool tasks, computer-use agents, harmful behavior in web environments, and agent-generated code, respectively. The authors state that these works mainly characterize specific tasks or environments, not attack location.
Risk awareness and execution-grounding evaluation
- ToolEmu (Ruan et al., 2024): Evaluates high-risk agent behavior in an LM-simulated sandbox.
- R-Judge, AgentAuditor, PrivacyLens: Study risk awareness, safety evaluation, and privacy-normative behavior, respectively.
- FinVault, risk-prioritized financial evaluation, CAIBench, ST-WebAgentBench: Cover stateful financial failures, perturbation and error propagation, cybersecurity agents, and web safety policy constraints. The authors state that they do not compare vulnerability across interchangeable context surfaces.
Multi-channel and combined attacks
- InjecAgent, AgentDojo, WASP, MCP-SafetyBench: Study external content injection, dynamic tool environments, web injection, and MCP multi-side attacks; RedCodeAgent studies adaptive jailbreak combinations against coding agents. The authors point out that these works usually change both the attack strategy and the placement location.
- ASB (Zhang et al., 2025) and DTap (Chen et al., 2026): Already cover direct and indirect injection, memory poisoning, system-level attacks, plan backdoors, and combinations of tool, skill, and environment injection, and are the closest works.
This paper's baseline and data
- Control setting: Direct User Message (UM) is the baseline surface, with no jailbreak generation or rewriting; nine single surfaces and multi-surface combinations are compared, with no separate attack algorithm as a baseline.
- Benchmarks used: JailbreakBench, FinSafetyBench, ASB, DTap; 420 core samples in total.
The authors position this paper as isolating the variable of "placement surface": the same malicious payload is transferred across nine surfaces, used for surface ranking, weakest-surface identification, and combination evaluation, and extended to chat LLMs via serialized context.
How does the paper address this problem?
PromptRouter transfers fixed prompts verbatim; MSA first tests single surfaces, then expands combined surfaces according to marginal impact.
The overall approach is to use PromptRouter to decouple malicious content from the placement surface, then use Multi-Surface Attack (MSA) to search single surfaces and combined surfaces according to empirical susceptibility, rather than assuming by default that more attack surfaces is better.
Attack surfaces and controlled transformations
- Nine surfaces: User Message (UM), System Prompt (SP), LLM Planner (LP), Human Plan Editor (HPE), Conversation History (CH), Long-Term Memory (LTM), RAG Output (RAG), Tool Output/tool description or schema (TO), Environment State (ES).
- Two placement methods: migrate the malicious prompt verbatim to the target surface, or use that surface to present its malicious intent as approved and authoritative content; unselected surfaces neither support nor oppose the instruction.
- Preserve the original guardrail context: original benign content and safety guidance are retained; when the target surface does not exist, it is created according to the schema of the agent under test. The routing code is responsible for inserting and verifying the unmodified attack prompt.
- Implementation: PromptRouter is a non-interactive Codex subprocess built on GPT-5.6 Sol, returning pre- and post-wrapper text adapted to each surface. Appendix B gives the full instruction prompt.
Chat and agent execution
- Chat LLM: no real tools or agent loop are needed; the synthesized agent-style context sequence is serialized into the user turn, including simulated tool schemas, state, plans, memory and retrieved content.
- Agent: in ASB the model serves as the ReAct agent backbone; in DTap, Google ADK agents and MCP tools are used. ASB's TO is the runtime output of benign tools; settings such as DTap also discuss tool description conditions.
- Execution parameters: maximum generation length 4,096 tokens, using the provider's default temperature; at most 6 execution steps for a single surface, at most 8 steps for multi-surface combinations, and at most 8 steps for both single-surface and combined in ASB.
Combination space and screening
- Number of combinations: when a fixed attack has k available surfaces, the number of combinations of at least two surfaces is 2k−k−1; the nine surfaces give 502 multi-surface combinations in total.
- Screening procedure: first randomly sample m test cases while retaining domain diversity, and enumerate all 502 combinations; then take the three combinations with the highest ASR and apply them to the full benchmark to estimate the maximum ASR.
- Core scale: the main experiments use m=10 analysis cases per model per benchmark, i.e., 5,020 combination evaluations. A combination attack places the same malicious goal into all selected surfaces, while the remaining surfaces and the unselected current user message remain neutral.
MSA search and success determination
- Search order: first execute the baseline surface; after failure, try other single surfaces in the chat or agent susceptibility order of Table 3, stopping on success.
- Combination stage: when all single surfaces fail, first test the two surfaces estimated to have the highest chance of success, then add surfaces one by one in the marginal-influence order of Table 5, testing each and stopping after the first success.
- MSA metric definition: MSA in Table 2 is an empirical lower bound on the full-run ASR, i.e., the highest ASR among all tested single configurations, not the full ASR obtained by taking the union after executing Algorithm 1 case by case.
- Success determination: the general execution harness counts success when a target forbidden tool call is intercepted at runtime; ASB uses a deterministic predicate for the specified attack tool call, without an LLM judge; DTap uses a verifiable environment judge to check forbidden actions and sandbox state changes. Table 18 lists JailbreakBench's oracle as Llama-3.3-70B Safety Judge and FinSafetyBench's as Policy Compliance Rubric.
What experiments did the paper conduct?
Five models and four benchmarks compare nine surfaces and combinations; the MSA gain varies with model and execution setting, and combinations are not monotonic.
Experimental Setup
- Models tested: GPT-4.1, GPT-5.6 Sol, Gemini 2.5 Flash, Gemini 3.7 Flash run on four benchmarks; Claude Sonnet 4.6 runs only ASB and DTap.
- Core samples: 420 cases in total across 38 domains; JailbreakBench 100 cases, FinSafetyBench 100 cases, DTap 100 cases, ASB 120 stratified samples.
- Sampling sources: FinSafetyBench takes 100 from 1,878 cases stratified by 14 regulatory domains; DTap takes 100 from 1,521 prompt injection tasks without replacement; ASB takes 3 from each of 40 strata from 400 records, seed 20260921.
- Control and metrics: UM is the baseline surface; metrics are ASR and the percentage-point increment relative to UM; surface Mean Rank, Top-3 Rate, and the average marginal ASR change from adding a given surface are also reported.
- Judging method: JailbreakBench is listed in Table 18 as Llama-3.3-70B Safety Judge; FinSafetyBench uses a Policy Compliance Rubric; ASB checks for specified attack tool calls, DTap checks environment state.
- Repetition and error handling: each single-surface ASB case is executed once; runs with no scorable decision, such as API disconnections, rate limiting, or overlong context, are excluded from the denominator. The paper does not report per-case repetition counts for the other benchmarks.
Main Results
The table below is based on Table 2; UM is the User Message baseline, and MSA is the empirical lower bound formed by the highest ASR among tested single configurations, not the per-case union of the complete algorithm.
Swipe horizontally to read the table
Benchmark Model UM ASR MSA ASR (relative to UM) Highest combination ASR ASB GPT-4.1 88% 100% (+12 pp) 100% (CH+ES) ASB GPT-5.6 Sol 82% 100% (+18 pp) 100% (LP+CH) ASB Gemini 2.5 Flash 91% 100% (+9 pp) 100% (CH+ES) ASB Gemini 3.7 Flash 78% 80% (+2 pp) 80% (LP+CH) ASB Claude Sonnet 4.6 49% 60% (+11 pp) 60% (UM+ES) DTap GPT-4.1 / GPT-5.6 Sol / Gemini 2.5 Flash / Gemini 3.7 Flash / Claude Sonnet 4.6 71% / 33% / 84% / 50% / 32% 75% / 80% / 89% / 70% / 36% 70% / 80% / 89% / 70% / 30% JailbreakBench GPT-4.1 / GPT-5.6 Sol / Gemini 2.5 Flash / Gemini 3.7 Flash all 0% 100% / 20% / 100% / 0% 100% / 20% / 100% / 0% FinSafetyBench GPT-4.1 / GPT-5.6 Sol / Gemini 2.5 Flash / Gemini 3.7 Flash all 0% 100% / 14% / 100% / 7% 100% / 14% / 100% / 7% - Single-surface differences: GPT-5.6 Sol's LP on ASB is 89% and RAG is 6%; on DTap, SP is 57%, and both RAG and TO are 28% (Table 2).
- Execution-setting exceptions: Gemini 3.7 Flash's MSA on JailbreakBench is 0% and on FinSafetyBench is 7%, but on ASB and DTap it reaches 80% and 70% respectively. The authors therefore argue that resistance in static chat does not necessarily transfer to agent runtime.
- Aggregation basis: Table 21 takes an equal-weight macro average over the four suites; GPT-4.1 overall goes from 39.8% to 93.8%, Gemini 2.5 Flash from 43.8% to 97.3%; Claude Sonnet 4.6's 40.5% to 48.0% covers only the two agent benchmarks.
Cross-Setting Surface Profiles and Combination Screening
- Chat profile: In Table 3, LTM's Mean Rank is 2.70 and Top-3 Rate is 80%; UM and HPE tie at Mean Rank 7.20, with Minimum Rate both 100% and Top-3 Rate both 0%.
- Agent profile: UM's Mean Rank is 2.85 and Top-3 Rate is 70%; RAG's Mean Rank is 7.70, with Minimum Rate 60% and Top-3 Rate 0%. The authors therefore set different attempt orders for MSA.
- Combination counterexamples: In the m=10 screening in Table 4, GPT-5.6 Sol on ASB has 31 combinations below UM and 314 above UM; Gemini 3.7 Flash on ASB has 316 below UM and 0 above UM, with ties not counted.
- Non-monotonic degree: The authors state that in Figure 2, for most model–benchmark pairs the maximum ASR no longer increases beyond four surfaces; Claude Sonnet 4.6's maximum ASR drops from 60% to 0% on ASB and from 30% to 0% on DTap. The main text lists easier identification and resistance from multi-source repetition as a possible explanation.
FinSafetyBench Full Factorial and Frontier Model Scan
- Eleven-surface full factorial: On GPT-4.1, 2,048 subsets are enumerated, with 28,672 planned runs, 28,579 valid runs, and 93 errors excluded; 16,984 are compromised, with an overall ASR of 59.4% (Section E.1).
- Inverted-U degree results: In Table 8, k=0 is 0.0%, k=1 is 44.8%, k=3 reaches 67.5%, and k=11 is 42.9%; the authors state that too many corrupted surfaces introduce conflicting instructions and increase refusals.
- Marginal impact: In Table 9, activating LP is +14.8 percentage points and Tool Description is +14.6; when User Message is activated ASR is 22.9% (3,278/14,292), and when not activated it is 95.9% (13,706/14,287), a Delta of -73.0 percentage points.
- k=3 model comparison: In Table 10, GPT-4.1 is 67.5% (1,551/2,299) and GPT-5.6 Sol is 2.6% (54/2,073, 237 errors); of the latter's 54 successes, 53 activate LP, and User Message appears in 0/54 of the successful cases.
ASB Exact Counts and Metric Boundaries
- Attack records: In Table 13 Panel A, Claude Sonnet 4.6's highest across conditions is UM at 15.0% (9/60), and the other seven conditions do not exceed 1.7%; ES across the five models is 0.0%–13.3%.
- Non-attack slice: The authors explicitly do not interpret it directly as harmful compliance, because the instructions may appear benign; the high ASR in the main table cannot all be equated with hidden malicious goals having been achieved.
- Completion rate: Table 14 plans 5,400 single-surface executions in total, with 5,317 scorable; the 83 unscored are all provider content-filter blocks on attack records.
Other Ablations and Analyses
- ASB combination ties: In the m=10 screening in Table 16, GPT-4.1's maximum of 100% has 491 tied combinations and Gemini 2.5 Flash has 500, showing that the displayed representative is not the unique optimum.
- ASB degree scan: In Table 17, Claude Sonnet 4.6's maximum is 60% at k=2–4, 40% at k=5, and 0% at k=6–9.
- Two added surfaces: Section E.1 reports a marginal +2.7 percentage points for Session Memory and +0.3 percentage points for Skills.
- Case evidence: Appendix C.7 shows the same DTap case changing from failure under UM to success under HPE; Appendix C.8's Gemini 3.7 Flash case succeeds under UM but fails under a seven-surface combination, both being single cases rather than benchmark ASR.
- Failure mode: Section H.5 states that DTap and ASB exhibit execute-then-refuse, where a prohibited tool is called first and a text refusal follows; the environment judge still rules success based on sandbox state.
What are some points that can be further explored?
The authors propose defenses and training oriented toward source and repetition invariance; existing evidence includes single runs and small-sample screening.
Limitations noted by the authors and future directions
- Chat results may be affected by the setting: Section 5 notes that Claude Sonnet 4.6 resists all attacks in chat evaluation but remains vulnerable in agent scenarios; the authors believe the chat results may reflect the evaluation setting rather than MSA's general robustness.
- Training direction: Section 5 proposes that future training should strengthen consistent refusal under multi-surface pressure, so that safety does not change with the source of the instruction or the number of repetitions.
- Defense direction: Section 5 proposes that defenses should authenticate context provenance and prevent untrusted surfaces from overriding safety policies.
- ASB metric boundary: Section F.3 states that the tool-selection proxy metric cannot prove that tool parameters realize a hidden attack goal, that the model intends harm, or that externally harmful effects occur; non-attack records in particular cannot be directly interpreted as harmful compliance.
- Variance and screening precision: Section F.6 notes that each single-surface case is executed only once, and within-case random variance is not estimated; with 120 cases and a proportion near 0.5, the approximately 95% confidence half-width is nine percentage points.
- Combination and template limitations: Section F.6 states that the 10-case combination screening only characterizes an empirical coverage envelope, with ASR increasing in 10-percentage-point increments; the SP condition contains conspicuous authoritative-override wording, so its results reflect both the position and that template's wording.
Experimental coverage
- Models and benchmarks: four models cover four benchmarks; Claude Sonnet 4.6 covers only ASB and DTap; the core test set is 420 cases.
- Combination evidence: the main combination screening uses 10 cases and 502 combinations per model per benchmark; the full benchmark only further applies the three screened high-performing combinations.
- Additional sweeps: the eleven-surface full factorial for FinSafetyBench is conducted only on GPT-4.1; the k=3 frontier comparison reports only GPT-4.1 and GPT-5.6 Sol.
- Runs and determination: ASB single surfaces are run once per case; ASB does not use an LLM judge, and DTap uses an environment-state judge. The paper does not report human evaluation or agreement between reviewers and humans.
- Status of reproducibility materials: the Reproducibility Statement says the authors plan to release the full evaluation pipeline, benchmarks, source code and scripts.
Summarize the main content of the paper
The paper treats the delivery surface as an independent variable and reports MSA gains and combination counterexamples related to the model and execution settings.
This is a multi-attack-surface study of chat LLMs and tool-using agents: the authors argue that fixed-surface evaluation mixes malicious content with placement location, and may cause refusals in human-machine dialogue to be misread as overall safety after deployment.
- Method: PromptRouter keeps the malicious prompt verbatim unchanged and places it into one or more of nine context surfaces, with the remaining surfaces remaining neutral; chat models receive a serialized synthesized agent context. MSA first tests single surfaces in order of susceptibility, then expands combinations surface by surface according to marginal impact.
- Chat results: In Table 2, GPT-4.1 and Gemini 2.5 Flash have UM baselines of 0% on JailbreakBench and FinSafetyBench, with MSA reaching 100% for both; GPT-5.6 Sol has only 20% and 14%, respectively, and Gemini 3.7 Flash has 0% and 7%, respectively.
- Agent results: GPT-5.6 Sol on DTap goes from 33% for UM to 80% for MSA; Gemini 3.7 Flash reaches 80% and 70% on ASB and DTap, respectively. Claude Sonnet 4.6 is 60% and 36%, respectively, and was not run on the two chat benchmarks.
- More combinations are not necessarily better: In the m=10 ASB screening, GPT-5.6 Sol has 31 combinations below UM, and Gemini 3.7 Flash has 316 below UM; Appendix C.8 also gives a single case where UM succeeds but a seven-surface combination fails.
- Full-factorial evidence: In GPT-4.1's eleven-surface scan on FinSafetyBench, Table 8's ASR goes from 0.0% at k=0 to 67.5% at k=3, then to 42.9% at k=11; in Table 9, the marginal change from activating User Message is -73.0 percentage points.
- Authors' conclusions and boundaries: The authors state that single-interface testing may overestimate safety, and that future work should train consistent refusals invariant to source and repetition, and certify context sources. Their ASB metric measures only tool selection, the combination screening is based on 10 cases, and the MSA in Table 2 is also an empirical lower bound formed by the highest values among tested configurations.
Research lineage
6 foundations · 0 follow-ups in libraryNo later in-library follow-ups recorded yet.
Hover or focus a connected paper to inspect the citation context.
Related papers
Show 3 more papers
- DEFER1DefensesarXiv
- LLM Agent Authorization Across Context CompactionDefensesarXiv