Published: 2026-10-30 | By: Carlos Montiel | Reading time: ~5 minutes
Desktop coding assistants ship with a built-in browser so you can preview pages and let the agent use them. The Forever Security team showed that this browser gets powers a normal one doesn't have, and that breaks the threat model. Their research, called EMBRACE, affects Cursor, GitHub Copilot, Claude Desktop, Codex and VS Code.
What They Found: Three Classes of Flaw
According to The Register and Gal Weizman's technical write-up, the common finding is that each tool enriched its embedded browser beyond what a normal browser allows, and those additions undermine the traditional threat model: as input to the agent, as authority over a tab's address, or as access to the host. Forever Security, which The Register describes as an AI security startup, groups the flaws into arbitrary code execution (Cursor), arbitrary content exfiltration (Claude Desktop, Codex and VS Code) and arbitrary context spoofing (GitHub Copilot). None of the sources list CVE identifiers.
How Each Flaw Works
- Cursor: per the blog post, any page can call
window.cursorBrowser.send(...) and reach the agent's composer, with no user gesture. By splitting a command across hidden attributes of a fake "selected element" chip, the attacker gets around the agent's refusal; with auto-run on and an empty allowlist, it executes with a single Enter keypress. The proof of concept launched Calculator. Success is probabilistic and depends on the model.
- GitHub Copilot: a page can report a fake URL to the preview's address bar; the app only checked that it started with http, https or file. Example: showing github.com/login on top of an attacker's page.
- Claude Desktop and VS Code: the project-folder boundary is enforced in the main document, but not inside a Web Worker. From there, local files can be read via file://, and the whole disk can be traversed thanks to .DS_Store files on macOS.
- Codex: per the blog post, it has no file-read barrier at all for the page, and a direct read returns any file on the machine.
Patch Status and Disclosure
Cursor Disclosed Sep 10; silent patch Oct 1; no security advisory
Copilot Fixed by GitHub on Oct 13 (1.1.29); not reported by Forever
Claude Desk Reported Jul 23, rejected; Noma Security reported the same
issue Jul 24 and was accepted; patch status not stated
Codex Reported Jul 27; UNPATCHED; OpenAI told The Register it is
aware and working on it
VS Code Reported Sep 10; Microsoft rejected it; UNPATCHED
An important nuance: Anthropic and Microsoft initially rejected the reports because they consider them dependent on "Workspace Trust," a security boundary that requires you to trust the working folder; the researchers argue the risk persists. Cursor, GitHub, Anthropic and Microsoft did not respond to The Register. Our only independent source is the researchers' own blog, which is an interested party.
What It Means for a Company Using AI
Takeaway for your company: the risk isn't in the model but in the assistant's surface. Four practical measures: (1) don't open untrusted projects or pages with an AI assistant; (2) turn off the agent's auto-run for commands and don't use empty allowlists; (3) keep assistants updated, since Cursor patched without a public notice; (4) for Codex and VS Code, which per the sources remain open, treat any page opened in their built-in browser as able to read files on the machine, and reduce what's on that machine (keys, .env files, SSH keys).