Cursor says attackers used credentials exposed in historical coding-agent logs to distribute a malicious Claude Code extension through its marketplace cache. Its November 13 investigation explains how the October 29 attack unfolded, with up to 5,000 users potentially receiving affected builds.

How the Cursor Claude Code extension attack reached distribution

According to Cursor’s incident investigation, a key issued to Fireworks was exposed there. It allowed an attacker to copy a read-only dataset containing historical, non-Privacy-Mode coding-agent traces. Some contained unredacted credentials.

Cursor says those credentials opened access to internal SaaS tools. A subsequently stolen credential enabled malicious extension copies to be placed directly in its marketplace-serving cache. Open VSX, the upstream marketplace, did not host the malware.

The company estimates that at most 5,000 users potentially received affected builds. That is not a confirmed infection count. It says Privacy Mode prompts and code, active inference requests and customer repositories were not affected. These are Cursor’s investigation findings, not an independent AgentsCalling forensic assessment.

What the malicious package attempted, and what that does not prove

Microsoft’s separate analysis of the injected code, published October 30, describes a loader that attempted to add an attacker-controlled SSH key, enable remote access, create a reverse tunnel and establish persistence. SSH is a mechanism for remotely accessing a computer.

Microsoft distinguishes these attempted actions from successful access. Host privileges, local SSH settings and server configuration affected the result. Artifacts could remain even when the tunnel failed.

Its researchers also distinguish environment-variable names from their values: identifying a variable called a secret does not itself establish that the secret’s contents were stolen.

Microsoft says the malicious packages were not distributed through Visual Studio Marketplace or the official npm Claude Code package. Its package analysis supports the malware account; it does not independently establish every step in Cursor’s vendor-to-cache investigation.

BleepingComputer’s November 14 reporting brings together the new postmortem and earlier malware findings. Readers should still keep possible delivery, code execution and successful remote access separate.

What affected users should check

Cursor’s affected-version notice and remediation guidance identifies Anthropic.claude-code 2.1.312 and 2.1.313 served through its VS Code extension marketplace on Windows and macOS during the October 29 exposure window.

The notice gives that window as approximately 2:27 a.m. to 1:35 p.m. Pacific time. Version numbers alone are insufficient: distribution source, installation timing and package evidence matter.

Cursor advises checking installation, endpoint and network records, isolating systems showing execution or backdoor evidence, and removing unauthorized keys, persistence and tunnel processes. Uninstalling the extension alone may not remove artifacts outside its directory. It also recommends credential and session rotation from a trusted system for affected hosts.

For organizations, a security team should preserve evidence and assess recovery before treating a clean reinstall of the extension as proof that the workstation is trustworthy. This article does not replace the vendor’s platform-specific instructions.

Why a read-only dataset can create a write-access problem

AgentsCalling’s analysis is that the most useful distinction is between permission on the container and authority inside its contents.

A read-only bucket prevents its reader from editing the bucket. It does not neutralize a valid credential copied from a file inside it. That credential may authenticate to a different service with different permissions.

This is why a trace-retention decision belongs in the same discussion as identity management. Teams should ask what tool outputs are recorded, which secrets are removed before storage, who receives the records and whether credentials remain usable after a session ends.

Our reporting on the credential chain behind LiteLLM’s poisoned release examines a different route into software distribution. The incidents should not be conflated, but both make reusable authority a more useful unit of analysis than the label attached to an AI tool.

Likewise, Amazon’s findings on stolen model credentials concern a separate campaign. They show why a credential can be more than information: it can authorize further work.

A practical review for agent-platform operators

The following are proposed review priorities, not a claim that one control would have prevented this incident:

  • Follow the record. Identify what enters agent traces, support exports and training datasets, rather than reviewing only the live inference path.
  • Separate purposes. Review whether a training-data consumer can reach credentials associated with support, deployment or software distribution.
  • Test redaction before sharing. Use unmistakably synthetic secrets to check export and ingestion paths without exposing real credentials.
  • Verify revocation. Confirm that a retired test credential is rejected by the service that actually accepts it, not merely removed from a local configuration file.
  • Inspect the delivery boundary. Review who can alter cached packages as well as who can publish to the upstream registry.

A controlled exercise could place dummy credentials in an owned staging trace, export it through the normal pipeline and check which copies survive. A separate, harmless test identity could verify that dataset access cannot authorize changes to a staging package store.

Record what was detected, what was blocked and what required human intervention. An alert and an enforced authorization boundary are different outcomes. AgentsCalling has not performed this test.

The question this incident leaves agent builders is concrete: if someone can read your historical records, what else can they still do with what those records contain?

Reporting note: Sources reviewed November 15, 2026. This research-based article compares Cursor’s November 13 investigation and affected-version notice with Microsoft’s October 30 package analysis and BleepingComputer’s November 14 reporting. We did not inspect private telemetry, execute the malware or independently reproduce the attack chain. Prepared with AI-assisted research and drafting.

About Puneet Sharma

Puneet Sharma

Puneet Sharma · Freelance Writer

Puneet Sharma is a freelance writer covering AI agents, automation and the software changing how we work. His coverage at AgentsCalling starts with the questions a reader might ask over a conversation: What does this tool actually do? Where does it fall short? And is it useful beyond the demo? His articles explore new launches, practical workflows and the trade-offs behind giving software more responsibility, with explanations that make room for readers who are still getting familiar with AI.

More articles by Puneet Sharma