Cursor: stolen Fireworks key led to tampered Claude Code extensions in the marketplace
An attacker obtained an access key Cursor had issued to Fireworks AI and copied a read-only storage bucket holding 2025 non-Privacy Mode coding-agent traces. Unredacted credentials in fewer than 0.01% of traces enabled a pivot into Cursor internal SaaS tools and its VS Code extension marketplace cache, serving tampered Anthropic.claude-code builds 2.1.312 and 2.1.313 from 09:27 to 20:35 UTC on Oct 29 (about 5,000 developers).
How they got in
Cursor shared historical coding-agent traces (mostly from 2025 non-Privacy Mode sessions permitted for model training) with Fireworks AI through a read-only cloud storage bucket. After the Fireworks AI breach exposed the access key Cursor had issued to Fireworks, the attacker copied the contents of that read-only bucket.
Although the bucket held no write permissions, a small fraction of historical traces (affecting fewer than 0.01% of users) contained unredacted credentials. Using harvested tokens, the attacker pivoted into select internal Cursor SaaS tools and compromised Cursor’s extension marketplace cache.
Attacker replays Cursor’s read-only Fireworks access key to download historical 2025 non-Privacy Mode coding traces.
AttackerFireworks AI2025 trace bucketCredentials found in fewer than 0.01% of traces grant access to internal Cursor SaaS tooling.
2025 trace bucketInternal SaaS toolsModified macOS and Windows copies of Anthropic.claude-code 2.1.312 and 2.1.313 are pushed to Cursor’s marketplace cache.
Internal SaaS toolsMarketplace cacheTrojan collects host/env telemetry and attempts SSH persistence; Cursor removes the builds and takes C2 offline after 11 hours.
Marketplace cache~5,000 developer hosts
Figure 1. How the attack unfolded, and what stayed isolated. Select any step or box for details.
What they took
Between roughly 09:27 UTC and 20:35 UTC on Oct 29, 2026 (11 hours), the compromised Cursor marketplace cache served maliciously modified builds of Anthropic’s Claude Code extension (Anthropic.claude-code versions 2.1.312 and 2.1.313 for macOS and Windows) to an estimated 5,000 developers who installed or auto-updated during the window.
The tampered extension collected hostname, username, OS, architecture, home directory, environment variable names, working directories, Git email and public IP, sending them to 134.209.82.225:8099/beacon. It appended an attacker SSH key labeled svc-telemetry to authorized_keys, attempted to enable local SSH services and open a reverse SSH tunnel to tunnel@134.209.82.225, and installed persistence with a macOS LaunchAgent (com.apple.sysmond.plist) or a Windows scheduled task (SysMon, attempting SYSTEM) with a Startup-folder fallback (sysmon.cmd) retrying roughly every 60 seconds.
Where Cursor sits in the Fireworks AI chain
See the whole chainProvider withheld by Fireworks AI
All billing accounts and 4 companies
About 5,000 developers in an 11-hour window
Provider withheld by Fireworks AI
All billing accounts and 4 companies
About 5,000 developers in an 11-hour window
What stayed safe
Cursor worked with the hosting provider to take 134.209.82.225 offline, neutralizing exfiltration and reverse tunnels. Turning on the local SSH service required administrator rights that the extension lacked under standard user execution (and the code contained bugs), so incoming SSH login failed on most hosts even though the svc-telemetry key, persistence scripts, and host-detail POST still landed.
Users running Privacy Mode were excluded from the 2025 training bucket, core production code repositories were unaffected, and Anthropic’s official VS Code Marketplace and npm distribution channels were never compromised.
How to defend against this
Short-lived bucket STS
Expiring training-share buckets after handoff and binding vendor reads to ephemeral STS roles prevents offline bucket scraping.
PII and secret scrubber
Deterministic token scrubbing before writing agent traces to training storage prevents internal SaaS credentials from ever landing in S3.
Publisher sig verify
Verifying cryptographic publisher VSIX signatures on the client rejects unsigned tampered builds injected into an extension cache.
verify-cursor-claude-ext.shCheck developer machines for tampered Anthropic.claude-code 2.1.312/2.1.313 builds and unexpected SSH authorized_keys or LaunchAgent persistence.
# Check Cursor extension directory for compromised versionsls -1 "$HOME/.cursor/extensions" 2>/dev/null | grep -E "anthropic\.claude-code-2\.1\.(312|313)" && \ echo "COMPROMISED BUILD DETECTED: rotate all local env/Git/cloud creds" || \ echo "OK: no 2.1.312/2.1.313 extension found" # Audit LaunchAgents and ~/.ssh/authorized_keys modified on or after Oct 29, 2026find "$HOME/Library/LaunchAgents" "$HOME/.ssh" -maxdepth 2 -type f -mtime -45 -ls 2>/dev/null || trueAppendix
Evidence log: what’s confirmed and what’s withheld
| Claim | Status | Source |
|---|---|---|
| Attacker obtained a read-only storage access key Cursor issued to Fireworks AI and copied 2025 coding-agent traces | Confirmed | Cursor security RCA, Nov 13 |
| Unredacted credentials in a small fraction of traces (<0.01% of customers) enabled a pivot into internal Cursor SaaS tools and marketplace cache | Confirmed | Cursor security RCA, Nov 13 |
| Tampered Anthropic.claude-code versions 2.1.312 and 2.1.313 served for 11 hours on Oct 29 (09:27 to 20:35 UTC) to about 5,000 developers | Confirmed | Cursor advisory, Oct 29 and Nov 13 |
| Privacy Mode users were excluded, non-admin privileges blocked SSH persistence on most hosts and Anthropic’s official npm/VS Code channels were unaffected | Confirmed | Cursor advisory and Microsoft/Anthropic verification |
Indicators of compromise
Anthropic.claude-code 2.1.312 and 2.1.313 (macOS/Windows, Oct 29 09:27–20:35 UTC)Tampered extension versions served solely from Cursor’s marketplace cache (extension.js SHA-256 ecb58cb29078d9646ad1dcdbe51526f2d9cfea06be5fb2ab183e8ecc3ab6bf15).
134.209.82.225 (TCP 22 reverse SSH, TCP 8099 POST /beacon)Attacker C2 endpoint published in Cursor’s Oct 29 security notice and taken offline with the hosting provider.
ssh-ed25519 ... svc-telemetry in ~/.ssh/authorized_keys + com.apple.sysmond.plist / SysMon taskAttacker SSH key, macOS LaunchAgent, and Windows scheduled task (with Startup sysmon.cmd fallback retrying every ~60s).
Reproduction lab
Runs a read-only fleet check across developer endpoints to spot tampered 2.1.312/2.1.313 extensions and verifies secret-redaction regex filters before agent-trace export.
# scan a sample agent trace export for unredacted API keys before uploading to training storage
grep -rnE "(sk-ant-|sk-proj-|AKIA[0-9A-Z]{16}|ghp_[A-Za-z0-9]{36})" ./sample-traces/ || echo "Clean"