How to Vet AI Coding Extensions: A Checklist for Dev Teams
On October 29, 2026, tampered copies of a popular AI coding extension were served to developers through the Cursor marketplace. The episode is a useful reminder that an AI coding assistant is not only a model and a subscription: it is also software running inside your editor, with access to your code, terminal and credentials. This guide turns the incident into a checklist that a small or mid-sized engineering team can apply this week. It is general guidance based on public documentation, not a security audit of your environment.
What happened with the Claude Code extension on Cursor?
According to Cursor’s security notice, modified versions 2.1.312 and 2.1.313 of the Anthropic.claude-code extension were available through the Cursor marketplace between about 2:27am and 1:35pm PT on October 29, 2026. That is a window of roughly 11 hours. Cursor says the affected builds were for Windows and macOS, that Anthropic did not develop them, and that it has no evidence other extension versions or the official distribution were compromised.
Cursor describes what the modified extension did: it collected host and user details such as hostname, username, operating system, home directory path, environment variable names, working directories, Git email and public IP, and sent them to an attacker-controlled server. It also tried to add an SSH key labelled “svc-telemetry” to authorized_keys, enable the local SSH service and open a reverse tunnel, with persistence through a LaunchAgent on macOS or a scheduled task on Windows. Cursor notes that enabling SSH usually needs admin rights the extension lacks, so that step would likely fail on most machines, but says the key, persistence and host details were handled regardless of whether the tunnel worked.
Cursor says it removed the malicious version, temporarily shut the marketplace down, audited access, rotated keys, rebuilt the marketplace and worked with the hosting provider to take the attacker server offline.
Why are AI coding extensions a high-value target?
They run with the permissions of the editor. VS Code’s documentation states that “the extension host has the same permissions as VS Code itself”, meaning extensions can read and write files, make network requests and run external processes. An AI coding extension is installed on the machines where developers hold repository access, cloud credentials and API keys, and it is expected to talk to the network, so unusual traffic does not look unusual.
Popularity adds to the appeal. A well-known name such as Claude Code is exactly what a developer searches for, and the same extension is distributed in more than one place. Anthropic’s own documentation lists the VS Code Marketplace for the extension (publisher anthropic) and points users of other VS Code forks to the Open VSX registry. More distribution channels means more places where you need to confirm you are getting the genuine package.
If you already track spend and keys for AI tools, this fits the same discipline. Our guide to spend limits on Anthropic, OpenAI and Google APIs covers the cost side, and the OpenCode console breach showed what happens when API keys leak.
What controls can a team put in place?
Controls fall into four layers: what can be installed, which versions run, what a compromised editor can reach, and how fast you can respond. The table compares the options based on public documentation.
| Control | What it does | Best for | Limitation |
|---|---|---|---|
Publisher/extension allowlist (AllowedExtensions policy, extensions.allowed) | Blocks anything not on your list; can target a publisher ID or a full extension ID | Any team on VS Code 1.96+ managing devices centrally | Version ranges are not supported, so each version is listed; locally supplied VSIX files rely on identifiers declared in the package |
| Private marketplace | Self-hosted marketplace that can upstream approved public extensions | Organizations already on GitHub Enterprise | Available only to GitHub Enterprise customers per VS Code docs; not for VS Code Server or the web |
| Manual version pinning and review | A named person approves each update before rollout | Small teams without device management | Slow, and depends on discipline |
| Least-privilege developer machines | Short-lived credentials, no long-lived cloud keys in home directories, separate admin accounts | Every team | Takes setup time; does not stop data collection by itself |
| Endpoint and log monitoring | Looks for unexpected SSH keys, new scheduled tasks or LaunchAgents, outbound SSH | Teams with a security tool or MDM | Detects rather than prevents |
Two details from the documentation are worth knowing. First, VS Code says the Visual Studio Marketplace signs published extensions, scans each new extension and update with several antivirus engines, and shows a blue check mark for publishers that proved domain ownership. Those protections are specific to that marketplace; do not assume another registry offers the same. Second, Open VSX’s publishing documentation says an extension in a namespace where the publisher is only a contributor shows the warning “That user account is not a verified publisher of the namespace.” Treat that warning as a stop sign, not a formality.
How do you check an extension before installing it?
Check the publisher ID, not just the name. The genuine Claude Code extension ID is anthropic.claude-code, according to Anthropic’s documentation, so a look-alike name or a different publisher is a red flag. Next, confirm the source: install from the link in the vendor’s own documentation, and confirm the registry matches what the docs say for your editor.
A short pre-install checklist:
- Is the publisher ID exactly the one in the vendor’s documentation?
- Does the registry show a verified publisher or namespace owner?
- Does the version number match what the vendor says is current? The Claude Code docs say the extension version matches the bundled Claude Code version.
- Did the extension just ship an update that nobody on your team asked for?
- Is automatic updating enabled, and do you want it for extensions that handle code and credentials?
What is the worked example for responding to an incident?
Assume a team of 30 developers on macOS and Windows, with extensions updating automatically. These numbers are our assumptions for planning, not figures from any vendor.
Step one is scoping. If the 11-hour window from the Cursor notice overlaps working hours for your time zone, you must assume anyone whose editor was open or restarted that day could have updated. Pull the installed extension version from each machine, or ask developers to report it.
Step two is checking each machine for the indicators Cursor lists: the svc-telemetry key in authorized_keys, persistence entries, tunnel processes and connections to the attacker IP in Cursor’s notice. If we assume 45 minutes per machine to check and run the vendor’s remediation script, 30 machines is about 22.5 hours of work, or three working days for one person, and less if you split the load. This is why pre-built inventory and an allowlist pay off: with an allowlist in place, a surprise version might never have been installable.
Step three is credentials. Cursor advises rotating credentials and sessions reachable from any affected host, from a trusted system. List what each developer machine could reach (cloud consoles, Git hosts, package registries, AI API keys) before the incident, not during it. The checklist for securing AI agents shows how to scope those permissions.
How should you choose between the options?
Choose an allowlist policy if you manage devices centrally and run VS Code or a compatible editor with the policy available. Choose a private marketplace if you already pay for GitHub Enterprise and want one approved source. Choose manual pinning if you are under ten people and cannot yet run device management, and accept that someone must own the task. In every case, add least-privilege credentials, because no allowlist is perfect.
When you evaluate a coding assistant, extend your vendor review to cover distribution: where the extension is published, who signs it, and how you can verify it. Our AI vendor due diligence checklist has questions you can reuse, and the pricing comparison for coding assistants helps you weigh cost against these controls.
How we chose these controls
We used Cursor’s incident notice as the primary account of what happened, and VS Code, Anthropic and Open VSX documentation for the controls and publisher-verification details. We did not install the affected extension, reproduce the attack or test the vendors’ remediation scripts, and the worked example uses stated planning assumptions rather than measured results. Details of the incident may be updated by Cursor; check the notice for the latest indicators before acting.
Frequently asked questions
What happened with the Claude Code extension on Cursor?
Cursor says modified versions 2.1.312 and 2.1.313 of the Anthropic.claude-code extension were available on its marketplace between about 2:27am and 1:35pm PT on October 29, 2026, for Windows and macOS. Cursor says Anthropic did not develop those versions and that the attacker server is now offline.
Is uninstalling the extension enough?
Not according to Cursor. The modified versions tried to add an SSH key and install persistence, so Cursor advises checking for the key, removing persistence and tunnel processes, rotating credentials from a trusted system and considering a rebuild of affected hosts.
Can a company block untrusted editor extensions?
In VS Code, yes. Administrators can use the AllowedExtensions policy (the extensions.allowed setting, VS Code 1.96 or later) to permit only listed publishers or extension IDs. Check your editor's documentation for equivalent controls if you use a fork.
Do AI coding extensions need special treatment compared with other extensions?
They deserve extra care because they typically sit next to source code, terminals and API keys. VS Code's documentation says the extension host has the same permissions as VS Code itself, so an extension can read files, make network requests and run processes.