# Cursor: leaked Fireworks key led to malicious marketplace extension

Leaked Fireworks access key let an attacker read Cursor's shared trace bucket, harvest credentials, and plant a malicious Claude Code extension build served to ~5,000 users.

- Payout: Real-world hack
- Severity: high
- Program: Cursor
- Analysis by: Cursor
- Disclosed: 2026-11-13
- Write-up quality: 6/10
- Original: https://cursor.com/ja/blog/security-incident-update
- Library page: https://bugbountylibrary.com/r/blog%3Acursor-com-ja-blog-security-incident-update
- Tags: area:web3 domain:cloud domain:web3 impact:data-leak impact:integrity kind:incident platform:threat-intel sev:high tech:ci-cd technique:chained vuln:secrets-leak

**Target:** VS Code extension marketplace cache and SaaS tooling
**Root cause:** A Cursor-issued access key to Fireworks leaked from Fireworks and granted read access to Cursor's shared read-only storage bucket containing unredacted credentials in coding-agent traces; those credentials then unlocked internal SaaS tools and the extension marketplace cache.
**Steps:**
1. Obtain the leaked access key Cursor had issued to Fireworks.
2. Use the key to copy data from Cursor's read-only storage bucket used for data sharing with Fireworks, including traces with unredacted credentials.
3. Reuse harvested credentials to access Cursor's SaaS tools and internal data (archived non-prod repos, support data, email, usage metrics, agent conversation summaries, user-submitted credentials).
4. On Oct 29, use credentials leaked from internal systems to place a malicious unauthorized copy of Anthropic's Claude Code extension directly into the cache used to serve the Cursor VS Code extension marketplace.
5. Users requesting the specific cached version (Anthropic.claude-code 2.1.312 or 2.1.313) received the malicious build for ~11 hours until removal.
**How found:** Cursor's monitoring systems detected anomalous activity, prompting key revocation, credential rotation, and forensic review; external forensic experts were engaged.
**Exploitation:** Attacker chained a leaked third-party access key into bucket exfiltration, harvested embedded credentials, pivoted through SaaS tooling, and finally wrote a trojanized extension build into the marketplace delivery cache, distributing it to up to 5,000 users before takedown and server seizure via the hosting provider.
**Escalation:** Credential reuse across SaaS tools escalated read-only bucket access into source code, support data, and marketplace cache write access, enabling supply-chain-style malware distribution.
**Insight:** Third-party data-sharing buckets holding model traces are a credential goldmine: unredacted API keys in prompts/logs turn a read-only leak into SaaS pivot and marketplace write access, so audit shared buckets for secrets and scope vendor keys minimally.

