Multi-Agent Security Tax: Trading Off Security and Collaboration Capabilities in Multi-Agent Systems

Pierre Peigne-Lefebvre, Mikolaj Kniejski, Filip Sondej, Matthieu David, Jason Hoelscher-Obermaier +2 more
2/26/2025
cs.AIcs.MA

No confident code implementation found for this paper.

Abstract

As AI agents are increasingly adopted to collaborate on complex objectives, ensuring the security of autonomous multi-agent systems becomes crucial. We develop simulations of agents collaborating on shared objectives to study these security risks and security trade-offs. We focus on scenarios where an attacker compromises one agent, using it to steer the entire system toward misaligned outcomes by corrupting other agents. In this context, we observe infectious malicious prompts - the multi-hop spreading of malicious instructions. To mitigate this risk, we evaluated several strategies: two "vaccination" approaches that insert false memories of safely handling malicious input into the agents' memory stream, and two versions of a generic safety instruction strategy. While these defenses reduce the spread and fulfillment of malicious instructions in our experiments, they tend to decrease collaboration capability in the agent network. Our findings illustrate potential trade-off between security and collaborative efficiency in multi-agent systems, providing insights for designing more secure yet effective AI collaborations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{peignelefebvre2025multiagent,
  title  = {Multi-Agent Security Tax: Trading Off Security and Collaboration Capabilities in Multi-Agent Systems},
  author = {Pierre Peigne-Lefebvre and Mikolaj Kniejski and Filip Sondej and Matthieu David and Jason Hoelscher-Obermaier and Christian Schroeder de Witt and Esben Kran},
  year   = {2025},
  eprint = {2502.19145},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.19145v2}
}

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/2502.19145.svg)](https://codeofpaper.com/paper/2502.19145)

Discussion