INFA-Guard : Mitigating Malicious Propagation via Infection-Aware Safeguarding in LLM-Based Multi-Agent Systems
Yijin Zhou, Xiaoya Lu, Dongrui Liu, Junchi Yan, Jing Shao · 2026
Read INFA-Guard : Mitigating Malicious Propagation via Infection-Aware Safeguarding in LLM-Based Multi-Agent Systems by Yijin Zhou, Xiaoya Lu, Dongrui Liu, Junchi Yan, Jing Shao (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2601-14667.txt.
Introduction
Yijin Zhou, Xiaoya Lu, Dongrui Liu, Junchi Yan, and Jing Shao study security for agent teams in this 2026 paper. LLM-based multi-agent systems have advanced rapidly. They have also introduced significant security vulnerabilities. Malicious influence can propagate virally through inter-agent communication. One bad agent can poison the talk of the whole team.
Conventional safeguards rely on a binary paradigm. They strictly distinguish benign agents from attack agents. That view fails to account for infected agents: benign entities converted by attack agents. The team's guard, INFA-Guard, is infection-aware. Readers get a safeguard that tracks how malice spreads through a team, not just where it starts.
Catalog record
| CREATOR | Yijin Zhou, Xiaoya Lu, Dongrui Liu, Junchi Yan, Jing Shao |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 49 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2601-14667
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
INFA-Guard : Mitigating Malicious Propagation via Infection-Aware Safeguarding in LLM-Based Multi-Agent Systems Yijin Zhou, Xiaoya Lu, Dongrui Liu, Junchi Yan, Jing Shao Abstract The rapid advancement of Large Language Model (LLM)-based Multi-Agent Systems (MAS) has introduced significant security vulnerabilities, where malicious influence can propagate virally through inter-agent communication. Conventional safeguards often rely on a binary paradigm that strictly distinguishes between benign and attack agents, failing to account for infected agents i.e. , benign entities converted by attack agents. In this paper, we propose Inf ection- A ware Guard , INFA-Guard , a novel defense framework that explicitly identifies and addresses infected agents as a distinct threat category. By leveraging infection-aware detection and topological constraints, INFA-Guard accurately localizes attack sources and infected ranges. During remediation, INFA-Guard replaces attackers and rehabilitates infected ones, avoiding malicious propagation while preserving topological integrity. Extensive experiments demonstrate that INFA-Guard achieves state-of-the-art performance, reducing the Attack Success Rate (ASR) by an average of 33 % 33\% , while exhibiting cross-model robustness, superior topological generalization, and high cost-effectiveness. Warning: this paper includes examples that may be misleading or harmful. † † footnotetext: ∗ Equal contribution. † Corresponding authors: [email protected] , [email protected] . Code – https://github.com/yjzscode/INFA-Guard 1 Introduction Figure 1: The paradigm comparison between existing MAS safeguards and our infection-aware safeguard. The remarkable evolution of Large Language Models (LLMs) ( 6 ; 1 ; 14 ) has catalyzed a paradigm shift from standalone models to autonomous agents. The pursuit of more advanced problem-solving has naturally led to the development of Multi-Agent Systems (MAS) ( 36 ) . By enabling specialized agents to communicate and collaborate, MAS establishes powerful cooperative frameworks that have proven highly effective ( 20 ; 5 ) . While such interconnectivity empowers MAS, it introduces profound security challenges beyond single-agent systems ( 10 ; 38 ) . Security risks are no longer localized. Instead, misleading information and erroneous behaviours in several agents can propagate through inter-agent interactions, catalyzing systemic decision failure ( 19 ; 43 ) . Specifically, such propagation is typically initiated by the strategic insertion of attack agents. Attacks deliberately employ persuasive yet deceptive arguments ( 3 ) , disseminate falsehoods ( 19 ) , or introduce malicious tools ( 40 ) to manipulate connected benign agents, ultimately steering MAS toward an incorrect consensus ( 43 ) . The malicious propagation hinges on a dynamic conversion as illustrated in Fig. 1 (a): attack agents persuade benign agents , converting them into infected agents that output erroneous conclusions. The existing safeguards for MAS have operated under a binary paradigm, distinguishing strictly between benign agents and attack agents ( 32 ; 26 ; 34 ; 11 ) . However, they overlook the distinct characteristics and behaviors of the originating attack agents and the resulting infected agents. As illustrated in Fig. 1 (b), this binary oversimplification leads to the oversight of infected agents, limiting the effectiveness of safeguards in two ways (Section 3 ): (1) Infected agents are harmful information propagators. Even if the attack agent’s communication channels are later severed, the already-infected agents can continue to disseminate harmful information. (2) Ignoring infected agents leads to forfeiting topological constraint information. An infected agent significantly increases the probability of finding an attack agent in its neighborhood, and vice versa. Consequently, by neglecting the detection and modeling of infected agents, existing safeguards fail to leverage this mutual relationship. In this paper, we are the first to address infected agents as a distinct threat category in MAS security, with empirical validation of the necessity and importance, and understanding of the malicious information propagation dynamics. We propose a novel defense method for MAS, termed INFA-Guard . It processes attack and infected agents as shown in Fig. 1 (c). For detection, INFA-Guard employs a specialized network architecture and topological constraints to iteratively identify both attack and infected agents by modeling the dynamic infection process. For remediation, based on the distinct characteristics of attack agents and infected agents and their topology constraints, we replace attack agents while refining infected ones. By coupling accurate detection with targeted remediation, INFA-Guard effectively ensures system security while preserving the response diversity and topological integrity of MAS. Extensive experiments demonstrate that INFA-Guard significantly reduces the Attack Success Rate (ASR), outperforming baselines by an average of 4.5\% and up to 12.9\% across various attack scenarios. Consequently, INFA-Guard offers a methodological solution that effectively curtails attack propagation from the root cause. This not only significantly improves system security but also provides an efficient and effective way for the community to develop trustworthy MAS platforms, thus combating unethical and malicious activities in advanced collaborative AI environments. 2 Preliminary 2.1 MAS as graphs MAS can be naturally formulated as a graph \mathcal{G}=(\mathcal{V},\mathcal{E}) , where \mathcal{V}=\{v_{1},\cdots,v_{N}\} denotes the agent node set of N agents, and communication edges \mathcal{E}\subset\mathcal{V}\times\mathcal{V} represent the directed message-passing channels among agents. Each agent v_{i} is composed of \{\text{Base}_{i},\text{Role}_{i},\text{Mem}_{i},\text{Plugin}_{i}\} , encapsulating its underlying LLM, functional role or persona, memory, and external tools augmenting its operational reach, like web search engines and document parsers. The communication topology is encoded by an adjacency matrix \mathbf{A}\in\{0,1\}^{N\times N} , where \mathbf{A}_{ij}=1 indicates (v_{j},v_{i})\in\mathcal{E} . The set of agents adjacent to v_{i} is N(v_{i}):=\{u\in V\mid(u,v_{i})\in\mathcal{E}\} . In response to a query \mathcal{Q} , the system engages in K iterations, where agents execute sequentially according to an ordering function \phi:\mathcal{G}\mapsto\sigma (s.t. \forall i>j,v_{\sigma_{i}}\notin N_{in}(v_{\sigma_{j}}) ), and ultimately an aggregation function \mathcal{A}(\cdot) synthesizes the final solution a^{(K)} from all agent outputs \mathbf{R}^{(K)} , i.e. \mathbf{R}_{i}^{(t)}=\text{LLM}\left(\mathcal{Q}\cup\left\{\mathbf{R}^{(t)}_{j}\mid e_{ij}\in\mathcal{E}\right\}\right) , and a^{(t)}\leftarrow\mathcal{A}(\mathbf{R}_{1}^{(t)},\ldots,\mathbf{R}_{N}^{(t)}) . 2.2 MAS attacks We focus on Prompt Injection ( 13 ) , Memory Poisoning ( 27 ) , and Tool Exploitation ( 40 ) following ( 32 ) , which distort agent outputs by manipulating agent components–the system prompt \mathcal{P}_{\text{sys}} or user inputs \mathcal{P}_{\text{usr}} , memory poisoning to \text{Mem}_{i} , and leverage \text{Plugin}_{i} , respectively, to corrupt system functionality, collectively transforming the original system \mathcal{G} into a compromised state \tilde{\mathcal{G}} , where a subset of attack agents \mathcal{V}_{\text{atk}}\subseteq\mathcal{V} exhibits malicious behavior to persuade benign agents. 3 Role of Infected Agents in MAS Attacks Definition 3.1 . Given an iterative round k , and a MAS \mathcal{G}=(\mathcal{V},\mathcal{E}) , the infected agent set \mathcal{I}_{k} is defined as: \mathcal{I}_{k}=\mathcal{V}\cap\mathcal{V}_{\text{atk}}^{C}\cap\{v_{i}:\mathcal{J}(\mathbf{R}_{i}^{(0)})=1,~\mathcal{J}(\mathbf{R}_{i}^{(k)})=0\}, (1) where \mathcal{J}(\cdot) is the function to judge whether the attack is successful, returning 0 if the attack succeeded, otherwise 1. Simply put, the infected agents are those not under direct attack control as shown in Fig. 3 (a), but whose internal logic has been compromised or misled, as indicated by \mathcal{J}(\cdot) output from 1 to 0. Existing definitions of attack agents vary significantly. Some methods focus solely on initial aggressive nodes ( 32 ; 26 ) , which aligns with our definition of \mathcal{V}_{\text{atk}} , overlooking infected nodes. Others use single metrics like response correctness or anomaly scores ( 34 ; 11 ) , often conflating infected agents with attack sources. Such coarse binary classifications fail to recognize the unique strategic importance of infected agents. In contrast, we explicitly distinguish the initial attack set \mathcal{V}_{\text{atk}} from the infected set \mathcal{V}_{\text{inf}} . By Definition 3.1 , these sets are mutually exclusive, as \mathcal{V}_{\text{inf}} originates from benign agents. This distinction allows us to analyze infected agents as secondary propagators and examine their