[KongchangAI]
· 2 min read· 1,361 words

Multi-Surface Attacks: The Security Weaknesses of LLM Agents and the Attack Surface Game

Multi-Surface Attacks: The Security Weaknesses of LLM Agents and the Attack Surface Game

Delivering the same malicious prompt to a more vulnerable attack surface can increase the attack success rate by up to 100%.

This study systematically examines how attack surface selection affects LLM agent security, evaluating nine common attack surfaces across five models and four benchmarks. Controlled experiments show that routing the same malicious prompt to a more vulnerable surface can increase the attack success rate by up to 100% relative to the baseline, indicating that attackers do not need new techniques—they only need to change the delivery channel. The study also finds that pure chat models are equally vulnerable under forged agent-like context; and although simultaneously attacking multiple surfaces can significantly improve success rates, more surfaces are not necessarily better due to positive and negative coupling among surfaces. Based on this, the team proposes the Multi-Surface Attack (MSA) method and releases a comprehensive benchmark, emphasizing that agent security depends on its weakest surface.

Introduction: The "Barrel Effect" of Agents

Large language model (LLM) agents are moving from the lab into real-world applications. User messages, system prompts, tool outputs, environment states... every point of contact is a potential attack entry point. For a long time, security research has tended to focus on a single attack surface, such as injecting malicious instructions only into user input. But a new study raises a question that is closer to reality: if the same malicious prompt were delivered through the agent's more vulnerable surface, what would happen to the attack success rate?

The answer is not encouraging. This study systematically examines how the choice of attack surface affects security and proposes the Multi-Surface Attack (MSA) method. It reveals a key fact: an agent's security depends on its weakest surface.

Screenshot of the Multi Surface Attack paper source

More Than One Attack Surface: A Vulnerability Comparison of Nine Entry Points

The research team evaluated nine common agent attack surfaces across five large language models and four existing benchmarks. These surfaces cover key links in the agent's runtime—from user-editable messages to system-level prompts, to content returned by tool calls, and to injections of environment state.

The core of the experimental design lies in "controlling variables": the same malicious prompt is bound to different attack surfaces, and changes in the success rate are observed. The results show that routing to a more vulnerable surface can increase the attack success rate (ASR) by up to 100% relative to the baseline surface. This number means that attackers do not need to invent new attack techniques; they only need to find a more suitable delivery channel.

This finding directly challenges the assumption in prior research that "one malicious prompt corresponds to one fixed attack surface." Real attackers will behave like water seeking cracks, bypassing strongly defended entry points and choosing the path of least resistance.

ASR (Attack Success Rate) is one of the most commonly used quantitative metrics in security evaluation. It refers to the proportion of all attack attempts in which the attacker successfully achieves the goal (for example, inducing the model to output prohibited content, execute unauthorized tool calls, or leak the system prompt). The level of ASR depends simultaneously on the model's own alignment strength, the design of the attack payload, and the judgment method used in the evaluation. Different papers do not use unified criteria for judging "success"; some rely on manual annotation, while others use auxiliary models or rule matching for automatic judgment. Therefore, extra caution is needed when directly comparing ASR values across studies. The statement in this article that "the relative increase is up to 100% compared with the baseline surface" refers to a relative increase based on the success rate of the same malicious prompt on the baseline attack surface, not a doubling of the absolute success rate. Understanding this point is crucial for interpreting the conclusion.

Chat Models Are Also Affected: Forged Agent Context

An alarming extended finding is that even chat-based LLMs without tool-calling capabilities also show vulnerability when facing synthetic agent-like context payloads. The study used fake agent-like context payloads to simulate the runtime environment of real agents.

This means that such attacks are not limited to agent systems with a complete toolchain. As long as the model is placed in an agent-like context framework, its security boundary shifts. For product designers, this is a reminder: security evaluation should not focus only on "whether tools are connected," but also on whether the context structure received by the model itself can be forged.

Context spoofing refers to an attacker constructing, within the input, context fragments that should have been generated by the system or runtime environment—for example, forged tool return results, forged system-role messages, or forged environment state descriptions—so that the model mistakenly believes it is in some agent execution flow. Such attacks are effective because current model safety alignment is mostly trained on the standard dialogue distribution. When the input presents a clear "tool call—result return" structure, the model's behavioral pattern shifts, and it tends to treat subsequent content as trusted environmental information rather than user instructions. For defense, consider adding source markers and role-boundary validation to the context, or performing consistency checks on suspected forged structured fragments, to reduce the possibility of the model being misled by false environmental signals.

Simultaneous Attacks on Multiple Surfaces: More Is Not Necessarily Better

Intuitively, attacking multiple surfaces at the same time should make success easier. The study confirms that simultaneous multi-surface attacks can indeed significantly increase ASR. But there is also a counterintuitive conclusion: attacking more surfaces does not necessarily bring a higher success rate, and may even make the agent harder to compromise.

The reason is that surfaces interact with one another, and the interaction may be positive (mutual reinforcement) or negative (mutual cancellation). For example, injecting anomalous signals into multiple surfaces at the same time may trigger the agent's internal checking mechanisms or cause output inconsistency, thereby weakening the attack effect. This finding has direct value for defenders: understanding the interactions among surfaces may be more effective than simply stacking protection layers.

Based on these findings, the researchers propose the Multi-Surface Attack (MSA) method, which is applicable to any agent or chat LLM and can increase the attack success rate by up to 100%. At the same time, the team also released a comprehensive multi-surface attack benchmark, with attack samples adapted from four existing benchmarks through its methodology.

Attack surface interaction describes the phenomenon in which, when multiple attack surfaces are exploited simultaneously, the effects of the attacks reinforce or weaken one another. Positive coupling usually comes from complementary information: one surface provides contextual setup, while another provides specific instructions, and the combination makes the attack more coherent. Negative coupling is common in signal conflicts: injecting abnormal content into multiple surfaces at the same time may make the model's output contradictory, trigger built-in consistency checks, or dilute the attack payload through mutual interference. This mechanism suggests to defenders that surfaces are not independent additive layers. Hardening strategies should prioritize identifying "hub surfaces" that have strong positive coupling with other surfaces. Cutting the attack chain there is often more cost-effective than spreading effort evenly across all surfaces.

Implications for Security Practice

This study elevates "attack surface selection" from a marginal variable to a core variable. For agent developers, several directions deserve attention:

Security evaluation needs to cover all surfaces. Testing only user input or only tool output will miss more vulnerable delivery channels. The evaluation framework of nine surfaces provides a reference checklist.

Interactions among surfaces are a double-edged sword. Defense design should not assume that "more layers mean more security." Instead, it should identify positive and negative coupling among surfaces through experiments and find the most economical hardening combination.

The security boundary of chat models is context-dependent. Forged agent context can change the model's security performance, which means safety alignment needs to be validated under richer context forms, not only in standard dialogue scenarios.

An agent's security is not about one surface being impregnable, but about all surfaces being coordinated and consistent. The weakest surface often determines the height of the overall defense line.

One-line Summary

When the same malicious prompt is delivered to a more vulnerable attack surface, the attack success rate can increase by up to 100%.

Paragraph Summary

This study systematically examines how attack surface selection affects the security of LLM agents, evaluating nine common attack surfaces across five models and four benchmarks. Controlled-variable experiments show that when the same malicious prompt is routed to a more vulnerable surface, the attack success rate can increase by up to 100% relative to the baseline, indicating that attackers do not need new techniques—they only need to change the delivery channel. The study also finds that pure chat models are equally vulnerable under forged agent-like context; and although attacking multiple surfaces simultaneously can significantly increase the success rate, more surfaces are not necessarily better because of positive and negative coupling among surfaces. Based on this, the team proposes the Multi-Surface Attack (MSA) method and releases a comprehensive benchmark, emphasizing that agent security depends on its weakest surface.

#LLM agent security#multi-surface attack#attack success rate#context spoofing#attack surface interaction
Share:

Related articles