Researchers Hacked Cursor, GitHub Copilot, Codex, VS Code, and Claude Desktop Embedded Browsers
Researchers found that embedded browsers in AI coding tools can be hacked to steal files and execute code on developer machines.
Overview
Researchers discovered security flaws in the embedded browsers of Cursor, GitHub Copilot, Codex, VS Code, and Claude Desktop that allow attackers to execute code and steal files. These tools use built-in browsers to help AI assistants preview projects and read pages, but the design gives untrusted web content powers it should not have. The attack class is named EMBRACE, which stands for an embedded browser trusted like a real one. In one example, a malicious page could send hidden instructions to an AI agent that looked harmless to the user but triggered a command execution. Another flaw allowed a fake login page to display a trusted address in the bar, misleading both the user and the assistant. Developers using these AI coding tools on their machines are affected by these vulnerabilities.
Terms in this story
- code execution
- A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
- spoofing
- Forging the sender address, caller ID, or domain name on a message to impersonate someone else. Criminals use spoofing to make a phone call display a bank's real customer service number or make an email header look like it came from a company executive.
- Exploited
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- sandbox
- An isolated test environment where a program can run without touching the rest of the computer. Web browsers run each tab inside a sandbox so a malicious page cannot read your personal files, and analysts detonate suspicious attachments in a sandbox to watch what they do. Security+ objective 4.1 lists the term
- script
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- prompt injection
- Hiding instructions inside text or data so an AI model ignores its rules and obeys the attacker. An attacker might hide invisible text on a web page or inside an email so that when an AI assistant summarizes it, the assistant forwards private data to the attacker.
- server
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- metadata
- Information that describes a file or message, such as when it was made, who sent it, or where. Even when the body of a message is encrypted, network metadata reveals who talked to whom and when, and document metadata in a leaked PDF can accidentally name its author. Security+ objective 4.9 lists the term
- SSH keys
- A cryptographic key pair used to sign in to remote servers over SSH without a password. Software engineers store a private SSH key on their laptop and place the matching public key on cloud servers, making stolen SSH keys a prime target for infostealers.
- tokens
- A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
- sandbox escape
- A flaw that lets malicious code break out of an isolated container into the host system. Even if an attacker tricks your browser tab into running code, they usually need a separate sandbox escape bug to reach your personal files or install malware on the computer.
- patched
- A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.
Read the full article on Cyber Security News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"Security flaws in the embedded browsers..." Found by reading the article; these exact words are in it - Security+ 2.3 Explain various types of vulnerabilities.
"Security flaws in the embedded browsers of Cursor, GitHub..." Found in the opening sentences - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"......enable code execution, file theft, and address-bar spoofing on developer machines. The findings published on..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"Security flaws in the embedded browsers of Cursor, GitHub..." Found in the opening sentences - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"Researchers Hacked Cursor, GitHub Copilot, Codex, VS Code, and Claude Desktop..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of basic client software applications and their attack surfaces.
"Security flaws in the embedded browsers..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Analyze countermeasures and mitigations against potential exploitations of programming language weaknesses and vulnerabilities in system and elements.
"...enable code execution, file theft, and address-bar spoofing..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role