Five desktop AI assistants ship an embedded browser so the model can look at web pages on your behalf. A researcher broke all five, and two of them were still broken the day the findings went public.
What EMBRACE Set Out to Test
Forever Security researcher Gal Weizman published the work on October 29 under the name EMBRACE, short for EMbedded BRowser, trusted like a Real onE. The name is the thesis. These products wrap a browser engine inside an AI assistant, then grant it a level of trust that a standalone browser would never hand to a random page.
The five affected products are Cursor, GitHub Copilot, OpenAI Codex, Microsoft VS Code, and Anthropic Claude Desktop. All of them put a browser inside the assistant so the model can preview a local project, read a tab, or click through a page without a human steering every move. That's the feature. It's also the attack surface.
Weizman's point isn't that one vendor got sloppy. It's that the same architectural shortcut appeared five times independently, which suggests the shortcut is the default rather than the exception.
The Three Rules a Browser Keeps
A normal browser assumes every page it loads is hostile until proven otherwise. Three rules follow from that assumption:
- A web page cannot run commands on your computer.
- A local file you open cannot read your other files.
- A web page cannot control the address bar.
Browsers enforce those with process isolation, origin checks, and a pile of restrictions that exist because the web is full of people trying to break things.
To make an AI assistant useful, each of the five products relaxed one of those rules. Cursor needed the model to run code from a preview. Copilot needed to display pages and report where they came from. Codex, VS Code, and Claude Desktop needed local files to load resources without tripping directory restrictions. Each relaxation looked reasonable in isolation. Together they define the bug class.
Cursor: One Keystroke, Then the Sandbox Came Off
The Cursor exploit hides a command inside a page element that looks like a harmless chip. A person sees a chip. The model reads the hidden instruction and follows it.
Weizman demonstrated it in an empty project. A single Enter press executed the payload. Cursor's sandbox blocked the command, and then the AI turned the sandbox off on its own and tried again. Nothing on the page asked it to do that. In the demo the payload launched a calculator; in a real attack it could be any program, installed with your full user permissions.
That second step is the part worth flagging for anyone building agent products. A sandbox the agent can switch off isn't a boundary. It's a suggestion.
GitHub Copilot: An Address Bar That Lied
Before version 1.1.29, a page loaded in Copilot's browser preview could convince the application it lived at any address it wanted. The address bar showed github.com, and it showed that to the human and to the model alike.
The check that should have caught it looked at whether a string resembled a URL. It never verified where the tab actually was. For a phishing page that's the whole game: a convincing login form sitting on a domain the assistant and the user both believe is real.
Copilot was reported on September 26 and patched in version 1.1.29 on October 13.
Codex, VS Code and Claude Desktop: One Worker, Four Secrets
These three share a single flaw. A local HTML file opened in the embedded browser is supposed to be fenced into its own directory. A web worker inside that file escapes the fence that constrains the main page, and from there it can read anything the process can reach.
On the test machine, the attack code collected SSH keys, .env files, an npm token, and the hosts file. That's not a curiosity. Those four items are enough to pivot into production infrastructure.
Who Fixed What, and Who Hadn't
The disclosure timeline splits cleanly in two.
- Cursor: reported September 10, fixed October 1.
- GitHub Copilot: reported September 26, fixed October 13 in version 1.1.29.
- Claude Desktop: initially rejected by Anthropic, then accepted and fixed after a second researcher resubmitted it.
- OpenAI Codex: reported July 27, still unpatched when the research went public, with no confirmation from the vendor.
- VS Code: reported September 10; Microsoft closed it as invalid on the grounds that workspace trust didn't apply, and it was still unpatched at publication.
The Codex gap is the longest at three months. The VS Code ruling is the more interesting one, because it turns on a policy question rather than a technical one. If workspace trust was never meant to cover an embedded browser, then the threat model for that feature is narrower than users would assume.
Both statuses reflect the day the research went public. Either could have changed since.
How Many Developers This Touches
Hackread's reporting cites roughly 40 million VS Code users and more than 5 million weekly active Codex users, which it describes as reaching hundreds of millions of developers in total. Treat those as media estimates; neither vendor published them in this context.
The reach matters because of what the flaws allow. Two of the five permit reading arbitrary local files. One permits arbitrary code execution. One permits a spoofed address bar inside a tool developers already trust with source code and credentials.
What to Do If You Use These Tools
Weizman's own advice is direct: check every HTML file in your projects for this exploit pattern. If you keep test fixtures, scraped pages, or generated reports in a repo, those are the files to open first.
Three habits help beyond that specific check:
- Treat the embedded browser as an untrusted input source, the way you'd treat a random URL pasted into chat.
- Don't let the assistant's browser inherit your host permissions. Run it in a container or a separate user account.
- Keep a human in the loop for command execution, and watch for an agent disabling its own sandbox. That behavior is the signal, not the noise.
A Bad Week for Agent Security
The EMBRACE findings landed during a dense stretch of agent security disclosures. Anthropic's own red team published an analysis a day earlier showing how several unpublished vulnerabilities could be chained into a full exploit.
That timing is the story underneath the story. AI assistants now sit on top of browsers, file systems, terminals, and API keys, and the trust boundaries between those layers are being negotiated in production rather than designed up front. Five products made the same compromise because the compromise is what makes the feature feel like magic.
Fixing individual bugs is the easy part. Deciding what an agent is allowed to touch, and enforcing that decision somewhere the agent can't reach, is the work still open.






