Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
TL;DR Highlight
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Who Should Read
Backend and agent developers who ship web-browsing agents that handle user queries and conversation history.
Core Mechanics
- The agent's link choice is the leak
- The attacker sees only which links the agent clicks, with no injected instructions or sent data.
- The paper calls this a behavioral covert channel, where the action itself carries information.
- Link choice beats the other five channels
- The Choice channel reached 93.8% recovery accuracy with 4 candidates and one request per probe.
- Count, order, timing and size channels were more sensitive to agent behavior and network conditions.
- SNOOP narrows the query like a tree
- It moves from broad topics to fine ones by showing candidate links at each step.
- State is saved on the attacker's server, so probing resumes when the agent switches subtasks.
- Existing defenses barely help
- Spotlighting, Firewalls, Task Shield and Fides each cut reconstruction F1 by at most 0.03.
- No sensitive content is sent, so content inspection cannot catch it.
- SOR hides the selection locally
- It fetches all linked resources regardless of the query, caches them, and lets the agent select only from the local snapshot.
- Extra fetches are mixed with random candidates in shuffled batches.
- Exposure differs more by agent than by model
- Recovery varied more across agents than across LLM backbones.
- The paper notes that direct tool calling exposes successive context-dependent decisions.
Evidence
- Attack performance on queries and profiles
- Across 4 agents and 3 LLMs, concept F1 on 500 StackExchange queries averaged 0.89 (up to 0.97).
- On 378 TREC iKAT turns, query concept F1 was 0.79 and profile F1 was 0.80.
- Comparison with prior attacks
- On Stack, AgentPrint top-1 accuracy was 0.43, WRA F1 0.73, and SkillWatermark decoding accuracy 0.69.
- Explicit exfiltration succeeded almost never, versus SNOOP at 0.89 (metrics differ).
- Four defenses applied
- Stack query F1 went from 0.89 to 0.86 (Spotlighting), 0.88 (Firewalls), 0.88 (Task Shield) and 0.87 (Fides).
- Induction rate dropped by at most 0.07.
- SOR effect and cost
- Stack query F1 fell from 0.89 to 0.39 and iKAT profile F1 from 0.80 to 0.39, with no extra LLM inference.
- Page fetches rose 4.3-4.5x and LLM tokens and time rose 1.1-1.3x.
How to Apply
- Skim your agent's outbound request logs
- Today, collect the logs of external links your agent follows from third-party pages.
- Check whether click paths change with the query topic.
- Add a domain allowlist to web fetch tools
- Block or require human approval for link following to untrusted hosts in front of search and fetch tools.
- Start by restricting 'further reading' links on pages.
- Prototype SOR-style local selection
- Batch-fetch all linked targets of an external page regardless of the query and cache them.
- Let the agent choose only from the cache and mix any extra fetches with random candidates in shuffled order.
- Add behavioral channels to your threat model
- List 'leaks via choice, order and count' next to defenses that only filter content.
- Add a probe page with candidate links to your red-team scenarios.
Try It
# Paste into Claude or ChatGPT (simplified version of the paper's method: checking leakage in agent behavior logs)
Below is the log of requests our web agent sent to external sites during one task.
{{request log: time, method, URL order}}
The agent's actual user question was {{user question}}.
Question: Using only the URL click paths and order in the log, infer what the user wants to know. Mark the requests that served as evidence, and do not guess beyond the log.
Next step: Compare your inference with the real question; if much overlaps, identify which requests were the clues and suggest how to reduce them with an allowlist or caching.Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques
How the Claude Code team thinks about verification
E2E, property and differential tests plus verification rules let Claude run in parallel.
Original Abstract (Expand)
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.