AI Security
New vulnerability in shared AI agents lets attackers poison collaborative contexts with cross-user attacks
Research reveals how adversaries can inject malicious messages into shared agent environments to manipulate actions intended for other users.
As language agents move beyond single-user applications into shared workspaces and group collaboration spaces, they face a fresh security threat: cross-user poisoning (CUP). A new study from arXiv (cs.CL) documents how attackers can inject harmful messages into shared contexts that later trigger unauthorized actions when the agent serves legitimate users.
How the attack works#
The core vulnerability emerges from a fundamental design challenge. When a language agent operates in a multi-user environment—whether in Slack, forums, or group chats—it maintains a persistent context and observes interleaved messages from multiple participants. This creates a boundary problem that single-user agents don't face: the agent must determine not only whether an instruction is safe, but whose instructions it should follow and which tasks it's authorized to perform.
Researchers identified a gap in that logic. An adversary can plant a message in the shared context that, while benign in isolation, gets activated later when the agent processes requests from a different user. The result is unauthorized actions or responses that fall outside the intended scope of the original instruction.
Real-world validation#
The researchers tested the vulnerability on two production multi-user agents: Continua and ElizaOS. They deployed a framework called MURMUR to simulate concurrent multi-user interactions across three domains: Slack, Workspace, and Airline systems.
The findings were concerning:
- CUP achieved high attack success rates
- Poisoned messages persisted across later interactions
- The attack proved substantially more effective than conventional prompt-injection techniques
Defensive approaches and their limits#
The team evaluated several boundary-scoping defenses to mitigate the risk. Context summarization—a common technique to compress conversations—proved insufficient on its own. However, two strategies showed promise:
- Task clustering substantially reduced non-adaptive propagation of attacks
- Provenance prompting (explicitly tracking which user or task issued each instruction) also significantly lowered the attack surface
