DEV Community

Mohamad Khalil Yossif
Mohamad Khalil Yossif

Posted on Originally published at yuthent.com

AI Browser Security Risks: The Agent Uses Your Sessions

An AI browser on a company laptop works inside the employee's signed-in sessions, so every app sees the employee. Prompt injection, honest mistakes and a log that cannot tell who acted. What to put in place first.

An employee opens an AI browser in the morning and asks it to clear the inbox, update three records in the CRM and pull a report from the admin console. The agent does it. It does not sign in anywhere. It uses the sessions the employee already has open.

To every one of those apps, the employee did the work: the same cookie, on the same laptop. That is the convenience, and it is also the risk.

AI Browser Security Risks in Practice

Instructions hidden in content. The agent reads web pages, emails and documents to do its job. Researchers have already shown AI browsers following instructions hidden in a page, such as opening the user's email and sending data out. The agent had the access because the employee did.

Honest mistakes at machine speed. "Clean up the old users" can mean deactivating twelve accounts in the admin console in a few seconds. The employee approved a task, and the agent turned it into actions.

A log that cannot tell who acted. When something goes wrong, the app shows the employee's user ID on every action. The person says the agent did it. The agent keeps no record the company can trust. Nobody can prove either way.

Shadow AI. Most of this runs on tools IT never approved. Blocking them on the office network moves them to a phone hotspot, with the same company sessions behind them.

Why MFA and Session Binding Do Not Cover It

MFA is checked at sign-in. The agent starts working after that, so it never meets a prompt. Session binding, which ties the session to a key on the device, stops a stolen session cookie from working on another machine. An AI browser is on the right machine. Every request it makes is signed by the right device.

Both controls answer "is this the employee's session?" The AI browser makes that question too weak. The session is real. What nobody can show is whether the person decided this action.

What to Put in Place First

  • Find out what is already running. Ask the people, then check browser extensions and installed AI tools on managed laptops.
  • Keep AI browsers out of admin consoles and finance systems for now, with separate browser profiles or conditional access rules.
  • Shorten session lifetimes on the systems where a wrong action costs the most.
  • Write the short list of actions that must never run on a session alone: exports of customer or employee data, deleting records, changing who has access, changing security settings.
  • For each action on that list, require a fresh approval from the accountable person, for that exact action, on a device the agent does not control, such as their own phone.

The last step is the one that answers the question after an incident. The agent can use the session. It cannot produce the person's approval on their phone. A valid session is not an approval, and for that short list the system should check for the approval before the action runs.

Test It on One User

This is what we build at Yuthent. The critical action waits for the accountable person's approval on their own phone, whoever is driving the session, and a session copied to another machine cannot export, delete or change settings. It runs in our lab today. We are looking for two or three security teams to test it with us on one test user, away from live systems. Tell us which action you would protect first.

This post first appeared on the Yuthent blog.

Top comments (0)