Agentic Browsing and Web Architecture

Draft Finding of the TAG,

More details about this document
This version:
https://w3ctag.github.io/agentic-browsing-finding/
Issue Tracking:
GitHub
Editors:
Ehsan Toreini (Samsung Electronics)
Christian Liebel (Thinktecture AG)

Abstract

Agentic browsing is becoming increasingly popular, and agentic browsers and browser extensions ship regularly. While they improve the user experience, they also raise security and privacy considerations, which this Finding sets out.

Status of this document

This section describes the status of this document at the time of its publication. A list of current W3C publications and the latest revision of this technical report can be found in the W3C standards and drafts index.

This document was published by the W3C Technical Architecture Group (TAG) as a Draft Finding of the TAG. Publication as a Draft Finding of the TAG does not imply endorsement by W3C and its Members. This is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.

Feedback and comments on this document are welcome. Please file an issue in this document’s GitHub repository.

This document is governed by the 18 August 2025 W3C Process Document.

1. Introduction

Since the launch of ChatGPT, software based on large language models (LLMs) has become more popular and more deeply integrated. "Agentic browsing" refers to a browsing model in which an LLM-based system navigates the web and performs actions on the user’s behalf. In the context of this Finding, we use "agent" to refer to the system that uses the browser’s affordances. The user can interact with the agent through text-based or voice-based conversation, including in real time.

There are full-scale agentic browsers such as Perplexity Comet and Opera Neon. In some regions, Google Chrome ships with an integrated Gemini pane that performs agentic browsing for the user. Browsers can also be driven by desktop or command-line AI systems such as Claude Desktop and OpenAI Codex, by AI integrations in integrated development environments (IDEs), or by "computer use" models.

Agentic browsing currently relies on screenshots and on evaluating the DOM and accessibility tree. With current models, this can be brittle and slow. Proposals like [WEBMCP] aim to address this issue by letting websites provide tool definitions to agents.

Agentic browsing improves the user experience, but it also raises security and privacy concerns, which this Finding sets out below.

2. Agentic Browsers Exhibit the Lethal Trifecta

Simon Willison coined the term "Lethal Trifecta" [LETHAL-TRIFECTA], the combination of:

  1. Access to private data

  2. The ability to externally communicate

  3. The exposure to untrusted content

Willison concluded that for users to stay safe, the Lethal Trifecta must be avoided entirely.

Agentic browsers, while potentially useful, exhibit the Lethal Trifecta:

  1. Agentic browsers have access to autofill data, login details, and potentially additional agent-provided memory about the user.

  2. Agentic browsers can submit forms, send HTTP requests, or use agent-mediated communication methods such as connected Model Context Protocol (MCP) servers (e.g., to send emails).

  3. Web content is untrusted by default.

We suspect that authors and proponents of agentic browsers are using a form of informal "ceremony" analysis [CEREMONY] to conclude that, because human users aren’t safe either (e.g., users also break the Same-Origin Policy), agents can be "safe enough." We strongly encourage those actors to formalize, quantify, and publish that analysis.

A malicious website could claim to be the user’s bank, and request all the personally identifiable information (PII) about the user to be entered into a form, and then sent to an attacker.

3. Same-Origin Policy and Cross-Origin Data Flows

There is ambiguity on the enforcement of Same-Origin Policy (SOP). An agent may carry state from origin A into a tool registered by origin B. Proposals in this space tend to state this risk and defer the mitigation to permissions policies and other cross-origin opt-in mechanisms without specifying them. Without such a mechanism, the only thing standing between cross-origin state and exfiltration is the model’s disposition to refuse. This inverts the web’s security model. The SOP is a deterministic state, not a heuristic. A cross-origin data path mediated by model judgement seems to fail the principle. TAG suggests specifying a browser-enforced partition on the context an agent may carry across origins, defined as a mechanism, not an intent. If the SOP cannot be preserved mechanically, it is a blocking architectural problem. Aligned with the same concern, agents are commonly given access to personalisation data, history, and inferred attributes. A site might obtain those by asking the agent for them in a JSON schema rather than by triggering a browser permission prompt or something that would commonly require a user gesture (e.g., filling a form from contact data). Agentic browsing risks re-opening cross-context data flows that the platform is intentionally closing.

4. Identity Delegation and Ambient Authority

There is ambiguity in the identity delegation. Agents typically inherit the user’s logged-in credentials and session state (identity inheritance) and may access personalization data, browsing history, and payment information (extended user context) across sites (cross-site context). The consequence is that an authenticated agent can make purchases, transfer funds, change account settings, share private data, or delete content without any additional verification or permission (even if well-intentioned).

5. User Agent Duties and Contextual Identity

The user agent is a trustworthy agent bound by duties of Protection, Discretion, Honesty, and Loyalty, as it "always puts that person’s interest first" and "is not the first party." An agent that handles the user’s full cross-site identity to satisfy a third-party tool is acting closer to a first party than a loyal user agent. It also runs counter to Privacy Principle 2.1 (present the identity the user wants per context; prevent cross-context recognition). Agent identity delegation is not a settled concept, and proposals should not assume it as a precondition.

6. Private Browsing Isolation and Memory Lifetime

For private browsing, the risk is frequently acknowledged and then discharged onto the user agent. Two structural gaps need to be clarified:

7. Agent Scope and the Confused Deputy Problem

The agent definition is not clearly scoped. The agent seems to be a confused deputy: it owns the user’s ambient authority (credentials, session, cross-site context) while taking instructions from untrusted parties (tool descriptions and names, tool output, page content). The mitigations for a confused deputy (scope authority to explicit capabilities instead of ambient identity, and keep the instruction channel separate from the data channel) cannot be provided by an LLM, because it collapses instructions and data into one token stream. The core problem here is about where authority sits. Guardrails such as evaluation corpora do not seem to be sufficient to fix it. Also, agents are commonly defined as autonomous assistants that can "understand a user’s goals and take actions." A security and privacy analysis that rests on the behaviour of an entity that a specification cannot constrain or characterise is under-determined. Either narrow what a conforming agent may do (capabilities, isolation obligations), or accept that any security and privacy guarantees are advisory. Right now, they read as the latter while being presented as the former.

8. Alignment and Model Reliability

Note also that "understand a user’s goals" is a fundamental "alignment problem" with LLMs and something models often get wrong. Models are aligned differently, and no matter how well-intentioned, they make mistakes, make bad assumptions, hallucinate, etc. Even with well-intentioned tools and descriptions, LLMs can cause user annoyance at a minimum to outright user harm.

References

Non-Normative References

[CEREMONY]
Carl Ellison. Ceremony Design and Analysis. 2007. URL: https://eprint.iacr.org/2007/399.pdf
[LETHAL-TRIFECTA]
Simon Willison. The lethal trifecta for AI agents: private data, untrusted content, and external communication. 16 June 2025. URL: https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/
[WEBMCP]
Brandon Walderman; Khushal Sagar; Dominic Farolino. WebMCP. 2 October 2026. Draft Community Group Report. URL: https://webmachinelearning.github.io/webmcp/