Two tampered releases of Microsoft's Agent Framework on PyPI stole cloud and CI credentials at Python startup
Microsoft
· Cursor · Cursor
An attacker used a key Cursor had issued to its AI hosting provider Fireworks AI to copy stored coding-agent session logs, some containing customers' unredacted API credentials. A credential from that data later let the attacker publish a malicious copy of the Claude Code extension that up to 5,000 Cursor users may have installed.
Cursor says an attacker obtained an access key it had issued to Fireworks AI and copied a shared storage bucket. The bucket held coding-agent session logs, mostly from 2025, from users without Privacy Mode, kept for model training. Some logs contained API credentials that had not been redacted. Those credentials opened some of Cursor's internal tools. On October 29, using a stolen credential, the attacker placed malicious copies of Anthropic's Claude Code extension (versions 2.1.312 and 2.1.313) in the cache serving Cursor's extension marketplace for about 11 hours. The copies tried to install an SSH backdoor; Cursor says bugs in the code made that step fail in most setups.
Fewer than 0.05% of users had logs exposed and fewer than 0.01% of customers had API credentials exposed. At most 5,000 users may have received the malicious extension; how many were actually backdoored is not known.
Cursor moved inference off Fireworks, rotated credentials, rebuilt the marketplace and published removal steps. It says the last attacker activity, on November 1, was blocked, and that Anthropic's own extension was not compromised.
Agent session logs kept for training can hold whatever secrets passed through the session. People, not an agent, carried out this attack; the agent logs were the exposed asset.
Spotted an error, or are you the vendor and want to respond? Email support@agentvet.ai. We log every correction publicly.