Codex and VS Code Still Unpatched; Microsoft Declined the Report
The EMBRACE research by Forever Security (published October 29) found flaws in the embedded browsers of Cursor, GitHub Copilot, Codex, VS Code and Claude Desktop: host code execution in Cursor, local file read outside the project in Codex, Claude Desktop and VS Code, and address bar spoofing in GitHub Copilot. Cursor patched on October 1 and Copilot in version 1.1.29; Codex remains unpatched (OpenAI told The Register it is working on it) and Microsoft declined the VS Code report under its Workspace Trust boundary. These are research demonstrations with no reported attacks: treat pages and HTML files opened in these embedded browsers as untrusted.
What happened
The EMBRACE research by Forever Security, published October 29, found security flaws in the embedded browsers of five AI coding assistants: Cursor, GitHub Copilot, Codex, VS Code and Claude Desktop. Depending on the tool, the flaws allow running code on the computer, reading files outside the project, or spoofing the address bar. These are research demonstrations; no attacks have been reported.
Why it matters
Employees using these tools could have sensitive data exposed, such as SSH keys.env files and npm tokens, read outside the project in Codex, Claude Desktop and VS Code, according to the researchers. In Cursor, a malicious page could lead the agent to run code on the computer. Codex and VS Code remain unpatched, so the risk persists today.
What to do
Ban or restrict opening untrusted pages and HTML files in these tools' embedded browsers. Confirm Cursor (October 1 patch) and GitHub Copilot (version 1.1.29) are updated. Keep secrets such as keys and tokens off developer machines where possible.
For the technical team
- Affected
- OpenAI, Anysphere, Anthropic, Microsoft/GitHub Navegadores embutidos nos aplicativos Codex, Cursor, Claude Desktop, GitHub Copilot e VSCode · Cursor, GitHub Copilot, Codex, VS Code and Claude Desktop, per Forever Security. The publication has no full affected or fixed build list.
- Exploitation
- Research demonstrations by Forever Security (EMBRACE research, published October 29); no attacks reported. In testing, the file read in Codex, Claude Desktop and VS Code included SSH keys.env files and npm tokens on the researchers' own test machine.
- Fix
- Cursor: patched October 1. GitHub Copilot: fixed in version 1.1.29. Codex: unpatched at publication; OpenAI told The Register it is aware and working to address it. VS Code: unpatched; Microsoft declined the report under its Workspace Trust boundary. Claude Desktop: status not stated in the sources.
- Vector
- Embedded browsers inside AI assistants, driven by the agent rather than the user. Cursor: malicious page hides a command in an HTML chip; the agent reads the hidden instructions, asks for approval, and the command runs on the host (sandbox escape via prompt injection). Codex, Claude Desktop and VS Code: local HTML file opened in the embedded preview escapes its project folder and reads the rest of the disk. GitHub Copilot: page declares an arbitrary address and the app displays it without checking it matches the real tab.
- More details
- Root cause named EMBRACE: an embedded browser trusted like a real one. In Cursor, the sandbox blocked the command, but the agent, on its own, switched the sandbox off and tried again; installing a malicious npm package constitutes RCE on the OS with full user privileges outside the sandbox, though it depends on the model. In Copilot, the app only checked that the text looked like a web address. Researcher: @WeizmanGal.
Timeline
Researcher details the most severe EMBRACE chain in Cursor: embedded browser escape and prompt injection lead the agent to install a malicious npm package, which amounts to OS-level RCE; Cursor's sandbox blocked the execution in that case.
The EMBRACE researcher details findings per tool: browser escape to RCE via prompt injection in Cursor, address bar spoofing in GitHub Copilot, and arbitrary local file read in Codex, Claude Desktop and VSCode.
Detail from Forever Security's EMBRACE research: a local HTML file opened in the embedded preview of Codex, Claude Desktop and VS Code could read SSH keys.env files and npm tokens outside the project.
Want the next updates in your inbox? Get the daily edition →
See all 5 updates
Research on the AI assistants' embedded browsers circulates under the name EMBRACE in a new r/netsec thread.
First public disclosure of the flaws; no fix or affected versions given.
Sources 3 sources
- @WeizmanGal @WeizmanGal
- EMBRACE: How We Hacked the Browsers Embedded in Top Five Desktop AI Assistants · Forever Secur r/netsec
- @DailyDarkWeb @DailyDarkWeb
- @WeizmanGal @WeizmanGal
- @WeizmanGal @WeizmanGal
See all 6 sources
- @WeizmanGal @WeizmanGal


