Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
package-repository-poisoningcredential-stealer-activitybuild-pipeline-compromiseextension-plugin-hijack

Mini Shai-Hulud Compromised Hundreds of npm Packages via Stolen Maintainer Tokens

Updated 12d agoFirst seen May 20, 202612 sources

Attackers linked by multiple researchers to TeamPCP hijacked the npm maintainer account atool and used it to publish roughly 639 malicious versions across 323 packages, heavily impacting Alibaba’s @antv/* ecosystem as well as packages such as echarts-for-react, timeago.js, and size-sensor. Reports said the malware executed through malicious preinstall hooks and an obfuscated Bun-based payload, stealing secrets from developer workstations and CI/CD systems including GitHub, npm, AWS, Kubernetes, Vault, SSH, Docker, and database credentials. The campaign also abused GitHub tokens to create attacker-controlled repositories for exfiltration, scraped GitHub Actions runner memory for plaintext secrets, and in some cases targeted trusted tooling including a briefly compromised Nx Console VS Code extension.

Researchers said the operation was worm-like and self-propagating, using stolen npm tokens to tamper with and republish additional packages under legitimate maintainer identities, with the broader Mini Shai-Hulud activity now tracked across npm, PyPI, and Composer. The malware reportedly established persistence in developer environments through modified VS Code and Claude Code settings and OS-level services, while some reports warned it also attempted to forge valid Sigstore/SLSA provenance using stolen CI identities. In response, npm invalidated all write-enabled granular access tokens that bypassed two-factor authentication and introduced Staged Publishing in preview, but researchers warned that any machine or pipeline that installed affected versions should be treated as fully compromised and all reachable credentials rotated immediately.

Share:
Mini Shai-Hulud Compromised Hundreds of npm Packages via Stolen Maintainer Tokens
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

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

8 EVENTS
May 20, 20261mo ago

Compromised Nx Console VS Code extension is live for 11 minutes

Researchers reported that a malicious Nx Console VS Code extension was available briefly and sought GitHub, AWS, Kubernetes, Vault, and Claude Code credentials while attempting persistence and provenance forgery. SC Media states the extension was live for 11 minutes during the campaign.

New Mini Shai-Hulud attack targets npm ecosystem | news | SC Media

TeamPCP's Mini Shai-Hulud campaign begins in March

Researchers described the AntV/npm activity as the third wave of an ongoing credential-chain operation that began in March and linked it to TeamPCP. This establishes the broader Mini Shai-Hulud campaign predating the May npm wave.

New Mini Shai-Hulud attack targets npm ecosystem | news | SC Media

npm launches Staged Publishing public preview

npm introduced Staged Publishing in public preview, adding an MFA-approved staging step before CI-published packages become publicly installable. Reporting explicitly dates this mitigation rollout to May 20.

npm Invalidates Granular Access Tokens as Mini Shai-Hulud Sw...
May 19, 20261mo ago

npm invalidates write-enabled granular tokens that bypass 2FA

In response to the supply-chain attacks, npm invalidated all granular access tokens with write access that bypassed two-factor authentication. The action was explicitly reported as taking place on May 19.

npm Invalidates Granular Access Tokens as Mini Shai-Hulud Sw...

Worm-like propagation compromises secondary packages such as @starmind/collector-cli

After the initial atool takeover, the malware used stolen npm tokens to enumerate publishable packages, inject itself, and republish them under additional maintainer accounts. OpenSourceMalware reported @starmind/collector-cli was compromised this way, not directly through atool.

OpenSourceMalware.com - Community Threat Intelligence

Malicious npm packages are mass-published in the AntV ecosystem

Using the compromised maintainer account, attackers published roughly 637-639 malicious versions across 317-323 npm packages, heavily affecting Alibaba's @antv ecosystem along with packages such as echarts-for-react and timeago.js. Reports describe the burst as occurring within minutes and as part of a single overnight wave.

600+ npm Packages Compromised in New Mini Shai-Hulud Supply Chain Attack
May 18, 20261mo ago

Attacker compromises npm maintainer account 'atool'

The Mini Shai-Hulud npm wave was triggered by the compromise of the legitimate npm maintainer account 'atool'. Multiple reports identify this account takeover as the immediate precursor to the malicious package publishing spree.

TeamPCP / Mini Shai-Hulud npm Campaign: 600 Packages, Confirmed Active Payload, Memory Scraping, and 2,500+ Compromised GitHub Repositories - Phoenix Security
May 11, 20261mo ago

Mini Shai-Hulud hits 42 TanStack packages

Researchers said the broader campaign had already compromised 42 TanStack packages before the AntV wave. This earlier incident was explicitly anchored to May 11 in reporting on the later npm response.

Mini Shai-Hulud Attack Forces npm to Reset Bypass-2FA Publishing Tokens
LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

72 LINKEDOpen in app
Threat actors
1 linked
Affected products
21 linked
Visual Studio CodeStripeAmazon Web ServicesVaultGithub CliClaude CodeNpmGithubFulcioRekorPypiAzure DevopsVercelPnpmIntercomBunJenkinsTrivyClaudeComposerReact-Router
Organizations
36 linked
GitHubSocketMicrosoft CorporationTanstackBitwardennpm, Inc.Alibaba CloudAmazon Web ServicesSAPAikido SecurityMistral AIAnthropicUipathHashicorpSafeDepIntercomGoogleTrend MicroLinkedinDatadogSnykGitGuardianXStripeCheckmarxEndor LabsVorlonStepSecurityAqua SecurityPhoenix SecuritySuzu LabsTeamPCPCircle Internet GroupUiPath Inc.AntVStarmind
Breaches
11 linked
BITWARDEN-2026-04TANSTACK-2026-05GITHUB-2026-05ANTV-2026-05NPM-2026-05ECHARTS-FOR-REACT-2026-05NXCONSOLE-2026-05SIZE-SENSOR-2026-05TANSTACKREACT-ROUTER-2026-05CANVAS-NESTJS-2026-05TIMEAGOJS-2026-05
The operational view lives in Mallory

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, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.

Mini Shai-Hulud Compromised Hundreds of npm Packages via Stolen Maintainer Tokens | Mallory