Fake Web3 Accelerator Distributes Malicious npm Packages to Hijack AI‑Agent Traffic and Install Info‑Stealers
What Happened
In October 2026, security researchers at Elastic uncovered a coordinated campaign that masquerades as a “Web3 accelerator” promising free AI‑compute credits for Anthropic’s Claude and Google’s Gemini models. The front‑end website, branding itself as a developer‑friendly accelerator, offers a suite of npm packages that claim to simplify AI integration, provide coding‑assistant tools, and even perform “security audits” of smart‑contract code.
When developers install these packages—often via the standard npm install command—the malicious post‑install scripts execute a chain of actions that differ by operating system. On Windows, the scripts drop a PowerShell‑based information‑stealer that harvests browser cookies, saved credentials, and system metadata before exfiltrating the data to a command‑and‑control (C2) server hosted in Eastern Europe. On macOS, a signed‑but tampered launch agent is installed, granting persistent remote access and the ability to intercept API calls made by AI agents such as Claude or Gemini, effectively hijacking the traffic and inserting malicious payloads.
The campaign leverages the open‑source nature of npm. The attackers publish the malicious packages under names that closely resemble legitimate libraries (e.g., anthropic‑helper, gemini‑audit, web3‑accelerator‑tools). They also employ “typosquatting” and “dependency confusion” techniques, registering package names that are one character off from popular modules, thereby increasing the likelihood of accidental installation.
Elastic’s investigation indicates that the malicious code was first observed on 3 October 2026, with the first public disclosure on 12 October 2026. The researchers identified at least eight distinct packages, each containing a different payload but sharing a common C2 infrastructure. The C2 servers use fast‑flux DNS and encrypted TLS tunnels, making attribution difficult. No direct evidence of data breach at the accelerator’s front‑end site has been found; the primary impact is the compromise of developer workstations that installed the tainted packages.
The attackers appear to target developers, data‑science teams, and small‑to‑medium SaaS firms that rapidly adopt AI services. By hijacking AI‑agent traffic, they can inject malicious prompts, exfiltrate proprietary model outputs, or manipulate downstream business logic. The campaign also includes a “security audit” package that claims to scan smart‑contract code for vulnerabilities; instead, it silently installs a backdoor that can later be used to modify contract deployments.
Elastic contacted the npm registry administrators, who have since removed the offending packages and issued a warning to the community. However, the packages had already been downloaded over 12,000 times, according to npm’s download statistics. The researchers stress that the threat remains active because the attackers can republish under new names or exploit other supply‑chain vectors.
Why It Matters for Compliance & Audit Readiness
Supply‑chain compromises undermine the integrity of your software bill of materials; continuous verification of third‑party components is essential for maintaining a defensible audit trail and meeting control‑assurance requirements.
Who Is Affected
- Software development firms (any language)
- AI/ML platform users integrating Claude, Gemini, or similar models
- Companies relying on npm for dependency management
Recommended Actions
- Enforce strict allow‑list policies for npm packages; block installation of unsigned or unverified modules.
- Deploy Software Composition Analysis (SCA) tools that scan for known malicious signatures and monitor post‑install scripts.
- Rotate and revoke any credentials that may have been exposed; conduct forensic analysis on affected endpoints.
Technical Notes
- Attack vector: Malicious npm packages delivered via supply‑chain (typosquatting, dependency confusion).
- CVE(s): None directly cited; the attack exploits npm’s post‑install script execution model.
- Data types exposed: Browser cookies, saved passwords, system metadata, AI model prompts, and proprietary code snippets.