TLDR: A UMass Amherst study reveals that local AI Web and Research Agents (WRAs) are vulnerable to privacy attacks. Passive network observers like ISPs can infer user prompts and personal traits by analyzing the unique, structured browsing patterns (domain visits and timings) of these agents, even when content is encrypted. While mitigation strategies like decoy prompts can help, robust network-level protections are still needed.
Imagine using an AI assistant to research sensitive topics like your health or finances, believing your privacy is protected because the AI runs on your own computer. A new study from UMass Amherst reveals that this belief might be misleading. Researchers Hyejun Jeong, Mohammadreza Teymoorianfard, Abhinav Kumar, Amir Houmansadr, and Eugene Bagdasarian have uncovered a significant vulnerability in Web and Research Agents (WRAs), which are AI systems that explore the internet to gather information.
These AI agents, unlike human users, visit a large number of websites (70-140 domains) in a short, structured burst. This distinct browsing pattern creates a unique “fingerprint” that passive network observers, such as your Internet Service Provider (ISP) or a corporate firewall, can exploit. Even without seeing the content of your searches or the pages you visit, these observers can infer what you asked the AI and even personal details about you.
The Privacy Threat: What’s Leaking?
The study highlights two main types of privacy leakage:
- Prompt Recovery: This is where an adversary can figure out the original question or instruction you gave to your AI agent. For example, if you ask your agent to research “signs of depression and seeking professional mental health support,” a passive observer could reconstruct this intent just by looking at the sequence of websites your agent visited.
- Trait Inference: Over multiple browsing sessions, the AI agent’s patterns can reveal latent user attributes, such as gender, political views, or even health insurance status. This allows for long-term profiling of individuals.
The researchers developed a novel attack that leverages only network-level metadata – essentially, the IP addresses visited and the timing of those visits. They built a new dataset of WRA traces based on user search queries and queries generated by synthetic personas. Using a new behavioral metric called OBELS (Ontology-aware Behavioral Leakage Scores), they showed that their attack could recover over 73% of the functional and domain knowledge of user prompts. In multi-session settings, they accurately recovered up to 19 out of 32 latent traits.
How Does This Happen?
Web and Research Agents are designed to autonomously plan, browse, and synthesize knowledge across the web. They break down complex queries into sub-tasks, visit numerous sources, extract content, and then compile a report. This multi-step process generates a cascade of semantically related domain visits in dense temporal bursts. This behavior is highly distinguishable from sporadic human browsing, making WRAs particularly susceptible to profiling and inference attacks.
Even if prompts and page contents are fully encrypted (e.g., using HTTPS), external metadata like domain names, the order of access, and timing can still expose user intent. The adversary doesn’t need to decrypt your traffic; they just need to observe the patterns of domains your AI agent connects to.
Also Read:
- Hidden Commands: New Research Uncovers ‘Prompt-in-Content’ Attacks on LLMs
- Unmasking Privacy Vulnerabilities in AI Recommender Systems: New Attacks on LLMs
Mitigation Strategies
The paper also explores potential defenses. One strategy is “hiding traces” by generating and executing additional “decoy prompts” alongside the real ones. These decoys introduce plausible noise into the traffic, making it harder for an adversary to pinpoint the true user intent. Another approach is “blocking traces,” which involves redirecting tasks to multipurpose sources like Wikipedia or relying on the AI’s internal knowledge, thereby avoiding uniquely identifying domains.
While these defenses can reduce the effectiveness of attacks by an average of 29%, they are not foolproof. The study found that even with partial observability or noisy conditions, the attacks remained effective. This suggests that current mitigation strategies are meaningful but incomplete, and full network-level protections, such as VPNs or anonymity systems, remain the most robust safeguard.
This research highlights a critical, underexplored vulnerability in AI agents, especially those deployed locally for privacy-sensitive tasks. It underscores the need for developers to consider metadata leakage in their designs to ensure user privacy in the evolving landscape of AI-powered web interaction. You can read the full research paper here: Network-Level Prompt and Trait Leakage in Local Research Agents.


