Cursor is urging developers who installed malicious Claude Code extension packages from its marketplace to clean affected machines and rotate accessible credentials and sessions from a trusted system. The company warns that removing the extension alone may leave persistent components running.
The compromised packages are Anthropic.claude‑code versions 2.1.312 and 2.1.313 for macOS and Windows. Cursor’s security notice places their availability between roughly 2:27 a.m. and 1:35 p.m. PT on October 29, 2026. The firm says Anthropic did not develop the malicious versions and reports no evidence that other versions or the official distribution were affected.
Cursor clarified the affected versions and identifiers on October 30. Security researcher Phorion later expanded its malware analysis on October 31 to include both versions, having initially identified only 2.1.313.
Why uninstalling may leave access behind
According to Phorion, the payload attempts to add an attacker‑controlled SSH key, enable the machine’s SSH remote‑login service, and establish a reverse tunnel. With SSH running, the planted key could let an attacker log in through that tunnel. Persistence mechanisms include a macOS LaunchAgent and, on Windows, an attempted scheduled task with a Startup‑folder fallback.
Phorion says the injected code executes when Node loads the extension module, before its normal activation callback. No further interaction with the extension is required at that point.
Successful remote access also depended on the host. Phorion found that a permission‑check bug causes the macOS code to skip enabling Remote Login when run as a standard user. If SSH was already enabled, or enabled later, the planted key could still permit access while the tunnel was operational.
Cursor says it worked with the hosting provider to take the attacker server offline. It also removed the packages, rotated its keys and rebuilt and reopened the marketplace. Those steps do not remove components already left on an affected machine.
The initial beacon reported host information and up to 40 matching environment‑variable names, rather than their secret values, according to Phorion. Cursor cautions that this limited collection does not rule out later credential access through the backdoor.
For crypto developers, Cursor’s advice would extend to development or financial‑service credentials accessible to the affected local user account, if present. Neither advisory establishes cryptocurrency theft or crypto‑specific targeting.
Cursor recommends checking endpoint, network and extension‑installation records, isolating hosts showing payload execution or backdoor installation, and removing unauthorized SSH keys, persistence mechanisms and running tunnels. Its notice provides platform‑specific remediation scripts and advises assessing whether the host should be rebuilt.
Cursor also recommends rotating credentials and sessions accessible from affected hosts using a trusted system.
Also Read
- Naira Rises 116 Pips Against Dollar On FX Liquidity Boost – MarketForces Africa
- OneKey Founder Flags Potential North Korean Threat to BlackRock’s $62B Bitcoin ETF
- Tanzanian Interbank FX Turnover Surges to USD 60.8 Million in Week Ending Oct 23, 2026 – TanzaniaInvest
- FBI Attributes $6 Billion Binance Hack to North Korea, Urges THORChain and DeFi Platforms to Block Stolen Funds


