Skip to main content

Tampered Claude Code extension exposed up to 5,000 Cursor users

Anthropic denied that its systems were compromised, while security researchers said the malicious software appeared under its official marketplace account.

By Mei Ling Tan

Computer screen displaying code beside a cybersecurity lock symbol
Photo: TNW (Financial Times)

Cursor said a maliciously altered Claude Code extension reached up to 5,000 users through its marketplace on 29 October, attempting to install an SSH backdoor on their computers. The affected Windows and macOS versions, 2.1.312 and 2.1.313, were available for about 11 hours.

The software gathered machine and user information, including hostnames, usernames, Git email addresses and public IP addresses. According to Cursor, it also attempted to install an attacker-controlled SSH key, activate SSH access and create a reverse tunnel connecting to the attacker’s server.

Cursor said the tunnel attempt would generally fail because the extension lacked administrator privileges on most affected computers. However, the key installation, persistence scripts and data upload still succeeded, and removing the extension might leave those components behind.

Anthropic technical staff member Felix Rieseberg said neither company systems nor employee laptops had been compromised. He said Anthropic had not built or published the altered extension and that copies distributed through its own channels were unaffected.

Phorion co-founder and chief technology officer Luke Roberts told Ars Technica that version 2.1.313 appeared under Anthropic’s official Cursor account. Neither company has explained how the attacker obtained access. Phorion also found that the malware transmitted names, but not values, of up to 40 environment variables associated with credentials.

Cursor removed the affected versions, temporarily closed its marketplace, rotated keys and had the attacker’s server taken offline. It later reopened the marketplace, published detection and removal scripts, and directed users to version 2.1.314.

Keep reading: Tech News

All Tech News stories

Latest in Technology

All latest
  1. Gadgets

    Seiko introduces limited-edition sheep zodiac watch for 2027

  2. Tech News

    Laser experiment produces fleeting electrical alignment in crystal

  3. Tech News

    SpaceX makes first spaceship catch as Starship returns from orbit

  4. Gadgets

    Huawei starts MateBook Fold S preorders in China, with price still undisclosed

  5. Gadgets

    Pixel 11 Pro adds HiLight alerts for WhatsApp messages

  6. Gadgets

    Samsung News to shut down in South Korea and India