Skip to content
astra.buzz
Go back

Cursor delivered malware under Anthropic's name

· 4 min read · 889 words

For about eleven hours on October 29, Cursor’s marketplace offered malware under Anthropic’s Claude Code name. Cursor’s security notice identifies modified builds of versions 2.1.312 and 2.1.313 for macOS and Windows. They planted an attacker’s SSH key and persistence files, sent out host information, and attempted to create remote access. A familiar extension listing became a delivery route for an intruder.

Cursor put the impact at “at most 5,000 users”. That is the company’s upper bound, not a verified count of successful break-ins. I think the central failure is that users choosing a real developer’s tool received code that developer never published. The distributor has to account for that substitution.

The listing borrowed Anthropic’s reputation

OpenSourceMalware analyzed a malicious build identifying itself as anthropic.claude-code version 2.1.313. The normal extension and bundled binary were still present. The difference was a 66-line malicious loader placed ahead of the legitimate JavaScript bundle. Loading that module was enough to execute it; starting a Claude conversation was unnecessary.

A developer could recognize the right product and still receive the wrong code. Looking for a misspelled publisher would not address this particular failure. The package carried the expected identifier. Whether its bytes were authorized by Anthropic was a separate question.

Anthropic has answered that question publicly. Felix Rieseberg said the company was working with Cursor, that Anthropic’s systems and employee laptops were not compromised, and that an attacker used access to Cursor’s marketplace to publish a copy Anthropic did not build or publish. He said official channels were unaffected. Blaming Anthropic for releasing this malware would misidentify who distributed it.

The exact route by which the attacker introduced the update remains unclear, The Hacker News reported. A legitimate extension identifier does not prove stolen Anthropic credentials, a compromised Anthropic build system or an insider. Cursor’s distribution failure is established without inventing any of those explanations.

The payload reached past the editor

OpenSourceMalware’s technical analysis describes changes to the user’s SSH configuration, including an attacker-controlled key labeled svc-telemetry. The loader tried to enable SSH and establish a reverse tunnel. Its persistence code used a macOS LaunchAgent or Windows startup mechanisms, with a Linux branch also present in the artifact. A branch in the code does not establish that Linux users received an affected build.

Cursor says the SSH setup failed on most macOS and Windows hosts, because of errors in the malicious code and the lack of administrator privileges. On those hosts, it says the attacker could not have logged in through the tunnel. The unauthorized key, persistence and transmission of host details still required remediation. Attempted access and successful access must stay separate.

OpenSourceMalware found collection of environment-variable names, not their values, in the initial beacon, alongside information such as the username, hostname and configured Git email. The transmission used unencrypted HTTP. Variable names can reveal which services an account uses; they do not establish that every credential was stolen. Further access would depend on what the attacker actually managed to do.

Microsoft’s documentation explains that VS Code’s extension host has the editor’s permissions, including file access, network requests and external processes. That documents Microsoft’s runtime model, not every detail of Cursor’s implementation. The implanted key and startup files show how far the substituted extension could reach on an affected machine.

Cursor’s cleanup matters

Cursor removed the malicious builds, shut down the marketplace, audited access, rotated keys and rebuilt it. It says the audit found no other tampered extensions. It also worked with the hosting provider to take the attacker server offline. The notice includes indicators of compromise and remediation scripts. Those are useful actions, and the disruption of the server reduced the immediate threat.

An early disclosure cannot deliver a complete forensic explanation on demand. Taking down an entire marketplace while checking the damage is a defensible precaution. Cursor was right to disrupt distribution before it could answer every question.

But Cursor’s own remediation guidance says uninstalling the extension may be insufficient. Standalone persistence can remain. Users are told to isolate affected hosts, assess whether rebuilding is necessary, and rotate accessible credentials from a trusted system. That is real cleanup work imposed on people who obtained an extension through the editor’s marketplace.

I give Cursor credit for making that work possible. Its follow-up should explain how the unauthorized build got through and what changed before the marketplace resumed service. Users need to know which protection failed.

The distributor has to authenticate what it ships

Microsoft’s marketplace documentation describes package signatures and verification of their integrity and source, alongside scanning and other protections. Those measures offer engineering reference points, not proof that Microsoft is immune to compromise or that Cursor had no checks at all.

A marketplace’s signature on a tampered package would authenticate the marketplace’s delivery of that package. Users also need confidence that the publisher authorized those particular bytes. The follow-up should identify which part of that verification failed here. Until the entry point is established, claims about the precise missing control are guesses.

Anthropic can identify the builds it actually published and help distinguish them from the tampered copy. Cursor controls what its marketplace serves. Developers receiving an update cannot inspect the marketplace’s internal authorization records or reconstruct its release history from a product name.

Cursor owes those users a distribution system that can substantiate the identity it displays. They should not have to discover an unauthorized SSH key to learn that the marketplace’s copy of a trusted tool came from somebody else.


Share this post on:

Previous Post
The government you never elected runs your workplace
Next Post
Pete Hegseth is using lie detector tests to condemn a fired general