AI developer-tool supply chain attacks: the trojanized Claude Code extension and Storm-0940's ARTEX
How a tampered Claude Code extension in Cursor's marketplace and Storm-0940's ARTEX-driven ConnectWise campaign worked, and what defenders were told to do.
- Published
- Sources
- 2
By the cisonews.ai Desk · Published · Updated
Two attacks on trusted software
Two documents describe attackers turning trusted software against the organizations that rely on it. The first is a security notice from Cursor. It covers a tampered AI coding extension that was distributed through Cursor's own extension marketplace. The second is a Microsoft Security Blog post published on October 21, 2026. It describes a China-state aligned actor that used an agentic AI penetration testing framework to compromise a multi-tenant cloud application and reach that application's customers.
The two cases follow different paths. In the first, the trusted item was a developer tool that people install on their own machines. In the second, it was a third-party cloud application that customers had already granted access to their tenants.
The trojanized Claude Code extension in Cursor's marketplace
Cursor's notice, dated October 29, 2026, identifies the affected package as Anthropic.claude-code, versions 2.1.312 and 2.1.313, on Windows and macOS. The company states that Anthropic did not write these builds. According to the notice, the modified extension was available in the marketplace from about 2:27am PT to 1:35pm PT that day.
The notice says the payload first gathered system details, including hostname, username, operating system, environment variable names, configured Git email and public IP. Next, it tried to plant an attacker-controlled SSH key, enable the local SSH service and open a reverse SSH tunnel. For persistence, it used a LaunchAgent on macOS and a scheduled task on Windows, and the notice says background scripts kept retrying the tunnel about once a minute.
Cursor gives a partial reassurance. Enabling the local SSH service needs admin rights, and the company says most hosts would not have given the extension those rights. Cursor states that on those hosts the attacker could not have logged in through the tunnel. However, the notice also says the other parts of the payload did work. Cursor also says the attacker's server no longer functions, because the company worked with the hosting provider to take it offline.
On its own response, Cursor says it removed the malicious version and blocked further distribution. It also took the whole marketplace down as a precaution. The company says it audited access and confirmed that no other extensions were tampered with. It then restored the service. An update to the notice on October 30, 2026 revised the indicators of compromise and clarified which versions were affected.
What Cursor said defenders should do
Cursor's steps apply to anyone who installed or updated to version 2.1.312 or 2.1.313 from its marketplace on macOS or Windows during the exposure window. The notice lists these actions:
- Run the provided check for the attacker's SSH key, which carries the label "svc-telemetry".
- Search endpoint, network and extension-installation telemetry for the published indicators.
- Isolate hosts that show signs that the payload ran or the backdoor was installed.
- Remove the unauthorized key, the persistence mechanisms and any running tunnel processes, and decide whether to rebuild the host.
- Rotate credentials and sessions from a trusted system.
The notice gives a simple test for whether a machine is affected. Cursor warns that removing the extension does not finish the cleanup. It also explains why credentials need rotating even though the payload only collected environment variable names.
Cursor publishes remediation scripts for both platforms. The macOS script should be run as the affected user, not as root. The Windows script should be run from an elevated PowerShell session. The indicators include:
- VSIX and extension.js hashes.
- The attacker endpoint 134[.]209[.]82[.]225 and a beacon on port 8099.
- A macOS LaunchAgent named com.apple.sysmond.
- A Windows scheduled task named SysMon.
The notice warns against treating one item on the list as proof of compromise.
Storm-0940 and the ARTEX framework
Microsoft's post describes a different kind of supply chain attack, in which agentic AI does the work. Microsoft says this activity dates from as early as September 2026. It says some of these attacks gave the actor privileged access to cloud infrastructure very quickly. The post attributes the ConnectWise incident to this actor.
Microsoft describes ARTEX as an open-source penetration testing framework. The post says it is a multi-agent LLM system that runs a penetration test from reconnaissance through data exfiltration with little human involvement. Microsoft says the speed matters for defenders. Automated activity does produce alerts, but it leaves little time to act on them.
How the ConnectWise compromise reached downstream tenants
According to Microsoft, Storm-0940 ran a password-spray campaign from 144.172.64[.]99 between October 10 and 14, 2026. The campaign targeted 327 accounts across eight organizations. The spray itself did not succeed.
Microsoft says that ConnectWise published an initial advisory on October 16, 2026, and that one IP address in it matched the spray infrastructure exactly. After the actor took control of the identities of multiple ConnectWise cloud applications, it went after customer tenants at scale. Because the applications already held consent in those tenants, no user had to sign in.
In some environments, Microsoft says, the AI agents went further through Microsoft Graph. They carried out reconnaissance, changed application credentials and made changes to identities, groups and privileged roles. The post warns that these changes can outlast cleanup of the original application. Microsoft states that the activity did not stem from a flaw in its own systems. It also cautions that the presence of an affected application, or even a successful sign-in, does not by itself show that data was taken.
What Microsoft said defenders should do
Microsoft's immediate actions start with containment that keeps evidence intact. The post advises against deleting the affected enterprise applications as a first step. Instead, defenders should preserve configuration and evidence before making changes that cannot be undone. Microsoft also gives specific guidance for scoping the investigation. It sets a minimum review window and suggests going back further where records allow. Where records exist, the post says to extend the service-principal sign-in review to October 1.
The rest of the guidance covers the following steps:
- Review successful and failed service-principal sign-ins separately.
- Look at sources beyond the published IPs.
- Check Entra audit records for credential additions, new owners, consent grants, privileged role assignments and Conditional Access changes.
- Review Microsoft 365 audit records for unusual mail or file access and mail forwarding rules.
- After preserving evidence, have an authorized responder remove confirmed unauthorized credentials, grants and identities.
For the longer term, the post recommends least privilege for multi-tenant applications. It also advises monitoring for credential additions and privilege assignments, and checking that the vendor's credential rotation actually removed the attacker's access.
The post's indicators of compromise include:
- The IPs 144.172.64[.]128, 144.172.64[.]99 and 144.172.64[.]60.
- Several VPN addresses relevant to October 15 and 16.
- User agents such as python-requests/2.31.0 and curl/7.88.1.
- The ConnectWise application IDs used in Microsoft's hunting queries.
Sources (2)
- [1]Cursorcursor.comOctober 30, 2026tier A · Primary
- [2]Microsoft Security Blogmicrosoft.comOctober 21, 2026tier A · Primary
Tuesdays, by email
Pages like this one, every Tuesday
One email with the week’s new incidents, explainers and rules, sorted by topic.
Unsubscribe any time.