Malicious IDE Extensions: Supply Chain Lessons for Teams

Updated

7 min read

Malicious IDE Extensions: Supply Chain Lessons for Teams: IDE extension illustration
In this article
  1. What to check before your team installs an IDE extension
  2. How the GlassWorm campaign hid its code
  3. Why forks inherit risk from recommended extensions
  4. What the vendor documentation says
  5. Supply chain lessons for teams
  6. Where the risk reaches a team's workflow
  7. Which one to start with?
  8. FAQ
  9. Is an IDE extension from a marketplace safe to install?
  10. Can a trusted extension become malicious after an update?
  11. Why do forks of VS Code show extension recommendations that do not work?
  12. Does a trust prompt protect a team?

A malicious IDE extension can run code on a developer’s laptop with the same permissions as the editor itself, and it can reach that laptop from a marketplace that looks trustworthy. Treat every IDE extension as third-party code. Limit which publishers and versions developers may install, and rotate any publishing or cloud credential that a build or extension could read.

SourceDateWhat it reports
Palo Alto Networks, GlassWorm analysis18 Oct 2025Malicious code hidden in Unicode variation selectors, spread through Open VSX extensions
SecurityWeek, Open VSX response31 Oct 2025Open VSX considered the incident contained on 21 Oct 2025 and revoked exposed tokens
BleepingComputer, VS Code fork research5 Jan 2026Forks inherit a hardcoded list of recommended extensions, some with unclaimed namespaces
Microsoft, VS Code Extension Marketplace docsUndated page, read 25 Nov 2026Trust dialog for third-party publishers; extensions run with the editor’s permissions
NIST, SP 800-218 (SSDF) v1.1Feb 2022Framework of secure development practices for software producers

What to check before your team installs an IDE extension

Four checks cover most of the risk in the public record. Each one maps to a failure that already happened in a marketplace.

  • Publisher identity. Confirm the publisher name and namespace match the vendor’s own website. Counterfeit listings copy a popular name with small spelling changes.
  • Recent ownership or version changes. A trusted extension that suddenly ships a new version with no matching release notes deserves review before it updates.
  • Hidden or unusual content. Invisible characters and obfuscated scripts can pass a quick code read. Scan packages with tooling and do not rely on eyeballing the source.
  • Credentials the extension can reach. Extensions run with the editor’s permissions, so they can read tokens stored in the workspace, environment variables and local configuration files.

How the GlassWorm campaign hid its code

Palo Alto Networks reported on 18 October 2025 that the attackers encoded their payload in Unicode variation selectors. These characters are part of the Unicode standard but do not produce any visible output in a code editor, so a reviewer reading the file sees normal-looking code. The same report lists seven Open VSX extensions compromised on 17 October 2025 in its timeline.

Open VSX, the registry that serves many VS Code forks, told SecurityWeek that it removed the malicious extensions and considered the incident contained on 21 October 2025. It also said it revoked tokens that several affected extensions had exposed, and it attributed that exposure to developer mistakes rather than a compromise of its own infrastructure. The registry disputed the description of GlassWorm as a self-replicating worm in the traditional sense, and said the download figures were inflated by bot traffic.

For teams, publishing credentials matter as much as the malicious code. A token that sits in an extension’s code or build script can let an attacker publish the next malicious version under a trusted name.

Palo Alto’s timeline places the seven compromised extensions on 17 October 2025, one day before its public report. A check done once, at approval time, does not cover later versions published under the same name.

Some VS Code forks ship with a built-in list of recommended extensions. BleepingComputer reported on 5 January 2026 that forks including Cursor, Windsurf, Google Antigravity and Trae inherit a hardcoded list that points to Microsoft’s Marketplace. Some of those extensions do not exist on Open VSX, which the forks use, so their publisher namespaces were unclaimed and could have been registered by anyone.

Researchers at Koi reported the problem in late 2025. According to the same article, Cursor fixed it on 1 December 2025, Google removed 13 recommendations and marked the issue fixed on 1 January 2026, and Windsurf did not respond. The article says there is no indication that the namespaces were exploited before the research. For a team, a recommendation from the editor is no check on the publisher.

What the vendor documentation says

Microsoft’s VS Code documentation states that the editor shows a trust dialog when a user first installs an extension from a third-party publisher, and that extensions have the same permissions as VS Code itself. The second point matters most. The trust prompt is a decision about code that can read files, run commands and reach the network.

The same page describes enterprise controls, including policies that manage automatic updates and an option to host extensions in a private marketplace. Teams that need a fixed list should use those controls rather than relying on each developer’s judgment.

The trust prompt appears on the first install from a third-party publisher, according to the same page, and the behavior dates to VS Code 1.97. One prompt asks a single person to judge a publisher name at the moment of install, so it is a weak control alone. It works best as a backstop behind an approved list.

Supply chain lessons for teams

NIST’s Secure Software Development Framework, SP 800-218 version 1.1 from February 2022, groups secure development practices into four areas: preparing the organization, protecting software, producing well-secured software and responding to vulnerabilities. The IDE extension problem fits the first two. Preparing the organization means deciding who may install what. Protecting software means controlling the code and credentials that the tooling touches.

  1. Maintain an approved list of IDE extensions and publishers, and enforce it with the editor’s policy controls where they exist.
  2. Pin extension versions for shared workspaces and review changes before they reach developer machines.
  3. Keep publishing tokens out of extension code, build scripts and shared workspace files. Rotate any token that may have been exposed.
  4. Add IDE extensions to the same inventory and review process as package dependencies.

Where the risk reaches a team’s workflow

The editor is only one place where an IDE extension can enter a team’s environment. A developer installs it on a laptop, but the same extension can run inside a shared dev container, a remote workspace or a project that a colleague clones. The recommendation list in a fork can also add an extension to a new hire’s setup on day one, before anyone has reviewed it. Each of those paths starts with a trusted-looking name and a normal-looking install prompt, so the checks in this article focus on approval, before an install happens.

Updates matter as much as installs. A version that was clean when a team approved it can change later, so an extension approved years ago still depends on the publisher’s account security and on the registry’s takedown process. Open VSX said the affected extensions were removed within days of the discovery, so the registry’s response time is worth watching. The next incident may not be handled as quickly.

Which one to start with?

Start with the approved list and a policy for the trust prompt. That blocks the most common path, an unvetted install from a look-alike name. Add credential hygiene next, because the Open VSX token exposure shows that a single leaked token can turn a trusted name into a delivery channel. Teams that handle regulated data should also record which extensions touch repositories and production secrets, and review that record regularly. My pick for the first step is the approved list, because every later control depends on knowing what is installed.

FAQ

Is an IDE extension from a marketplace safe to install?

Not by default. Marketplace listings are published by third parties, and the editor grants extensions its own permissions. Verify the publisher and the version before installing, and limit installs to an approved list.

Can a trusted extension become malicious after an update?

Yes. Open VSX reported that tokens exposed by several extensions were revoked after the GlassWorm incident, which shows that an established name can be used to publish a bad version. Review updates for trusted extensions as well as new ones.

Why do forks of VS Code show extension recommendations that do not work?

Forks can inherit a recommendation list from the original product. If an extension name is not registered on the fork’s registry, someone else may claim it. BleepingComputer reported this for several forks in January 2026.

Does a trust prompt protect a team?

It helps, but it is a single decision made by one developer. Teams need a policy that decides in advance which publishers and versions are allowed.

About the author

Equipe Gui Tech

68 articles published

The Gui Tech team researches, verifies and updates every guide with verifiable sources. Enterprise tech, AI and security explained.

All articles

Keep reading