Embedded Browsers in Five AI Coding Tools Found Flawed, Codex and VS Code Unpatched at Publication
AI security firm Forever Security published its EMBRACE research on Oct 29: the embedded browsers in Cursor, GitHub Copilot, Anthropic's Claude Desktop, Microsoft's VS Code and OpenAI's Codex carry flaws that can lead to code execution, file theft or address-bar spoofing; Codex and VS Code were unpatched at publication.

What happened
The research was written by Forever Security researcher Gal Weizman; EMBRACE stands for EMbedded BRowser, and the core argument is that all five tools gave their embedded browsers capabilities an ordinary browser would not grant. Weizman wrote that these additions undermined the traditional threat model — as agent input, as the authority on a tab's own address, or as reach onto the host.
The three flaw classes map to three rules ordinary browsers hold: a web page cannot run commands on the host computer, a local file cannot read other files on the machine, and only the browser decides what the address bar shows; Cursor's flaw breaks the first rule, GitHub Copilot's breaks the third, and the Claude Desktop, Codex and VS Code flaws break the second.
Per tool: Cursor's embedded browser lets a web page call the agent's composer, and the agent treats hidden instructions as user instructions — in the researchers' demonstration, a malicious package-install command launched the host's Calculator app; Copilot 1.1.27's browser preview accepts a page's self-reported address and checks only that the text starts with http, https or file, so an attack page can load a phishing page underneath while the address bar shows github.com/login; Claude Desktop and VS Code confine local pages to their project folders, but the restriction does not apply to web workers, so a local page can spawn a worker to bypass it and read any file, while Codex has no such restriction at all and a local page can read any file directly — files read and exfiltrated in the demonstrations included SSH keys, developer tokens and private documents.
Key facts
- Researcher and date: AI security firm Forever Security, researcher Gal Weizman, report published Oct 29, 2026.
- Affected tools: Cursor, GitHub Copilot, Anthropic's Claude Desktop, Microsoft's VS Code and OpenAI's Codex — five in total.
- Flaw class name: EMBRACE, short for EMbedded BRowser, meaning an embedded browser trusted like a real one.
- Cursor: the embedded browser lets a web page call the agent's composer, and hidden instructions are executed as user instructions, enabling host code execution; disclosed Sept 10, silently patched Oct 1, with no security advisory published and no reply to the disclosure, according to Forever.
- GitHub Copilot: version 1.1.27's browser preview accepts a page's self-reported address, checking only the http, https or file prefix, allowing spoofed addresses such as github.com/login; found Sept 26, independently fixed by GitHub in version 1.1.29 on Oct 13, without receiving Forever's report.
- Claude Desktop and VS Code: local pages are confined to their project folders, but the restriction does not apply to web workers, so a local page can spawn a worker and read any file.
- Codex: no such restriction exists at all, so a local page can read any file directly.
- Disclosure timeline: the Claude Desktop flaw was disclosed to Anthropic on July 23 and dismissed as an invalid workspace-trust boundary issue; Noma Security then reported the same flaw and Anthropic accepted it as valid; the Codex flaw was disclosed to OpenAI on July 27 with no reply, and an OpenAI spokesperson told The Register the company is aware and working on it; the VS Code flaw was disclosed to Microsoft on Sept 10 and likewise dismissed as a workspace-trust boundary issue.
- Patch status: at publication, Cursor and Copilot were fixed and Codex and VS Code were not; except for an OpenAI spokesperson speaking to The Register about the Codex flaw, the other vendors did not respond to requests for comment, and the report coverage does not state Claude Desktop's patch progress.
Why it matters
the five tools share one class of embedded-browser flaw, Codex and VS Code were still unpatched at publication, and developers opening untrusted content inside these tools face host compromise and file theft.
CompaniesOpenAI
Follow HIMIAO Horizon
No sign-up · Unsubscribe any timeNotifications
A ping on your phone or computer when the brief is out. No email needed.
Comments
Related
- Oct 22Claude Code vs Codex CLI vs Gemini CLI: Three Terminal Coding Agents Compared
- Oct 21OpenAI's Frontier Models Come to Google Cloud
- Oct 18DeepSeek Releases V4.1-Flash-1017: MIT-Licensed Weights, In-House Search API
- Oct 18GitHub Copilot to Remove Three Flagship Models on November 16: Claude Opus 4.8/5 and GPT-5.6 Terra Retired
- Oct 8REA Tops GitHub Trending: Let AI Agents Reverse-Engineer Anything, Down to the Binary
Today
Oct 31 Saturday- Brief
- GitHubGitHub Weekly Vol.3: 6 Projects Worth a Look This Week
Tested or read — weeklyAll →
- Quiz
- CallWill orca pass 111,000 GitHub stars by Oct 31, 12:00 Beijing time?
The cat says “Yes”Predict →
Latest news
All →- Oct 31Meta Quietly Launches AI Outfit App Style Sketch in Indonesia, Singapore and Thailand
- Oct 31OpenAI Doubles Pro and Business Premium Usage Limits, Cancels Planned Pro 200 Cut
- Oct 30Four AI Labs Back a Shared Training Opt-Out Signal
- Oct 31Google to Shut Down Coding Agent Jules by Year-End, Folding It Into Antigravity
- Oct 31Intel Q3 Beats Expectations, but Q4 Guidance Falls Far Short
- Oct 30Kuaishou's Kling Completes About $2.98B Funding Round, Parent Keeps Majority Voting Control
™