# Cursor: Cursor: stolen Fireworks key led to tampered Claude Code extensions in the marketplace

> **Safety notice:** Read-only workstation audit safe for macOS, Linux and Windows developer hosts.

- **Incident date:** Oct 29, 2026
- **Disclosed:** Nov 13, 2026
- **Source disclosure:** https://cursor.com/blog/security-incident-update

## 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.

```bash
# 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"
```

## Policies and detection rules

### `verify-cursor-claude-ext.sh`
Check developer machines for tampered Anthropic.claude-code 2.1.312/2.1.313 builds and unexpected SSH authorized_keys or LaunchAgent persistence.

```sh
# Check Cursor extension directory for compromised versions
ls -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, 2026
find "$HOME/Library/LaunchAgents" "$HOME/.ssh" -maxdepth 2 -type f -mtime -45 -ls 2>/dev/null || true
```

## Indicators of compromise
- **log:** `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).)
- **ip:** `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.)
- **log:** `ssh-ed25519 ... svc-telemetry in ~/.ssh/authorized_keys + com.apple.sysmond.plist / SysMon task` (Attacker SSH key, macOS LaunchAgent, and Windows scheduled task (with Startup sysmon.cmd fallback retrying every ~60s).)
