
A compromised version of Anthropic’s official Claude extension for VS Code was distributed through the Cursor marketplace on Thursday, impacting as many as 5,000 users who either downloaded it or had their systems automatically fetch and install the update. The affected malicious package was version 2.1.313, which remained accessible through Anthropic’s verified Cursor account from 5:27 am ET until approximately 4:35 pm, when version 2.1.314 was released to replace it.
According to security researchers and Cursor officials, the compromised extension attempted to establish persistent unauthorized access to developers’ machines by installing an SSH backdoor with attacker-controlled credentials. The malicious code enabled local SSH services and created reverse SSH tunnels, allowing remote command execution. The backdoor was designed to function across Windows, macOS, and Linux systems. Because Cursor extensions operate with the permissions of the IDE environment, the compromised version would have gained access to local files, source code repositories, and developer tools on affected machines.
The malware also attempted to extract variable names from the compromised systems, potentially allowing attackers to inventory cloud credentials and API tokens stored locally. This capability appeared designed to help threat actors prioritize which machines to target in subsequent attacks. However, bugs in the malicious code prevented the backdoor from functioning properly on Windows and macOS systems in some cases, though security researchers noted the threat remained significant due to its persistence mechanisms.
To remediate the incident, Cursor personnel coordinated with the cloud provider hosting the reverse shell server to prevent infected devices from reconnecting, removed the backdoored version from the marketplace, and blocked further distribution. The VS Code Marketplace was temporarily shut down to rotate security credentials and audit access controls before reopening. Neither Anthropic nor Cursor has publicly explained how attackers obtained access to Anthropic’s verified account, and Anthropic has not issued a formal customer warning regarding the incident. Security researchers have published indicators of compromise to assist users in determining whether their systems were affected.
Article Attribution | Read More at Article Source
Article summary produced by Claude AI