Microsoft says the tampered Claude Code extension in Cursor's marketplace did not reach the VS Code Marketplace or npm
Microsoft Threat Intelligence · Company report
Read the source (opens in a new tab)- What happened
- Microsoft Threat Intelligence published an analysis on October 30, 2026 of the tampered Claude Code extension, versions 2.1.312 and 2.1.313, that Cursor's marketplace served on October 29.
- Key points
- Microsoft says the malicious packages were never published or distributed through the Visual Studio Marketplace or npm, and "at this time, all evidence suggests that the incident is limited to Cursor marketplace."
- Anthropic told Microsoft its systems were not compromised and it did not develop the malicious package.
- The injected loader runs before the extension's own code, hides its errors while the extension keeps working normally, and gives its startup entries names that resemble monitoring components.
- Removing or updating the extension does not remove files written outside its folder; Microsoft advises restricting extensions to approved publishers and delaying installs of newly published versions.
- Evidence
- Security vendor analysis of the injected code, with detections, hunting queries and indicators of compromise. It describes the actions the code attempts and says this does not prove every step succeeded on every host.
- Uncertain
- The analysis names no threat actor and does not say how the package reached Cursor's marketplace. Anthropic's statement is relayed by Microsoft.