Cursor temporarily suspended its extension marketplace after discovering a compromised Claude Code extension capable of installing a backdoor and giving attackers remote access to users’ computers. The company estimates that up to 5,000 users may have been affected and says it has contained the threat and secured its marketplace.
A malicious coding extension distributed through Cursor’s marketplace could have given attackers access to thousands of developers’ computers. The company has confirmed that a modified version of Anthropic’s Claude Code extension contained malware capable of collecting user information and installing a backdoor that could enable unauthorised remote access.
Cursor estimates that up to 5,000 users were potentially affected. It has not disclosed which countries or regions were involved but said it would contact those who may have downloaded the compromised software. The company also clarified that the extension was not developed by Anthropic.
In a post on X, the company confirmed that the incident involved a modified Claude Code VS Code extension and affected at most 5,000 users. It said affected customers would receive direct communication and advised all users to update Claude Code.
The discovery led Cursor to temporarily take its extension marketplace offline on Friday. The platform has since been restored following an investigation and a series of security measures.
Malicious extension could give hackers remote access
Cursor identified the compromised extension on October 29. According to the company’s security disclosure, the software contained malicious code designed to establish a backdoor on the user’s machine.
The programme could collect information including IP addresses, usernames and operating system details before sending the data to a server controlled by the attacker. It also attempted to add an attacker-controlled SSH key to the affected computer.
More from Tech
SSH, or Secure Shell, is commonly used by developers to access machines remotely. Adding an unauthorised key could therefore allow an attacker to connect to a victim’s computer without their knowledge or permission.
Cursor said the malware was configured to repeat its activity every 60 seconds. An analysis by Open Source Malware also found that users did not need to start a conversation with Claude for the malicious code to execute. Loading the extension alone was reportedly enough to trigger the programme.
This meant developers who had installed the extension without actively using it could also have been exposed to the threat.
However, Cursor has not confirmed how many users experienced an actual intrusion, as opposed to simply downloading or loading the compromised extension.
Cursor restores marketplace after security checks
Following the discovery, Cursor removed the malicious extension and blocked its further distribution. It also temporarily shut down its marketplace while working with relevant providers to neutralise the malware.
The company subsequently rebuilt the marketplace and restored access. As part of its response, it rotated security keys and blocked the attacker’s connection to the server hosting the malicious software.
Cursor also examined other extensions available on its platform to establish whether the compromise extended further. It said the investigation found no evidence that other marketplace extensions were affected.
The incident adds to a series of cybersecurity concerns emerging this month. Binance recently acknowledged a breach that may have put assets worth $6.3 billion at risk. Separately, vulnerabilities in PHP and concerns surrounding weak security keys in eMudhra’s digital certificates have raised questions about software and infrastructure security.
For developers, the Cursor incident highlights how third-party extensions can become a route for malware, even when they appear within established coding platforms.