AI NewsInfrastructureAnnouncement

Socket Firewall blocks malicious VS Code and Open VSX extensions

Socket moved its editor extension firewall out of beta. It sits between developers and the marketplace, and blocks malware before it reaches the laptop.

AI News

Editorial2 min read

LinkedInX
Socket Firewall editor extensions announcement

Image: Socket

Why it mattersThree attacks in a row have used editor extensions to reach developer machines. A firewall between the editor and the marketplace is now the quickest place to stop them.

A malicious VS Code extension does not need to sit on a laptop for long to do damage. One compromised Nx Console extension stole around 3,800 private GitHub repositories. All of them came from one GitHub employee's machine. The bad version was live for about 18 minutes. Socket moved its firewall for editor extensions out of closed beta, and made it generally available to enterprise customers.

The product sits between a developer's editor and the extension marketplace. When a developer or an editor asks for an extension, the request goes through Socket first. Socket checks the extension against a policy, then either serves it or blocks it.

What the 22 alert types cover

The policy is per-capability, not just per-extension. A security team can allow an extension that reads files but block one that opens outbound connections. It can allow one that runs shell commands only for a named list of users. The alert types include filesystem access, network calls, shell commands, writing to the extension's own manifest and more.

Two other controls sit beside the policy. The first is an extension cooldown. It holds back any version of an extension until it has been published for a minimum time. The organisation sets that time. The second is a marketplace filter. It hides extensions failing the policy from search results inside the editor. A developer never sees the ones that would be blocked anyway.

The attacks that pushed this out of closed beta

Socket names three incidents in its post. One is the Nx Console breach already mentioned. Two: a Socket research team found a GlassWorm-linked set across ten extensions. Four of them were on VS Code Marketplace and six on Open VSX. Two were confirmed malicious. Three: attackers compromised Cursor's own extension marketplace. They served bad versions of the Claude Code extension. The third one matters because the upstream registry was clean. The infrastructure that served the extension was the attack path.

Who it runs for

The firewall is an enterprise product. It covers VS Code Marketplace, Open VSX, Grok Build, Devin and VSCodium. It needs Socket's self-hosted Registry Mode, at version 2.16.0 or newer. Customers get central telemetry through a dashboard, logs, webhooks and SIEM feeds. Socket named native security scanning for VS Code Marketplace extensions as an earlier step, added a few weeks before.

The gap this closes is a narrow one and easy to miss. Most companies run endpoint detection on the laptop and a secret scanner on the repository. Neither one looks at the gap between the editor and the marketplace. To both tools, a marketplace fetch reads as a normal download by a trusted editor. A firewall at that one step blocks a class of attack that has worked three times in a row.

Source

Socket Firewall Protection for VS Code and Open VSX Extensions Is Now Generally Available, Socket.

SourceSocket

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project