Malicious Claude Code extension in Cursor's marketplace attempted remote access and data theft

Impact 7 The Decoder

Summary

  • A malicious Claude Code extension was available in Cursor's VS Code marketplace for about eleven hours, affecting up to 5,000 users.
  • The tampered extension attempted to harvest user data including hostname, username, operating system, and public IP address.
  • It also tried to set up remote access for the attacker, though Cursor stated this likely failed on most machines due to requiring admin privileges.
  • Cursor removed the extension, temporarily took the marketplace offline, and confirmed no other extensions were affected.

Why it matters

Supply chain attacks targeting developer environments and AI coding tools pose immediate security risks to user data and infrastructure. This incident highlights the vulnerabilities present in third-party extension marketplaces.

Who should care