What happened

Short version: Cursor got poked in the digital ribs, and someone slipped a dodgy copy of the Claude Code extension into its VS Code marketplace. The attackers started by harvesting an access key from a third-party AI provider used by Cursor for model training. That key let them copy files from a shared, read-only storage bucket that contained historical coding-agent traces. Some of those traces included unredacted API credentials, which the attackers then used like skeleton keys to reach further internal systems.

With that access they were able to publish unauthorized, tampered versions of the Claude Code extension to Cursor’s extension cache. The malicious builds were live for about 11 hours before being removed. Those versions tried to run JavaScript that would collect system info and install attacker-controlled SSH keys — essentially attempting to drop persistent SSH backdoors on developers’ machines. Security researchers noted the malware had coding mistakes that probably stopped it from working on many Windows and macOS setups where SSH wasn’t already enabled.

Cursor estimates that during the exposure window up to about 5,000 developers who grabbed the affected extension versions may have received the malicious copies. Cursor also says core production releases, official apps, and data from users who had Privacy Mode turned on were not impacted.

What was stolen, what was done, and what to do

The attackers used the exposed credentials to pull data from various places. Examples of what was accessed include:

  • Archived, non-production code repositories (some containing business contact info)
  • Limited customer support records and email threads
  • Product usage metrics and customer contact details
  • Summaries of some AI coding-agent conversations
  • Credentials customers had previously shared with support

Cursor’s response involved detecting the activity, revoking the third-party key, rotating credentials, temporarily shutting off a few services while investigating, moving inference traffic away from the affected provider, rebuilding the extension marketplace cache, and redeploying production infrastructure as a precaution.

If you might be affected, here’s a practical checklist (no panic, just action):

  • Uninstall or revert the extension to a known-good version and only reinstall from official sources.
  • Check your machine for unexpected SSH keys (for example, unusual entries in ~/.ssh/authorized_keys) and remove any you don’t recognize.
  • Rotate API keys, tokens, and passwords that were stored in or shared with the affected tools.
  • Enable Privacy Mode or equivalent safeguards for AI features so future agent traces aren’t stored unredacted.
  • Audit logs and billing for unusual activity or charges and monitor your services closely for signs of misuse.
  • Run endpoint scans and update your OS and developer tools; disable SSH if you don’t need it.
  • Contact Cursor support if you think your account or systems were impacted and follow their remediation guidance.

Context: this incident is part of a wider trend that security firms have nicknamed a troublesome month for AI developer platforms — attackers are hunting credentials, hijacking inference, and racking up fraudulent costs or trying to extract model behavior. Other developer platforms and AI infrastructure providers have reported similar credential compromises and unauthorized usage, with consequences ranging from leaked transcripts to large unexpected bills.

Yes, it’s a messy week for AI devs. The bright side: the security community spots these things fast, vendors are rotating keys and rebuilding infrastructure, and with a bit of housekeeping on your side (keys, extensions, and logs) you can limit the fallout. Stay nosy about your credentials — they’re the keys to the kingdom, and apparently the whole neighborhood is trying to borrow them without asking.