UpTrajectory Review

Beware of Fake Claude Code Installers Targeting Developers

developer desk with fishing hook dangling over keyboard
Photo: Jakub Zerdzicki / Pexels

UpTrajectory Review

Developers hunting for Anthropic's Claude Code command-line tool now face a poisoned search. Ontinue researchers found fake installer pages that mimic the official distribution channel but swap the legitimate one-line setup — irm https://claude.ai/install.ps1 | iex — for an attacker-controlled command that pulls a staged PowerShell payload. The malware then digs for browser encryption keys, scrapes sensitive data, and tries to stay resident on the machine. This is the classic supply-chain shortcut: skip the hard work of breaching a vendor and instead trick the user into installing the breach themselves.

If you run a small dev shop, this threat lands on your desk, not your security team's. Developers install tools constantly, often with admin rights, and that habit is precisely what the attackers count on. One compromised dev box can expose source code, cloud credentials, CI/CD secrets, and customer data. The blast radius extends beyond the individual: a single stolen key can hand attackers the keys to your production environment. Treat every curl-pipe-to-shell command as a potential loaded gun.

The geographic exclusion list is the tell that reveals the campaign's likely origin and intent. The malware checks Windows region settings and aborts if it detects CIS member states or Iran — a standard evasion tactic to avoid attracting attention from domestic law enforcement or regional security services. This pattern points toward a state-aligned or state-tolerated actor, though attribution remains speculative. The use of a previously undocumented PowerShell loader that defeats standard API-chain detection rules is the more immediate concern for defenders.

The detection challenge is real. Ontinue found that wrapping the attack chain inside a PowerShell loader defeated two standard rule sets entirely. This means your endpoint protection may not catch it, and your developers' own instincts — 'I installed a tool, nothing happened' — work against you. The campaign also abuses the trust developers place in quick-start documentation. Anthropic's legitimate install command is widely copied into README files and Stack Overflow answers, making the fake pages plausible enough to fool someone in a hurry.

Defend by controlling the install path. Require developers to fetch Claude Code only from Anthropic's official site or verified package repositories, never from search results or third-party download portals. Implement application allowlisting on dev machines to block unsigned PowerShell scripts. Monitor for outbound connections to unfamiliar domains, especially those mimicking CDN or cloud infrastructure naming conventions. If a developer suspects they ran a fake installer, isolate the machine, rotate all credentials stored in browsers or password managers, and audit cloud access logs for unusual activity.

Watch for Anthropic or GitHub to flag and take down the malicious domains, and for endpoint vendors to publish detection rules for this specific loader. The broader trend — attackers poisoning AI-tool install chains — will accelerate as these tools go mainstream. Your security awareness training should now include a module on verifying install commands for AI utilities, and your procurement policy should treat developer tools with the same scrutiny as any other software dependency.

Takeaway: Block curl-pipe-to-shell installs from unverified sources; require developers to fetch Claude Code only from Anthropic's official domain or signed packages.

Excerpt from the original — CSO Online

Developers looking for Anthropic’s increasingly popular Claude Code tool are now being lured into downloading malware.

According to researchers at Ontinue, attackers are abusing a fake Claude Code installer to deliver a previously undocumented PowerShell payload. The malware is designed to evade detection, recover browser encryption material, and steal sensitive data from developer systems.

“Developers hold the keys to an organization’s most sensitive assets – intellectual property, cloud infrastructure, CI/CD pipelines,” said Vineeta Sangaraju, AI Research Engineer at Black Duck. “They also, by necessity, need the freedom to download and install software. That combination makes them a high-value target.”

Ontinue researchers said that everything possibly detectable on the attack chain is wrapped within the PowerShell loader, complicating detection. “Two standard API-chain rule …