potentialpaper

MASpi: A Unified Environment for Evaluating Prompt Injection Robustness in LLM-Based Multi-Agent Systems

Hengyu An, Minxi Li, Jinghuai Zhang, Naen Xu, Chunyi Zhou, Changjiang Li, Tianyu Du, Shouling Ji

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. LLM-based Multi-Agent Systems (LLM-MAS) leverage inter-agent collaboration to tackle complex tasks, yet the dense interactions among agents also make them vulnerable to prompt injection attacks. Such attacks often originate from a few compromised agents and rapidly propagate across the system, posing significant security threats. Existing studies mainly focus on a limited set of attack strategies and rely on researcher-specific implementations of LLM-MAS, which makes it difficult to adapt attacks across different systems and hinders comprehensive evaluation. To bridge this gap, we introduce MASpi, a unified environment for evaluating the prompt injection robustness of LLM-MAS. MASpi offers systematic evaluation suites spanning multiple attack surfaces (i.e., external inputs, agent profiles, inter-agent messages) and attack objectives (i.e., instruction hijacking, task disruption, information disclosure). Specifically, MASpi provides interfaces for executing 23 prompt injection attacks tailored to LLM-MAS. Its modular design enables researchers to easily integrate new LLM-MAS approaches and develop novel attack strategies on top of it. Our benchmarking results reveal that increasing the topological complexity of LLM-MAS does not guarantee security. Instead, the risks are distributed across agents, with the most harmful agent varying depending on the specific attack objective. Moreover, defenses designed for single-agent prompt injection do not reliably transfer to LLM-MAS; in fact, narrowly scoped defenses may inadvertently increase vulnerabilities to other types of attacks. MASpi aims to provide a solid foundation for the community to advance deeper exploration of security design principles in LLM-MAS.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…