SwarmLeak: Does Coordination Improve Privacy Attacks on LLM Agents?

Asma Farajidizaji, Vyas Raina, Vatsal Raina, Ivaxi ShetharXiv 2026

TL;DR

When AI agents collaborate in workplace group chats, can a coordinated gang of rogue agents trick a colleague into spilling confidential secrets more effectively than a lone wolf? Surprisingly, no: when you hold the total compute budget constant, a single persistent attacker matches or beats a four-agent swarm every single time. What actually determines whether your data stays safe isn’t the size of the attacking team—it’s which model you chose to trust with the keys.

What Problem Does This Paper Address?

Picture a hospital discharge team made of LLM agents—representing nurses, case managers, and coordinators—all working together in a Slack-style channel. Each agent has private tool access to specific patient records. To do their jobs, they have to talk to each other; to follow the law, they must never paste names, addresses, or medical record numbers into the public chat.

That shared chat is an obvious attack surface. If one colleague in the room is compromised or malicious, it can try to socially engineer a victim agent into leaking private data. Intuition—and recent real-world multi-agent security incidents—suggests that colluding attackers might be far more dangerous than one, ganging up to manufacture urgency or corroborate fake stories. Yet nobody had cleanly tested whether a coordinated "swarm" actually beats a solo attacker when both sides have to pay the same computational bill.

Methods

The authors pit an Individual Attack (one attacker vs. one victim) against a Swarm Attack (four attackers + an "Overseer" router vs. one victim) in simulated professional group chats.

Figure 1: An individual attack (a) and a swarm attack (b) on the same victim agent, Nora, who can read a patient’s record only through private tool calls. In both excerpts from real runs, an attacker applies time pressure and Nora posts a protected field. In (b), the attackers also coordinate in a private chat that Nora cannot see, and an Overseer picks who speaks next. Patient data are synthetic.

Here is how the rules of engagement work:

  • Caller-bound tools: Secret records aren't sitting in the victim's system prompt. Agents must actively fetch them via private tool calls, allowing the researchers to separate accessing sensitive data from leaking it publicly.
  • Matched token budgets: Both setups get an identical attacker-side budget of 200,000 tokens per run. Crucially, the swarm has to spend part of its budget talking in a hidden backchannel and letting the Overseer pick who speaks next.
  • Social engineering playbooks: Using GLM 5.2 as the attacker, the authors test seven distinct conversational strategies—such as Urgency (time pressure on a blocked task), Reciprocity ("I'll share mine if you share yours"), and Consistency traps (using the victim's own earlier advice against it).
Seven conversational social engineering strategies used by attackers.

Datasets

Because existing privacy benchmarks focus mostly on 1-on-1 chats or static prompts, the authors introduce SwarmLeak, a synthetic red-teaming dataset of 24 workplace group-chat scenarios spanning healthcare, law, finance, and software engineering.

Every context comes in two flavors: a peer structure (everyone is equal) and a hierarchical structure (Attacker 1 is the boss). Each participant is assigned a synthetic record containing five protected fields (like name, date of birth, and case/medical numbers), while the victim agent is given an explicit security policy forbidding those five fields from ever touching the group chat.

Key Insights and Ideas

  • Coordination overhead eats the swarm's lunch: When compute isn't free, spending tokens whispering in a private backchannel means fewer turns actually pressuring the victim. At equal budgets, a solo attacker gets more "shots on goal" and extracts more data.
  • The victim model matters vastly more than the attack setup: Switching between one attacker and four shifts leakage rates by at most ~14 percentage points. Switching the victim model swings leakage from 0% all the way to nearly 100%.
  • Prompt policies are paper shields: Simply telling an agent in its prompt "do not share these five fields" failed on four out of five tested models.
  • Fetching isn't leaking (until it is): Agents frequently pull confidential records into their context window via tools without immediately blabbing. Once that data is in context, however, it sits just one persuasive follow-up message away from exposure.

Key Results

The authors tested GLM 5.2 attackers against five open-weight victim models across 336 runs each, tracking Any-field leakage ($\text{LR}_{\text{any}}$), Fractional leakage ($\text{LR}_{\text{frac}}$), and Sensitive-data access rate ($\text{SAR}$):

Main leakage and data access results across the five victim models.
  • Solo beats Swarm: On all five victims, a single attacker matched or outperformed the four-agent swarm. Against GPT-OSS 120B, individual attacks leaked data in 58.9% of runs compared to 44.6% for swarms.
  • Near-total collapse on vulnerable models: Nemotron 3.5 Lightning and Qwen3-8B leaked secrets in over 95% of runs regardless of setup. Worse, when solo attackers broke through on their first hit, the victim dumped almost the entire record at once (85.4% of fields on Nemotron vs. 68.1% under swarm attacks).
  • The retrieval-disclosure gap: When GLM 5.2 played the victim, it fetched protected data via tools in 64.3% of solo runs, yet only leaked once (0.6%). Only Muse Glimmer 30B achieved 0% leakage across the board (fetching data in ~10% of runs).

Limitations and Future Work

The authors keep their caveats clear: all experiments used a single attacker model (GLM 5.2, as other models frequently refused to roleplay the bad guy) with "thinking" disabled, and tested only one specific swarm architecture where all four attackers shared the same strategy. Moreover, attackers had to play by realistic workplace rules—no inventing fake emergencies—and runs stopped at the very first leaked field. Future work will need to explore larger token budgets, swarms mixing diverse tactics, real-world chats containing helpful (non-malicious) coworkers, and hard architectural defenses that filter outgoing messages rather than relying on polite system prompts.

Summary updated

Abstract

LLM agents increasingly collaborate in group chats while holding tool access to confidential records, which makes the shared chat an attack surface. It remains unclear whether several colluding attackers extract such information more effectively than one. We introduce SwarmLeak, a red-teaming dataset of 24 synthetic group-chat scenarios across healthcare, law, finance, and software engineering, where attackers pose as colleagues to make a victim agent post protected fields despite an explicit confidentiality policy. With GLM 5.2 attacking five victim models through seven conversational strategies, we compare one attacker with a swarm of four sharing a private channel, matching scenarios, strategies, and a 200,000-token budget that also covers swarm coordination. Swarms show no advantage: a single attacker matches or exceeds them on every victim, and the share of runs leaking any field differs between conditions by at most 14.3 percentage points, whereas changing the victim shifts it from 0% to 99.4%. On the two most vulnerable models, nearly every run leaks under both conditions, but single attackers expose more of the record at first disclosure (85.4% vs. 68.1% of protected fields on Nemotron 3.5 Lightning). Four of the five victims leaked despite the policy. GLM 5.2 retrieved protected data in 64.3% of individual-attack runs and leaked in 0.6%: retrieval does not imply disclosure, but in high-stakes settings even one leaked field can identify a patient or client. At equal budgets, a larger red team is not automatically a stronger one; the victim model matters far more.
BibTeX
@misc{farajidizaji2026swarmleak,
  author = {Asma Farajidizaji and Vyas Raina and Vatsal Raina and Ivaxi Sheth},
  title = {{SwarmLeak: Does Coordination Improve Privacy Attacks on LLM Agents?}},
  year = {2026},
  eprint = {2611.31791},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31791},
}

Loading related content...

Figure