Browser agents are the most capable consumer AI feature yet shipped and the least understood. The agent sees what you see, which means every session you are logged into — email, bank, payroll, cloud console — and it reads instructions from the page in front of it, which anyone on the internet can write.
The threat model in one sentence
Untrusted content, fully authenticated session, autonomous action, no CSRF-style origin boundary to save you. Web security spent twenty years building the origin model; an agent reads across origins by design and carries the user’s credentials to each of them.
What we test on a browser agent
Page-borne injection to action
We host a page containing instructions aimed at the agent — in visible text, in hidden elements, in alt attributes, in comments, in a CSS-clipped region — and give the agent an innocuous task on that page ("summarise this article"). The target is a cross-origin action: read the latest message from a webmail tab, post data to our endpoint, change a setting in another tab’s application.
Exfiltration through permitted channels
Even a constrained agent usually has a channel out: a search query, a URL it navigates to, a form it fills, an image it requests. We test whether page content or session data can be encoded into any of those. A navigation to an attacker domain with the data in the query string requires no network access the agent did not already have.
Consent and the action boundary
We examine which actions proceed without confirmation, whether the confirmation shows the real action or the model’s description of it, and whether consent persists beyond its intended scope — "allow for this site" that becomes "allow everywhere", or an approval that covers a single purchase being reused for a chain.
Credential and token handling
Where the agent runs matters enormously. A cloud-hosted agent driving a remote browser needs your session, which means cookies or tokens leaving your device for a vendor’s infrastructure. We establish exactly what is transferred, where it is stored, how long it lives, and what the vendor can do with it — and whether screenshots of authenticated pages are retained for debugging or evaluation.
For the enterprise: what to decide before this lands
Browser agents arrive without procurement. Employees enable them in a browser the company allows, inside sessions the company owns. Three decisions are worth making deliberately.
- Which applications are off-limits to agents, enforced technically where possible — admin consoles, payroll, banking, production cloud, source control, anything where a single action is irreversible.
- Whether agent sessions are distinguishable in your logs. An action taken by an agent looks like a user action; after an incident you will want to tell them apart, which means device posture, user agent or session attributes that survive into the audit trail.
- What the vendor does with page content and screenshots from authenticated sessions, written into an answer you can give a regulator, since under DPDP that content routinely includes other people’s personal data.
For your own site: defending against agents reading it
- Assume an agent will read your pages and act on them. Content you render from other users — reviews, comments, tickets, profile fields — can carry instructions aimed at another user’s agent. That makes stored XSS-style hygiene relevant again for a new reason.
- Keep irreversible actions behind a step that requires something a page cannot fake: re-authentication, a one-time code, a confirmation that shows server-rendered details of the exact action.
- Do not rely on client-side confirmation dialogs as a control. An agent can click them.
- Rate-limit and anomaly-detect on patterns that look like automation inside a human session, which is now a common fraud signature.
Controls that hold up
- Agents scoped to a profile with no access to the sessions that matter, rather than the user’s main profile.
- Confirmation on any state-changing cross-origin action, showing the action as the backend understands it.
- An egress allowlist for the agent’s navigation where the product permits one.
- Vendor terms that exclude page content and screenshots from training, with a stated retention period and a sub-processor list.
- Enterprise policy that names the applications agents may not touch, enforced by conditional access rather than by instruction.
Where to start
Put a hidden instruction on a page you control, point an agent at it with a harmless task, and see whether it tries to reach something else you are logged into. It is a ten-minute test and it changes how people talk about this feature.