Cybersecurity news

Jessica Doner

Back to the list

Researchers broke the browsers built into VS Code, Cursor, Copilot, Codex and Claude Desktop

Help Net Security,

Researchers found that web pages or local files could escape the built-in browsers in five AI coding assistants to access the underlying computer.

AI and securityNetworks and the web

Overview

Researchers from Forever Security discovered security flaws in the built-in browsers of five AI coding assistants, including Cursor, GitHub Copilot, OpenAI's Codex, Microsoft's VS Code, and Anthropic's Claude Desktop. These tools normally treat web pages as hostile, but the vendors loosened security rules so the AI could preview local projects. This change allowed a malicious web page or local file to escape the browser and access the rest of the computer. In some cases, the attack could run code or read sensitive files like SSH keysA cryptographic key pair used to sign in to remote servers over SSH without a password and cloud credentialsAccess keys, tokens, or login secrets that grant control over cloud servers and storage. Two of these vulnerabilities remain unfixed as of October 29, leaving developers who open rigged projects in Codex or VS Code at risk. A developer can lose sensitive data with a single click if they open a malicious project in these tools.

Terms in this story

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.
SSH
An encrypted network protocol that administrators and developers use to log in to remote servers and run commands. Attackers constantly scan the internet for servers with open SSH ports and weak passwords, while defenders protect SSH access with cryptographic keys instead of passwords.
keys
The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
cloud credentials
Access keys, tokens, or login secrets that grant control over cloud servers and storage. Attackers scan public code repositories and developer laptops for cloud credentials so they can spin up cryptominers or download company databases.
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
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
The text instruction or question a user or program sends to an artificial intelligence model. In AI security news, a prompt includes both the visible question typed by a user and the hidden instructions that an attacker might embed in a web page.
harness
A small wrapper program written to feed test inputs into a software library and watch for crashes. Security researchers write a test harness around a file parser or network library so a fuzzing tool can feed it millions of mutated inputs per hour.

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 Help Net Security website. Cite the article, not this page.

Read the full article on Help Net Security (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.

How a story is connected to the course, and every objective, week and job role

Related