Machine Learning PapersLandmark papers
← All papers
RESEARCH PAPER / 2026-11-20

Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions

Ruichao Liang, Wenzhong Deng, Jing Chen, Yuqing Li, Kaixuan Li, Cong Wu, Yang Liu

Nanyang Technological University +1 · arXiv

Affiliations: Nanyang Technological University, Wuhan University

Abstract

LLM agents increasingly rely on Web interaction, issuing searches, following links, and reading pages, to complete complex user tasks. Since each action is driven by the agent's private context, including the user's prompt, dialogue history, memory, and connected data, it also opens a new privacy exposure surface. Prior attacks either passively analyze network traffic, which yields only coarse correlations, or hijack the agent through indirect prompt injection, which must place sensitive content in an outgoing field and is blocked by content-level defenses. Whether an attacker can actively recover fine-grained private context without any explicit transmission thus remains insufficiently understood. Our insight is that an agent's benign Web decisions themselves leak private context, as what it chooses to visit encodes whether, which, and in what order it acts, forming a behavioral covert channel. Building on this, we design SNOOP, a stateful hierarchical probing framework that narrows a coarse-to-fine hypothesis tree per task and reconstructs user queries and profiles from the agent's observable paths. Across four agents and three LLM backbones on 500 StackExchange queries and 378 multi-turn iKAT dialogues, SNOOP recovers query concepts with an average F1 of 0.89 and user profiles with an F1 of 0.80, while four representative agent defenses change its recovery by less than 0.03 F1. Since no sensitive content is ever transmitted, content-level inspection cannot detect this leakage; we therefore propose Selection-Obfuscated Retrieval (SOR), which acquires resources under a fixed budget independent of private context and confines the agent's selection to a local snapshot, cutting SNOOP's F1 to 0.39 without additional LLM inference.

The following analysis is generated by AI and may contain errors. It is separate from the authors’ abstract and is not peer review.

Research summary

The paper identifies a novel privacy leakage surface in LLM agents via behavioral covert channels and proposes a stateful probing framework (SNOOP) to exploit it, demonstrating high reconstruction accuracy and the inadequacy of current defenses, while offering a viable mitigation strategy.

Methodology

The paper introduces a novel attack vector termed "behavioral covert channels" for LLM agents. The core insight is that an agent's choice of which web resources to visit (URLs, links, search queries) is a function of its private context (user prompt, memory). By controlling a webpage that the agent visits, an attacker can present semantically distinct options and observe which one the agent selects, thereby inferring bits of the private context. The proposed framework, SNOOP, utilizes a stateful, hierarchical hypothesis tree to systematically probe these channels. This is a methodologically sound approach that shifts the privacy threat model from passive traffic analysis or active prompt injection to active behavioral inference. The mitigation strategy, Selection-Obfuscated Retrieval (SOR), is also well-motivated, proposing to decouple the agent's selection logic from the private context by using a fixed budget of resources independent of the user's specific query.

Results & evaluation

The experimental setup is robust, testing four different agent architectures (Codex, OpenHands, IterResearch, Open Deep Research) and three LLM backbones. The datasets used (StackExchange and TREC iKAT) are standard and appropriate for evaluating query and profile reconstruction. The results are strong, with SNOOP achieving high F1 scores (0.89 for queries, 0.80 for profiles) and demonstrating that existing defenses (Spotlighting, Firewalls, etc.) are largely ineffective against this specific attack. The mitigation SOR reduces the F1 score significantly (to 0.39), validating the proposed defense. The scale of the evaluation (63,216 query-level execution opportunities) adds credibility to the findings.

Reproducibility

The paper provides detailed descriptions of the threat model, channel design, and the SNOOP framework. However, as is common with security papers involving specific agent implementations, full reproducibility may depend on the specific versions of the agents and LLMs used, which can change over time. The code availability is not explicitly stated in the provided text, which is a minor drawback for immediate reproducibility, though the methodology is clearly described.

Limitations

The attack relies on the attacker being able to inject a reference link into a webpage that the agent will visit. While plausible in many web scenarios, it assumes a certain level of control over the web content the agent encounters. Additionally, the effectiveness of the attack depends on the agent's tendency to follow links and make choices based on semantic relevance, which may vary across different agent designs. The mitigation SOR requires modifying the agent's retrieval mechanism, which may not be feasible for all existing agent frameworks without significant refactoring.

Broader impact

This paper highlights a critical and previously underexplored privacy risk in LLM agents. As agents become more autonomous and integrated into web-based workflows, understanding how their behavioral patterns can leak sensitive information is crucial. The findings will likely influence the design of future agent architectures, prompting developers to consider behavioral privacy alongside traditional data privacy. The proposed mitigation offers a practical path forward for securing agent-web interactions. The paper identifies a novel privacy leakage surface in LLM agents via behavioral covert channels and proposes a stateful probing framework (SNOOP) to exploit it, demonstrating high reconstruction accuracy and the inadequacy of current defenses, while offering a viable mitigation strategy.

Author of this paper? Send a correction.