Tampered extension in Cursor: which Claude Code versions need attention?

Which Claude Code packages were tampered with in Cursor’s marketplace, how to scope exposure, and why uninstalling may leave malicious changes behind.

Removable metal module with a broken transparent seal beside a socket on a green workbench.
Conceptual illustration created with AI for IANautaLab. A metaphor for package integrity, not Cursor hardware or a photograph of the incident.
In this article

People who installed Claude Code through Cursor’s marketplace in late October need to check where their package came from, not just the extension’s name. Cursor reported identifying tampered copies of Anthropic.claude-code versions 2.1.312 and 2.1.313 for Windows and macOS. Its notice places distribution on October 29, 2026, between 2:27 a.m. and 1:35 p.m. Pacific time, or 09:27–20:35 UTC. In Brasília, that was 6:27 a.m.–5:35 p.m.

Cursor’s official notice describes attempts to establish remote access and persistence. Potentially exposed computers need investigation, but the notice does not establish that every Cursor user was breached. It also does not mean Anthropic’s official distribution was compromised.

IANautaLab reviewed the notices and technical research. It did not install the packages, run malware or inspect readers’ computers. The explanation below helps define the investigation; it cannot replace an assessment of an individual machine.

Where the package came from changes the assessment

A familiar extension identifier can appear through several distribution channels. Finding Claude Code in an extension list is therefore a starting point. The next questions are where that installation or update originated and when it happened.

Microsoft Security Research says it confirmed that the malicious packages were not published in Microsoft’s Visual Studio Marketplace or distributed through the official npm package. Microsoft also reports that Anthropic confirmed it did not build the tampered material and that its systems were not compromised in this incident.

That distinction prevents two mistakes: treating every Claude Code installation as affected, or trusting a package solely because it uses a legitimate name. Teams should recover the available extension-management and distribution records. Automatic updates belong in that review too.

Installation, execution and remote access are different findings

Installing a suspect package establishes exposure to that artifact. Showing that its code loaded is a further finding. Confirming successful remote access requires additional evidence. Collapsing those stages can produce both unnecessary alarms and false reassurance.

Microsoft describes an injected loader that tried to add an SSH access key, enable the corresponding local service and create a reverse tunnel. In plain terms, it sought a connection through which an outside party could reach the machine. Whether that worked depended on the computer’s permissions and configuration.

The absence of a working tunnel does not end the investigation. A program can leave local changes even if another part of its attempt fails. An assessment needs to consider files, processes and execution records together, rather than search for one sign and declare the machine clean.

Why updating or uninstalling may leave work unfinished

StepSecurity examined the material and corrected an early attribution to Open VSX. Its researchers say version 2.1.312 from that other channel was a different artifact, which they verified as clean. A version number alone does not identify the tampered contents.

Cursor warns that removing the extension may be insufficient because persistence mechanisms exist separately from it. Persistence means being able to execute code again after a restart or another change in the environment. Replacing the main package does not necessarily undo changes it has already made.

This is not a reason to delete folders, scheduled tasks or SSH keys merely because their names look suspicious. Those facilities also have legitimate uses. Investigators need to identify what the incident added and preserve the records required to understand its scope. Readers who do not administer such systems should involve their IT team or a security professional.

A distribution window is not an investigation cutoff

Expel reported four customer incidents it investigated, each involving a Mac. In one, the first observed malicious activity began about eight hours after Cursor’s stated distribution window closed.

That does not show that the marketplace was still serving the package then. It illustrates why installation time and later activity must be distinguished. An organization that filters all records down to the distribution period could miss what happened afterwards.

Nor do four customer cases measure the incidence among all Cursor users. They are observations from the security company’s own customer investigations. This report does not turn estimates of potential exposure into a count of confirmed infections.

Organizing a response without improvising a cleanup

First establish whether the computer falls within the documented scope: the Cursor channel, listed versions, operating system and installation or update history. Where those match, the responsible person should follow the updated notice and compare the official indicators with available telemetry. This article does not reproduce removal scripts or ask readers to execute code received from third parties.

When evidence points to execution or unauthorized access, official guidance includes isolating affected machines, investigating persistence, and assessing credentials and sessions reachable from them. Any credential rotation should happen from a trusted system, as the investigation requires. Entering replacement secrets on a machine that remains suspect does not establish a safe recovery.

Cursor says it removed the packages, rebuilt its marketplace, rotated keys and worked to take the attacker’s server offline. Those actions interrupt known paths used by the campaign. They do not replace checking computers that received the material.

For a small team, a useful response record identifies the devices, installation sources, timestamps, findings and actions taken. The record should also identify anything that could not be checked, such as missing installation history or execution records that have already expired.

Access management is also discussed in IANautaLab’s report on CERT-In’s warning about agent permissions. These are separate incidents, each requiring attention to the authorized software and the limits placed on what it can do.

Sources consulted

Consulted on November 4, 2026. Technical tests cited here were performed by the organizations responsible for the research, not by IANautaLab.