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
1/21/2026
cs.MAcs.AI

No official code found. Best implementation: yjzscode/INFA-Guard (9 stars, last commit 2026-01-22).

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 Infection-Aware 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%, while exhibiting cross-model robustness, superior topological generalization, and high cost-effectiveness.

View on arXivView PDF

Code Implementations(1)

Code for Paper INFA-Guard: Mitigating Malicious Propagation via Infection-Aware Safeguarding in LLM-Based Multi-Agent Systems

91Shell, PythonJan 20, 20269 months ago

Similar Papers

Cite this paper

@article{zhou2026infaguard,
  title  = {INFA-Guard: Mitigating Malicious Propagation via Infection-Aware Safeguarding in LLM-Based Multi-Agent Systems},
  author = {Yijin Zhou and Xiaoya Lu and Dongrui Liu and Junchi Yan and Jing Shao},
  year   = {2026},
  eprint = {2601.14667},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.14667v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.14667.svg)](https://codeofpaper.com/paper/2601.14667)

Discussion