TL;DR
PEAR is the first comprehensive benchmark designed to stress-test the security and utility of "Planner-Executor" multi-agent systems (MAS). The study reveals a critical structural vulnerability: the planner acts as a single point of failure, where successful adversarial injections at the planning stage are significantly more damaging and harder to recover from than attacks on the executor.
What Problem Does This Paper Address?
As Large Language Models (LLMs) move from simple chatbots to autonomous agents, researchers are increasingly adopting Multi-Agent Systems (MAS). A popular architecture is the Planner-Executor model, where one "brain" (the Planner) breaks down a complex request into sub-tasks, and another "hand" (the Executor) uses tools to carry them out.
While these systems are powerful, their security landscape is a "wild west." Previous research has mostly focused on "jailbreaking" single LLMs or attacking specific communication channels. We lacked a holistic understanding of how the structure of a multi-agent system influences its vulnerability. Does a better planner make the system safer or more dangerous? Does giving agents memory help them spot attacks or make them easier to poison? PEAR was built to answer these systemic questions.
Methods
The authors developed a framework to evaluate MAS across two dimensions: Utility (how well it completes legitimate tasks) and Robustness (how well it resists attacks).
The benchmark focuses on a generalist Planner-Executor architecture. To test it, the authors implemented:
- Four Memory Modes: Testing how performance changes when agents have separate memory, shared memory, no memory, or if only the planner remembers the past.
- Three Attack Surfaces:
- User Prompts: Direct malicious queries.
- Communication Flow: Injecting malicious instructions into the messages sent between the Planner and Executor.
- System Prompts: Corrupting the core "personality" or instructions of the agents.
- Adversarial Connectors: A novel technique to make injected attacks semantically coherent with the user's original task, making the "trap" harder for the LLM to detect.
Datasets
The authors introduced the PEAR Benchmark, which includes:
- 4 Real-world Scenarios: Banking, Slack, Travel, and Workspace.
- 84 User Tasks: Legitimate goals (e.g., "book a hotel in Paris") adapted and refined from the AgentDojo dataset.
- 120 Base Attack Tasks: Purely malicious goals across three categories: Harmful Actions (e.g., unauthorized transfers), Privacy Leakage (e.g., exfiltrating emails), and Resource Exhaustion (e.g., triggering infinite loops).
- 1,680 Injection Tasks: Combinations of legitimate user tasks and malicious injections used to test the system's ability to stay on track.
Key Insights and Ideas
- The Planner is the "High-Value Target": Attacks targeting the planner (at the start of a task) are much more effective than those targeting the executor. Because the planner sets the strategy, a corrupted plan propagates errors through every subsequent step the executor takes.
- The Capability Paradox: There is a positive correlation between utility and vulnerability. Stronger models (like GPT-4 or Gemini Pro) are better at following complex instructions—which unfortunately means they are also "better" at following malicious instructions once injected.
- Memory Asymmetry: The researchers found that while a memory module is essential for the Planner to maintain a coherent strategy, giving the Executor memory provides almost no benefit to clean task performance but potentially opens a door for memory-poisoning attacks.
- Weak Planners are Fatal: A weak executor might fail a specific step, but a weak planner degrades the entire system's performance much more severely. The "intelligence" of the system is heavily gated by the planner's quality.
Key Results
- High Vulnerability: Across most settings, the Attack Success Rate (ASR) was alarmingly high, often exceeding 70-80%.
- Injection Timing Matters: Injections at the "Planner Start" phase reached an ASR of 82.03% for GPT-based models, compared to significantly lower rates when the injection occurred at the end of the execution chain.
- Memory Boost: Providing the planner with memory increased task utility by 10–30% across different model families, confirming that "statefulness" is a requirement for complex MAS.
- Model Comparison: While Claude and DeepSeek models showed high utility (often >80%), they remained susceptible to the same structural vulnerabilities as the GPT and Gemini families.
Limitations and Future Work
The authors acknowledge that PEAR operates in a controlled environment with synthesized tools. Real-world MAS often interact with unpredictable third-party APIs and messy data, which might introduce even more attack vectors.
Future work suggested by the paper includes:
- Trust-Aware Planning: Developing planners that can "vet" instructions before passing them to executors.
- Message Vetting: Implementing defensive layers that scan inter-agent communications for adversarial patterns.
- Expanding Attack Goals: Moving beyond banking and travel into more specialized domains like software engineering or scientific discovery.
Summary updated