Attack the Messages, Not the Agents: A Multi-round Adaptive Stealthy Tampering Framework for LLM-MAS

Bingyu Yan, Ziyi Zhou, Xiaoming Zhang, Chaozhuo Li, Ruilin Zeng, Yirui Qi, Tianbo Wang, Litian ZhangarXiv 2025 · OpenReview

Abstract

Large language model-based multi-agent systems (LLM-MAS) effectively accomplish complex and dynamic tasks through inter-agent communication, but this reliance introduces substantial safety vulnerabilities. Existing attack methods targeting LLM-MAS either compromise agent internals or rely on direct and overt persuasion, which limit their effectiveness, adaptability, and stealthiness. In this paper, we propose MAST, a Multi-round Adaptive Stealthy Tampering framework designed to exploit communication vulnerabilities within the system. MAST integrates Monte Carlo Tree Search with Direct Preference Optimization to train an attack policy model that adaptively generates effective multi-round tampering strategies. Furthermore, to preserve stealthiness, we impose dual semantic and embedding similarity constraints during the tampering process. Comprehensive experiments across diverse tasks, communication architectures, and LLMs demonstrate that MAST consistently achieves high attack success rates while significantly enhancing stealthiness compared to baselines. These findings highlight the effectiveness, stealthiness, and adaptability of MAST, underscoring the need for robust communication safeguards in LLM-MAS.

Introduction

As Large Language Model-based Multi-Agent Systems (LLM-MAS) like AutoGen and MetaGPT become more prevalent, the inter-agent communication channel has emerged as a critical yet overlooked attack surface. Traditional attacks typically attempt to "jailbreak" individual agents or use overt persuasion to spread misinformation. However, these methods are often easily detected by modern safety filters or automated "Tamper Defenders."

Comparison of current attacks against LLM-MAS and the proposed multi-round tampering approach.

The fundamental challenge in attacking these systems is the ASR-Stealthiness trade-off: powerful attacks that successfully derail system outputs are usually loud enough to be flagged. This paper introduces a "Man-in-the-Middle" (MITM) approach that focuses on subtle, cumulative tampering across multiple rounds of conversation—a "boiling frog" strategy where small, strategically placed nudges propagate through the system to lead agents toward a malicious consensus naturally.

Methodology: The MAST Framework

The proposed MAST (Multi-round Adaptive Stealthy Tampering) framework consists of two core phases designed to maximize both impact and invisibility.

1. Adaptive Attack Policy Learning

To generate sophisticated multi-round strategies, MAST employs Monte Carlo Tree Search (MCTS) to simulate and evaluate various attack trajectories. It breaks down a global malicious goal into subtle sub-goals for each round. To ensure efficiency, the framework uses Direct Preference Optimization (DPO) to fine-tune a lightweight model (Llama-3.1-8B) on the successful trajectories identified by MCTS, allowing the smaller model to internalize complex strategic planning.

The MAST framework architecture, featuring MCTS-based reasoning, DPO training, and stealthiness-constrained tampering.

2. Stealthiness-Constrained Tampering

To bypass defenders, MAST applies rigorous constraints during the message modification process:

  • Context Analysis: The attacker analyzes the original message's semantic core, tone, and format.
  • Goal Camouflage: Malicious intents are rephrased into benign rationales (e.g., framing a backdoor as a "maintenance override").
  • Dual Constraints: The system enforces Semantic Similarity and Embedding Similarity to ensure the tampered message remains linguistically consistent with the original sender's style and intent.

Experimental Evaluation

MAST was evaluated across diverse benchmarks, including MultiAgentBench (MAB), HumanEval, and MMLU. The framework demonstrated superior performance compared to traditional baselines like Debate-Attack and Agent-in-the-Middle (AiTM).

  • High Success Rates: On the MAB.research task, MAST achieved an 88.3% Attack Success Rate (ASR) in a Flat architecture, significantly outperforming traditional persuasion methods (38.4%).
  • Enhanced Stealth: Unlike baseline methods where stealth drops as success rises, MAST maintained high stealth scores (often above 75-80%) even at peak effectiveness.
  • Robustness: The attack remained effective against agents powered by top-tier models like GPT-4o and Gemini 2.5 Pro, proving it exploits the underlying logic of multi-agent collaboration rather than specific model weaknesses.

Conclusion

MAST demonstrates that the communication reliance of LLM-MAS is a major vulnerability. By shifting the attack focus from agents to messages and employing adaptive, multi-round tampering, MAST achieves high effectiveness without sacrificing stealth. These findings highlight the urgent need for robust communication safeguards, such as authenticated messaging and advanced semantic firewalls, to protect collaborative AI systems.

Summary updated

BibTeX
@misc{yan2025attack,
  author = {Bingyu Yan and Ziyi Zhou and Xiaoming Zhang and Chaozhuo Li and Ruilin Zeng and Yirui Qi and Tianbo Wang and Litian Zhang},
  title = {{Attack the Messages, Not the Agents: A Multi-round Adaptive Stealthy Tampering Framework for LLM-MAS}},
  year = {2025},
  eprint = {2508.03125},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.03125},
}
Figure