Threat intel
Claude from ads: fake installers and the compromised extension
Fake Claude, ChatGPT and Cursor installers spread through ads and fake GitHub repos, and on 29 October a trojanized Claude Code extension hit Cursor. What to do.
On 29 October 2026, for roughly 11 hours, the Cursor editor’s marketplace served a version of the Claude Code extension that installed a backdoor. Throughout 2026, paid search ads, cloned documentation pages and fake GitHub repositories have offered “Claude”, “ChatGPT” or “Cursor” with malware bundled in. Below: what happened, from public sources only, the rules to give your staff and what IT should check today. Valid as of 4 November 2026.
The bait has changed
The classic lure used to be pirated software or a fake invoice. In 2026 it is the AI tool everyone wants to try. People search for “download Claude” or “Claude Code install”, click the first result and do exactly what the page says. Some of those people have admin rights, cloud keys and access to your source code.
The problem has two faces. The first is fake installers that people find on their own, through a search engine. The second is rarer and harder to catch: an extension with the right name, published through a compromised marketplace.
Face 1: fake installers, from ads and GitHub
- March. Bitdefender described Google ads for “Claude Code” that sat above the organic results and led to a clone of the official docs hosted on a Squarespace subdomain. The page asked visitors to paste a command into a terminal. In the researchers’ words, “The only element that doesn’t immediately match is the URL.”
- April. According to Security Affairs, citing Malwarebytes research, a site mimicking Claude offered a “pro version”. The installer launched the app normally while PlugX, a remote access trojan (RAT), ran in the background.
- May. Trend Micro documented the “InstallFix” scheme: sponsored results for “Claude Code install”, a
claude.msixbundlefile, then a chain of scripts, with indicators associated with the RedLine infostealer. The user “assumed the site was legitimate because it was promoted through Google Ads.” - July. Huntress described the “FakeAgent” campaign: a Bing ad pointed to a genuine claude.ai address, but the page was a public Artifact published by the attacker, dressed up as a download page. Its only warning: “Content is user-generated and unverified.” According to Help Net Security, summarising the Huntress report, the payload was SectopRAT, at least 29 organisations were compromised over two days, and Anthropic took the page down once it was reported.
- October. On 27 October Check Point Research published a campaign of fake GitHub repositories for made-up products (“GPT-5.6 Sol”, “GPT-6 Astra”, “Claude Opus”), pushed up Google’s results through SEO poisoning. The archives held a genuine, signed
Setup.exenext to a maliciouswinmm.dllthat ended up installing the XMRig miner. An earlier variant, from June, was loaded by a process namedCursor.exe. Check Point describes the abuse of legitimate, signed executables, not a compromise of OpenAI or Anthropic.
What lands on the machine: infostealers (passwords, sessions, cookies), RATs and miners. This is not only a problem for careless home users. In its report of 3 November, Binance says the first episode in the chain that led to its 29 October attack was, back in June, a tampered Homebrew installation downloaded by an engineer who was searching for a popular AI coding tool (the full chain, step by step).
Anthropic, too, warned in its September threat intelligence report about fake client apps “often spoofing as popular AI harnesses including Claude Code” that were in fact credential harvesters. Its advice: “AI access should be purchased only through authorized channels.”
Face 2: the Claude Code extension in Cursor, 29 October
Cursor is a code editor built on VS Code, with its own extension marketplace. According to Cursor’s notice, on 29 October, between about 2:27am and 1:35pm Pacific time (roughly 09:27 to 20:35 UTC), the marketplace served versions 2.1.312 and 2.1.313 of the anthropic.claude-code extension for Windows and macOS. “These malicious versions of the extension were not developed by Anthropic,” Cursor says. Early reports mentioned only 2.1.313; on 30 October Cursor updated its notice and clarified the affected versions.
What the added code did, based on analyses by Phorion, Microsoft and StepSecurity:
- added an SSH key with the comment
svc-telemetrytoauthorized_keys; - opened a reverse SSH tunnel to
134.209.82.225on port 22, and sent a beacon on port 8099; - made itself persistent: a
SysMonscheduled task or asysmon.cmdfile in Startup on Windows,com.apple.sysmond.pliston macOS; - sent the attacker the names of environment variables that looked like keys or passwords (the names, not the values).
What was not affected: the VS Code Marketplace, Open VSX and the @anthropic-ai/claude-code npm package. Some early reports wrongly pointed to Open VSX; Phorion corrected its analysis on 30 October to name the Cursor marketplace. Microsoft writes that Anthropic “confirmed to Microsoft that their systems were not compromised and they did not develop the malicious package.” The clean version is 2.1.314. Cursor took its marketplace down, audited it and brought it back, and says “the attacker server no longer functions.”
Two caveats. Cursor said publicly, as quoted by The Hacker News, that the incident impacted “at most 5,000 users”: that is a ceiling, not a victim count. And neither Cursor nor Anthropic has said how the attacker got the ability to publish the extension. As of 4 November, that is publicly unknown.
What it means for your company
If your people use AI tools, and they almost certainly do, someone will one day type “download” into a search engine. The risk does not stay on one laptop: a developer holds SSH keys, cloud tokens and repository access. An infostealer or a backdoor on that machine can be the way into the rest of the company.
The Cursor case also shows the limit of “check the publisher name”. According to press reports, the extension had the right ID and appeared under Anthropic’s publisher identity. When the marketplace itself is compromised, the right name proves nothing. Staff vigilance is not enough on its own; you also need process rules.
Rules for every employee
- A sponsored result is not a download link. Scroll past the ads and type the address yourself.
- Get the Claude desktop app only from claude.com/download. It is a normal installer. If a page tells you to paste something into Terminal or PowerShell to install it, stop.
- A claude.ai address does not prove a page is official. Public Artifacts and shared chats, created by anyone, also live on claude.ai. If you see “Content is user-generated and unverified”, you are not on a download page.
- There is no separate “pro”, “cracked” or “discount” app. Claude plans (Free, Pro and the others) belong to your account, not to a special installer. Don’t download such “versions” from GitHub or look-alike sites; subscriptions are bought only through official channels.
- Don’t paste terminal commands from a web page unless it is the official documentation page and you got there by typing the address yourself. And ask IT before installing any AI tool.
For IT: the checklist
Approved sources
Write the list down and put it where people will find it. For Claude Code, the official docs list:
curl -fsSL https://claude.ai/install.sh | bash(macOS, Linux) andirm https://claude.ai/install.ps1 | iex(Windows);brew install --cask claude-code,winget install Anthropic.ClaudeCode,npm install -g @anthropic-ai/claude-code;- signed apt, dnf and apk repositories on
downloads.claude.ai; - the editor extension, ID
anthropic.claude-code. Note: the ID alone is no proof when the marketplace is compromised.
A command that downloads from another domain, uses mshta or decodes Base64 straight into a shell is not from Anthropic.
Extensions
- Allow extensions only from approved publishers (allowlist) and, where the editor supports it, set a cooldown before new versions install. After the incident, Microsoft cites both from Cursor’s hardening guidance: a malicious version pulled within hours never reaches you.
- Keep an inventory: who runs Cursor or VS Code, which extensions, which versions.
Running Cursor? Check now
- Find machines with Cursor and
anthropic.claude-code2.1.312 or 2.1.313 (for example~/.cursor/extensions/anthropic.claude-code-2.1.31x-*). As StepSecurity notes, having the version installed does not by itself confirm compromise, but it is a reason to check. - Look for the key: on macOS,
grep svc-telemetry ~/.ssh/authorized_keys; on Windows,Select-String svc-telemetryagainst%USERPROFILE%\.ssh\authorized_keysandC:\ProgramData\ssh\administrators_authorized_keys. - Search firewall, proxy and EDR data for connections to
134.209.82.225(ports 22 and 8099), and for theSysMontask,sysmon.cmdandcom.apple.sysmond.plist. - Run the remediation scripts from Cursor’s notice (
remediate-macos.shas the affected user, not root;remediate-windows.ps1from an elevated PowerShell), after reading them first, as Microsoft advises. - Update to 2.1.314 or later. Uninstalling alone is not enough: the persistence lives outside the extension folder.
- From a trusted machine, rotate the passwords, keys and sessions reachable from the affected host, and decide whether to rebuild it. Cursor warns that “the limited env-var collection does not rule out later credential access over the backdoor.”
AI tools are not dangerous in themselves; the route they take onto your machines can be.
Sources
- Cursor security notice: https://cursor.com/blog/claude-code-extension-security-notice
- Microsoft Security Blog: https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/
- Phorion: https://phorion.io/blog/offical-claude-code-vsx-compromise
- StepSecurity: https://www.stepsecurity.io/blog/claude-code-extension-trojanized
- The Hacker News: https://thehackernews.com/2026/10/official-claude-code-vs-code-extension.html
- Bitdefender: https://www.bitdefender.com/en-us/blog/labs/fake-claude-code-google-ads-malware
- Trend Micro: https://www.trendmicro.com/en_us/research/26/e/installfix-and-claude-code.html
- Security Affairs (Malwarebytes research): https://securityaffairs.com/190754/malware/fake-claude-ai-installer-abuses-dll-sideloading-to-deploy-plugx.html
- Help Net Security (Huntress research): https://www.helpnetsecurity.com/2026/07/23/anthropic-claude-artifacts-download-malware/
- Check Point Research: https://research.checkpoint.com/2026/tricks-from-the-past-deployed-via-signed-chatgpt-and-claude-binaries/
- Anthropic, September 2026 threat intelligence report: https://www.anthropic.com/threat-intelligence-report-september-2026
- Anthropic, Claude Code setup: https://code.claude.com/docs/en/setup
- Binance, report of 3 November 2026: https://www.binance.com/en/blog/community/3229153443759566763
If you don’t know which AI tools and extensions are running on your company’s machines today, the free self-assessment is a good place to start.
Our service on this topic
If you would like us to do this together: Threat Identification.
We show you how an attacker sees you from outside, which attack scenarios are realistic for you, and what to fix first.
Newsletter
Get new articles by email.
Plain-language security for the people who run the company, only when we publish something new. No spam, unsubscribe anytime.
