This landed yesterday and your dev team needs to know about it before the end of the week.
Forever Security published their EMBRACE research on October 29, documenting a class of vulnerabilities in the embedded browsers built into five major AI coding tools: VS Code, OpenAI Codex, Cursor, GitHub Copilot, and one other. In their tests, a malicious HTML file opened inside the tool's browser panel could read SSH private keys, .env files, npm tokens, and anything else sitting on the developer's machine, then quietly send that data out.
VS Code and Codex are still unpatched as of publication. Cursor and Copilot have fixes out. Help Net Security confirmed the details and the full technical writeup is on Forever's site.
How the attack actually works
Every modern AI coding tool ships with an embedded browser panel. It previews local web apps, renders documentation, shows you markdown. Handy feature. The problem is that these tools are built on Electron and similar frameworks that blur the line between a web context and a native OS context. A page loaded inside the embedded browser can inherit the same file-system permissions as the editor itself.
Here is the attack path. An attacker drops a malicious HTML file into a project repository. It could arrive through a compromised npm package, a poisoned template, or a direct commit to a shared repo. A developer opens the file to preview it. The browser panel loads it. The page runs JavaScript that reads ~/.ssh/id_rsa, reads .env, reads whatever is accessible, and sends the contents to a remote server. The developer's screen shows nothing unusual.
In Cursor's case (now patched), the flaw was worse. The page could inject text directly into the AI agent's instruction field. That is not just credential theft; that is arbitrary command execution through the AI agent.
The Cybersecurity News writeup describes how the same HTML file could also spoof the browser's address bar, making the malicious page look like it came from a trusted local address.
Who is actually at risk
Enterprise teams with locked-down machines and secrets managed through Vault are not the primary exposure here. Their SSH keys do not live in the home directory and .env files are pulled from a secrets manager at runtime.
A five-person dev shop? A nonprofit with two developers? A small government contractor? Your developers are working off personal or company laptops where ~/.ssh/id_rsa is the key to your production server and .env in the project root holds your Stripe keys, your database password, and your API credentials for every third-party service you rely on.
When the research says "read any file the editor can access," for a small org that phrase covers most of what matters.
The supply chain angle
You do not need a direct attacker targeting your team. The realistic scenario is a compromised open-source package or a poisoned dependency.
The attack chain looks like this: a developer runs npm install, pulls in a package that includes a hidden HTML file in its documentation folder, the AI coding tool's file explorer auto-indexes it, the developer opens it by accident or through a documentation link inside the tool, and the exfiltration runs silently.
If your team reviews pull requests but does not audit every file type in a dependency tree, this gap exists in your workflow right now.
What to do before a patch ships
If your team is on Cursor or Copilot, update to current versions. Both are patched.
If your team uses VS Code or Codex, the vendor has not shipped a fix as of this writing. Three things you can do today without waiting:
Disable the embedded browser in VS Code. Open settings and search for "Simple Browser." If your team does not use it, turn it off. The attack requires a page to be rendered inside the tool's browser context; no browser, no attack surface.
Add HTML files to your repository review checklist. Any HTML file added to a dependency or repository should require a second person to look at the script tags before it gets merged. This is a two-minute check.
Audit your current project directories. Look for HTML files in node_modules and any recent additions to the repo that you did not write. You are looking for script tags that make outbound fetch or XMLHttpRequest calls, particularly to external URLs.
None of these fully replace a vendor patch. But they reduce your exposure while you wait.
A note on the disclosure process
The Forever team submitted reports to each vendor and the responses varied. Cursor patched within weeks. Microsoft and OpenAI had shipped no fixes as of October 29, roughly six weeks after disclosure for at least one of the vendors. That timeline is worth knowing when you're evaluating which tools to trust with your development environment.
This is the second major AI coding tool vulnerability this year that has required manual mitigation while waiting on a vendor fix. GhostApproval in July was the first. These are not one-offs. The attack surface of AI-assisted development is growing faster than the security review process around it.
Small orgs are not immune. In some ways they are more exposed, because the security tooling that big teams have does not exist at your scale.
This is exactly the kind of risk we help teams map and mitigate without a six-month engagement. If you want a quick audit of your tool stack, reach out.