WebWeaver: Breaking Topology Confidentiality in LLM Multi-Agent Systems with Stealthy Context-Based Inference

arXiv:2603.11132 · cs.CR, cs.AI · Submitted 2026-03-11 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.

Nadia: We're looking at the paper: "WebWeaver: Breaking Topology Confidentiality in LLM Multi-Agent Systems with Stealthy Context-Based Inference".

Elias: Here's the gist of the paper. Communication topology is a critical factor in the utility and safety of LLM-based multiagent systems (LLM-MAS), making it a highvalue intellectual property (IP) whose confidentiality remains insufficiently studied The paper proposes WebWeaver, an attack framework that infers the complete LLM-MAS topology by compromising only a single arbitrary agent instead of the administrative agent Unlike prior approaches, WebWeaver relies solely on agent contexts rather than agent IDs, enabling significantly stealthier inference The Core Innovation of WebWeaver WebWeaver is designed to bridge the realism gap in topology inference by operating by compromising a single arbitrary agent rather than requiring control over the system administrator It introduces a covert recursive jailbreak-based mechanism and a novel fully jailbreak-free diffusion design to handle cases where initial jailbreaks fail Furthermore, it addresses the challenge in diffusion-based inference by proposing a masking strategy that preserves known topology during diffusion with theoretical guarantees of correctness Inference Pipeline and Mechanisms The WebWeaver pipeline involves several distinct steps to achieve topology recovery 1.

Nadia: Step 1 involves collecting inter-agent dialogues offline under known topologies and reusing them for training and inference 2.

Elias: Step 2 uses a trained sender predictor to infer the set of agents directly connected to the selected agent by analyzing the “voice” of incoming traffic 3.

Nadia: Step 5-1 utilizes an initial or optimized jailbreak to iteratively expand the inferred graph until no new agents are uncovered 4.

Paper summary: Elias: So, looking at "WebWeaver: Breaking Topology Confidentiality in LLM Multi-Agent Systems with Stealthy Context-Based Inference," it’s clear the paper identifies a gap in how we think about attacking these systems by focusing on compromising just one agent.

Nadia: It moves the attack from needing control over the system administrator to compromising any single arbitrary agent, which they argue is a much more reasonable assumption for a real attacker.

Priya: From my side, what this means is that if we want to trust these LLM multi-agent systems in practical applications, we need better ways to verify their underlying communication structure because the paper shows existing methods are too easily defeated by simple keyword defenses.

Elias: The authors are proposing WebWeaver as a framework that uses context-based inference and a robust diffusion module with theoretical guarantees to recover the complete LLM multiagent system topology.

Nadia: Essentially, they’re showing how to infer this whole structure without needing specific agent IDs or relying on vulnerable direct identity queries, making it much harder to defend against basic keyword defenses.

Priya: It shifts the focus from just trying to find a single vulnerability in the system to understanding the overall connectivity of the entire network, which is a different kind of security problem entirely.

Elias: The implications are that if this framework works as described, it could significantly impact how we assess and secure complex LLM-MAS deployments by providing a more realistic way to probe their internal structure.

Conclusion: Nadia: So, WebWeaver is about figuring out the whole communication map of an AI multiagent system just by messing with one agent.

Elias: Yeah, they’re tackling how to get that map without needing access to the main control panel or specific agent codes.

Priya: It sounds like a way for someone outside the system to see the connections, which is a big deal for privacy if you're dealing with sensitive data flows.

Nadia: Exactly. The core idea is using just those agent contexts—the stuff they say and do—to infer the entire network structure covertly.

Elias: They propose this new method uses a recursive jailbreak mechanism and some diffusion design that tries to stay safe even if the initial attempt fails to break through.

Priya: And then there’s this masking strategy in the diffusion part, which they claim gives a mathematical guarantee that the topology they discover is actually correct.

Nadia: So, it’s not just a guess; it’s trying to be systematic about finding every link in that chain.

Elias: The paper suggests this moves the attack from needing administrative control to just compromising one agent, which is much more realistic for how these systems operate in practice.

Priya: But I wonder if this means any real-world system can actually be defended against because the attacker doesn't need a specific target ID anymore.

Nadia: That’s the question. It really changes how we think about security—less about protecting a single door, and more about understanding the whole building.

Zixun Xiong, Gaoyi Wu, Lingfeng Yao, Miao Pan, Xiaojiang Du, Hao Wang

Stevens Institute of Technology · Genentech Department of Electrical and Computer Engineering, University of Houston Department of Electrical and Computer Engineering

cs.CR, cs.AI

Submitted: 2026-03-11

Updated: 2026-11-02

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 90/100

The gist: Communication topology is a critical factor in the utility and safety of LLM-based multiagent systems (LLM-MAS)…

Key concepts

Communication Topology
This refers to the network structure showing how different agents in an LLM multi-agent system are connected and interact with each other. Understanding this topology is crucial because it determines how information flows and which parts of the system can be compromised.
WebWeaver
A proposed attack framework that infers the full agent communication topology by compromising only a single, arbitrary agent. It uses agent contexts to perform inference, making the attack significantly stealthier than methods requiring control over the system administrator.
Agent Contexts
These are specific pieces of information associated with an individual agent during its operation. WebWeaver leverages these contexts instead of static IDs to infer connections, which is a key innovation for achieving covert topology discovery in LLM-MAS.
Jailbreak-based Mechanism
A technique used to bypass safety guardrails or restrictions within the LLM. WebWeaver uses a covert recursive jailbreak mechanism and a jailbreak-free diffusion design to iteratively expand the inferred graph, ensuring that even if initial attempts fail, the full topology is eventually uncovered.

Terminology

Summary

Communication topology is a critical factor in the utility and safety of LLM-based multiagent systems (LLM-MAS), making it a highvalue intellectual property (IP) whose confidentiality remains insufficiently studied The paper proposes WebWeaver, an attack framework that infers the complete LLM-MAS topology by compromising only a single arbitrary agent instead of the administrative agent Unlike prior approaches, WebWeaver relies solely on agent contexts rather than agent IDs, enabling significantly stealthier inference

The Core Innovation of WebWeaver

WebWeaver is designed to bridge the realism gap in topology inference by operating by compromising a single arbitrary agent rather than requiring control over the system administrator It introduces a covert recursive jailbreak-based mechanism and a novel fully jailbreak-free diffusion design to handle cases where initial jailbreaks fail Furthermore, it addresses the challenge in diffusion-based inference by proposing a masking strategy that preserves known topology during diffusion with theoretical guarantees of correctness

Inference Pipeline and Mechanisms

The WebWeaver pipeline involves several distinct steps to achieve topology recovery

  1. Step 1 involves collecting inter-agent dialogues offline under known topologies and reusing them for training and inference

  2. Step 2 uses a trained sender predictor to infer the set of agents directly connected to the selected agent by analyzing the “voice” of incoming traffic

  3. Step 5-1 utilizes an initial or optimized jailbreak to iteratively expand the inferred graph until no new agents are uncovered

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Attack Framework for Topology Inference: WebWeaver enables attackers to infer the complete LLM-MAS topology by compromising only a single arbitrary agent instead of the administrative agent, which bypasses defenses that rely on controlling the administrative agent or using direct identity queries via jailbreaks.

  2. Stealthy Inference Mechanism: The system can infer LLM-MAS topology from agent contexts rather than identifiers, combining a covert recursive jailbreak mechanism with a jailbreak-free diffusion module. This allows for significantly stealthier inference and robustness against basic keyword-based defenses.

  3. Jailbreak Failure Handling: When the optimized jailbreak fails, the system employs a fully jailbreak-free masked diffusion model as a fallback topology completion module that addresses the challenge of ensuring correctness via a masking strategy that preserves known topology during diffusion.

  4. Contextual Fingerprinting for Sender Identification: The improved system can utilize a hybrid feature extraction mechanism to construct composite feature vectors spanning semantic signatures, stylometric statistics, and interaction context features to predict the source node.

  5. Topology Structure Learning: The system can perform graph completion where the observed subgraph is treated as a noisy input Aobs and use a diffusion model with manifold-constrained fusion to recover the ground truth topology by ensuring the known subgraph region follows the correct noise trajectory grounded in Aobs.

Sources

Related papers