Skip to main content
Mallory
← Back to News
search-ad-manipulationcredential-stealer-activityai-platform-securityphishing-campaign-intelligence

Malicious and unsafe use of Anthropic Claude Code leading to malware delivery and destructive infrastructure changes

Social Engineering & Fraud · 13 sources · Updated 5mo ago · First seen Mar 9, 2026

Malicious and unsafe use of Anthropic Claude Code leading to malware delivery and destructive infrastructure changes

Push Security reported an “InstallFix” malvertising campaign targeting developers searching for Anthropic’s Claude Code CLI. Attackers clone the legitimate installation page on lookalike domains and buy Google Search ads so the fake pages rank highly for queries like “install Claude Code” and “Claude Code CLI.” While links on the page route to Anthropic’s real site, the copy‑paste install one‑liners are replaced with malicious commands that fetch malware from attacker-controlled infrastructure; the Windows flow was observed delivering the Amatera Stealer, with macOS users likely targeted by similar info-stealing malware.

Separately, a reported operational incident highlighted the risk of delegating privileged infrastructure actions to AI agents without strong guardrails: a developer described using Claude Code to run Terraform changes during an AWS migration and, after a missing Terraform state file led to duplicate resources, subsequent cleanup actions resulted in the deletion of production components, including a database and recovery snapshots—wiping roughly 2.5 years of records. Together, the reports underscore two distinct but compounding risks around AI coding agents: supply-chain style social engineering via fake install instructions and high-impact misexecution when AI-driven automation is allowed to operate with destructive permissions in production environments.

Why it matters

Impact assessment

Developers and organizations that allow direct installation of AI/developer tooling from web search results are affected, especially Windows and macOS endpoints used for software development, cloud administration, and cryptocurrency access. Impact is high because the campaign delivers credential stealers and backdoors that can expose browser secrets, SSH keys, AWS and Kubernetes configs, wallet data, and enterprise access, while the separate Terraform incident shows AI agents with production privileges can cause destructive outages and data loss.

Exposure is broad rather than narrowly targeted because the lures are distributed through Google Search ads and cloned install pages, with observed victims across multiple countries and sectors including government, education, electronics, and food and beverage. There are confirmed incidents in the wild: multiple researchers documented active InstallFix/false Claude Code installer campaigns, and one reported production incident resulted in deletion of a database and recovery snapshots containing about 2.5 years of records.

Supporting facts

  • Target population: developers searching for Claude Code installation instructions.
  • Affected platforms: Windows and macOS.
  • High-value data at risk: browser cookies, saved passwords, payment methods, SSH keys, AWS configuration files, Kubernetes configuration files, Telegram sessions, Safari history, Apple Notes, wallet extensions, desktop wallet apps, and source/admin access reachable from developer workstations.
  • Malware families/payloads observed: Amatera Stealer, MacSync Stealer, and an undocumented Windows browser-secret stealer using Chromium elevation services.
  • Observed sectors and geographies: United States, Malaysia, the Netherlands, and Thailand; government, education, electronics, and food and beverage.
  • Operational impact example: Terraform-driven deletion of production components in AWS, including a database and snapshots, with roughly 2.5 years of records lost until recovery support restored data.
  • Scope indicators: 46 unique Anthropic-themed malicious webpages observed in one month by one source; InstallFix accounted for 13% of malware incidents observed by another source in March 2026.
Is your org in this campaign?Get the infrastructure and lures behind it.
Hunt this campaign
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

13 events · Mar 7, 2026 – Jul 1, 2026
  1. Jul 1, 20265mo ago

    Beelzebub Labs links fake Claude Code ad to MacSync Stealer and Ledger tampering

    Researchers at Beelzebub Labs reported a malicious sponsored Google ad impersonating Claude Code that led macOS users to a fake Google Sites installer page delivering MacSync Stealer. The malware stole macOS, browser, wallet, and developer credentials, and if Ledger Live or Ledger Wallet was installed, it trojanized the app to phish seed phrases on future launches.

    A Weaponized Google Ad Install Malicious Claude Code to Hijack Entire macOS
  2. May 11, 20267mo ago

    Ontinue details browser-secret theft in fake Claude Code installer campaign

    Ontinue reported an ongoing campaign using sponsored search results and lookalike Claude Code install pages to swap a legitimate one-line installer for an attacker-controlled PowerShell command. The payload abuses Chromium's IElevator2 COM interface to recover encryption keys and decrypt browser-stored cookies, passwords, and payment data, while using Cloudflare-fronted domains and rendered HTML to conceal malicious behavior.

    Cookie thieves caught stealing dev secrets
  3. May 7, 20267mo ago

    Trend Micro links fake Claude installer campaign to RedLine Stealer activity

    Trend Micro reported that the InstallFix-style fake Claude AI installer campaign used paid Google ads and OS-specific social engineering to infect Windows and macOS users, and said the infrastructure and behaviors closely aligned with RedLine Stealer activity. The company also noted observed victims in the United States, Malaysia, the Netherlands, and Thailand across government, education, electronics, and food and beverage sectors.

    Hackers Using Fake Claude AI Installer Pages to Trick Users Into Running Malware on Their Systems
  4. May 6, 20267mo ago

    Gurucul publishes IOCs and detection guidance for InstallFix Claude Code campaign

    Gurucul released additional technical analysis of the fake Claude Code InstallFix campaign, describing PowerShell- and mshta-based fileless execution, AMSI bypass, disabled SSL certificate validation, victim-specific command-and-control URLs, and persistence via scheduled tasks. The report also published indicators of compromise and detection queries covering malicious domains, URLs, IPs, hashes, and filenames tied to the activity.

    InstallFix and Claude Code: How Fake Install Pages Lead to Real Compromise | Community Portal | Gurucul
  5. May 1, 20267mo ago

    NordVPN uncovers malware campaign impersonating Google Gemini CLI

    NordVPN reported active campaigns using fake websites, cloned repositories, deceptive social posts, and planned typosquatted npm packages to impersonate Google Gemini CLI and trick developers into installing malware. The macOS variant used a Base64-encoded terminal command to download and run a malicious script with elevated privileges, while the Windows variant used a disguised PowerShell fileless attack to provide remote access and enable theft or lateral movement.

    Developers warned to avoid 'early-access' Google Gemini tools | IT Pro
  6. Apr 15, 20268mo ago

    Expel reveals InstallFix scale and MSIX-based Claude Code variant

    Expel reported that InstallFix-style fake software install pages had become widespread, accounting for 13% of malware incidents it observed in March 2026, and identified 46 malicious Anthropic-themed webpages over the prior month. The firm also described a GitLab.io-hosted fake Claude Code page that used mshta to fetch a file named claude.msixbundle containing hidden malicious HTML as an anti-analysis technique.

    InstallFix: Not the application you were looking for | Expel
  7. Mar 10, 20269mo ago

    Google deactivates advertiser account tied to fake Claude Code campaign

    Bitdefender said the malicious ad campaign likely used a compromised advertiser account associated with a Malaysian company. Google reportedly deactivated that advertiser account after the abuse was identified.

  8. Mar 10, 20269mo ago

    Bitdefender documents Windows and macOS malware from fake Claude Code ads

    Bitdefender reported that a fake Claude Code documentation site hosted on a Squarespace subdomain delivered OS-specific malware via ClickFix-style instructions. On Windows it deployed multi-stage stealer payloads, while on macOS it delivered an obfuscated universal Mach-O backdoor capable of remote shell execution.

  9. Mar 10, 20269mo ago

    Push Security links Windows infection chain to Amatera Stealer

    Analysis of the fake Claude Code campaign showed Windows victims were led through a staged execution chain involving cmd.exe and mshta.exe to retrieve attacker-hosted payloads. The resulting malware was identified as Amatera Stealer, an infostealer targeting credentials, cookies, tokens, and system data.

  10. Mar 9, 20269mo ago

    Researchers identify fake Claude Code install pages in Google ads

    Security researchers reported a malvertising campaign using lookalike Claude Code installation pages and sponsored Google Search results to trick users into copying malicious install commands. The tactic was described as an "InstallFix" attack that weaponizes trusted one-line terminal commands.

  11. Mar 8, 20269mo ago

    Amazon Business Support helps restore deleted AWS data

    After the destructive Terraform action, Grigorev contacted Amazon Business Support, which assisted with restoring the lost data. The recovery reportedly took about a day.

  12. Mar 7, 20269mo ago

    Grigorev publishes post-mortem and hardening changes

    In a post-mortem, Grigorev said he would test restores, add deletion protections and tighter permissions, move Terraform state to S3, and require manual review and execution for destructive actions instead of letting the AI agent run them directly.

  13. Mar 7, 20269mo ago

    Developer's Claude Code/Terraform run destroys two AWS website environments

    During a migration of AI Shipping Labs to AWS infrastructure shared with DataTalks.Club, Alexey Grigorev provided Terraform state late, causing Claude Code to follow that state and execute a Terraform destroy. The action wiped both sites' infrastructure, including a database and snapshots containing about 2.5 years of records.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Affected products

1 linked
Claude Code

Organizations

2 linked
AnthropicGoogle

Observables

72 linked

Indicator values are masked on this page. View all 72 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Get the infrastructure, lures, and IOCs behind this campaign, ready to push into your email and identity stack.
Hunt This Campaign
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.