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

DevFeed: [WebWeaver: Breaking Topology Confidentiality in LLM Multi-Agent Systems with Stealthy Context-Based Inference](<https://devfeed.tech/articles/webweaver-breaking-topology-confidentiality-in-llm-multi-agent-systems-with-stealthy-context-based-inference-113983.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2603.11132>)

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

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [ai security](<https://devfeed.tech/topics/ai-security.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [attack](<https://devfeed.tech/tags/attack.md>), [context](<https://devfeed.tech/tags/context.md>), [critical](<https://devfeed.tech/tags/critical.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [guarantees](<https://devfeed.tech/tags/guarantees.md>), [inference](<https://devfeed.tech/tags/inference.md>), [intellectual-property](<https://devfeed.tech/tags/intellectual-property.md>), [jailbreak](<https://devfeed.tech/tags/jailbreak.md>), [jailbreaks](<https://devfeed.tech/tags/jailbreaks.md>), [llm](<https://devfeed.tech/tags/llm.md>), [masking](<https://devfeed.tech/tags/masking.md>), [multi-agent](<https://devfeed.tech/tags/multi-agent.md>), [multi-agent-systems](<https://devfeed.tech/tags/multi-agent-systems.md>), [overhead](<https://devfeed.tech/tags/overhead.md>), [real-world](<https://devfeed.tech/tags/real-world.md>), [safety](<https://devfeed.tech/tags/safety.md>), [theoretical](<https://devfeed.tech/tags/theoretical.md>), [topology](<https://devfeed.tech/tags/topology.md>)

## AI overview

WebWeaver aims to infer an LLM multi-agent system's complete communication topology by compromising one arbitrary agent and using its context rather than agent IDs or access to the administrative agent. It combines a covert jailbreak mechanism with a jailbreak-free diffusion design for cases where jailbreaks fail; a masking strategy preserves known topology during diffusion, with claimed theoretical correctness guarantees. The abstract reports about 60% higher inference accuracy than state-of-the-art baselines under active defenses, with negligible overhead. These are claims from the supplied abstract; it does not provide experiment details.

## Source excerpt

arXiv:2603.11132v3 Announce Type: replace Abstract: Communication topology is a critical factor in the utility and safety of LLM-based multi-agent systems (LLM-MAS), making it a high-value intellectual property (IP) whose confidentiality remains insufficiently studied. Existing topology inference attempts rely on impractical assumptions, including control over the administrative agent and direct identity queries via jailbreaks, which are easily defeated by basic keyword-based defenses. As a result, prior analyses fail to capture the real-world threat of such attacks. To bridge this realism gap, we propose \textit{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. WebWeaver further introduces a new covert jailbreak-based mechanism and a novel fully jailbreak-free diffusion design to handle cases where jailbreaks fail. Additionally, we address a key challenge in diffusion-based inference by proposing a masking strategy that preserves known topology during diffusion, with theoretical guarantees of correctness. Extensive experiments show that WebWeaver substantially outperforms state-of-the-art (SOTA) baselines, achieving about 60\% higher inference accuracy under active defenses with negligible overhead.