Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
package-repository-poisoningbuild-pipeline-compromisecredential-stealer-activitydependency-confusion-typosquat

SANDWORM_MODE Shai-Hulud-Style npm Worm Targeting Developer and CI/CD Secrets

Updated 1mo agoFirst seen Feb 21, 202626 sources

A Shai-Hulud-like supply chain worm tracked as SANDWORM_MODE is actively targeting the npm ecosystem using typosquatted packages and poisoned GitHub Actions to compromise developer workstations and CI/CD pipelines. Reporting attributes the campaign to at least 19 malicious npm packages published under two npm publisher aliases, designed to appear legitimate and retain expected functionality while executing a multi-stage JavaScript payload when installed/imported. The malware focuses on stealing npm and GitHub tokens, environment variables, .npmrc credentials, crypto keys, and other developer/CI secrets, with CI environments seeing immediate execution (bypassing delays) to maximize theft and propagation during routine dependency installation.

Technical analysis indicates SANDWORM_MODE extends prior Shai-Hulud tradecraft with additional propagation and exfiltration mechanisms, including GitHub API-driven repo/workflow injection using GITHUB_TOKEN, HTTPS exfiltration with DNS fallback, and persistence via hooks; it also includes fallbacks such as SSH-based propagation. The campaign is also described as incorporating AI toolchain poisoning, including MCP server injection with embedded prompt-injection content aimed at AI coding assistants and LLM API key harvesting. A configurable “dead switch” destructive routine is reported to be present but disabled by default, with logic that can trigger home directory wiping if the malware loses access to both GitHub (for exfiltration) and npm (for propagation), suggesting iterative development with feature flags and guardrails still visible in some builds.

Share:
SANDWORM_MODE Shai-Hulud-Style npm Worm Targeting Developer and CI/CD Secrets
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

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

17 EVENTS
May 19, 20261mo ago

Wiz reports TeamPCP campaign hitting @antv, GitHub Actions, and VSCode

On 2026-05-19, Wiz Research reported a new Shai-Hulud-style supply-chain wave affecting @antv npm packages, the GitHub Actions actions-cool/maintain-one-comment and actions-cool/issues-helper, and the VSCode extension nrwl.angular-console 18.95.0. Wiz attributed the activity with moderate confidence to TeamPCP and said the malware stole developer and cloud credentials, exfiltrated data through attacker-created public GitHub repositories, and installed a Python backdoor that polled GitHub for signed commands.

The Worm That Keeps on Digging: TeamPCP Hits @antv in Latest Wave | Wiz Blog
May 18, 20261mo ago

Researchers find copycat npm packages using leaked Shai-Hulud code

OX Security identified four malicious npm packages published by the user deadcode09284814 that delivered multiple payloads, including infostealers and the Phantom Bot DDoS malware. One package, chalk-tempalte, reportedly cloned the recently leaked Shai-Hulud worm code, stole credentials and secrets, and used stolen GitHub tokens to create public repositories labeled "A Mini Sha1-Hulud has Appeared."

Four Malicious npm Packages Deliver Infostealers and Phantom Bot DDoS Malware
May 12, 20261mo ago

TeamPCP publicly releases Shai-Hulud source code on GitHub

On 2026-05-12, SlowMist reported that the TeamPCP threat group publicly released the full Shai-Hulud malware source code on GitHub. Researchers said the release enabled rapid forking and copycat activity, broadening attacker access to the npm supply-chain worm’s capabilities.

Shai-Hulud Worm Steals npm, GitHub, AWS, and Kubernetes Secrets From Developers
May 11, 20261mo ago

Attackers compromise 20 @tanstack npm packages with Shai-Hulud worm

On 2026-05-11, attackers published malicious versions of 20 @tanstack/* npm packages, including react-router, react-start, vue-router, solid-router, router-core, and history, embedding an obfuscated stealer/worm payload. The malware stole credentials from developer, CI/CD, cloud, Kubernetes, npm, GitHub, and AI-tooling environments, exfiltrated data to attacker infrastructure, and propagated via stolen npm tokens, GitHub Actions OIDC tokens, and malicious workflow injection; npm later deprecated the affected versions as compromised.

Shai-Hulud TanStack Supply Chain Worm Analysis - Upwind

Typosquatted crypto-javascri package launches Tor-backed npm worm

On 2026-05-11, attackers published the typosquatted npm package crypto-javascri to impersonate crypto-js and deploy a worm that stole npm and GitHub credentials, validated them, and republished trojanized versions of victims’ own packages from compromised maintainer accounts. CloudSEK said the malware used npm preinstall, Claude Code SessionStart hooks, and a VS Code folderOpen task for execution, then installed a Tor-backed Rust implant with persistence and cryptomining on Linux developer and CI/CD systems.

Inside a Tor Backed Supply Chain Worm | CloudSEK
Apr 30, 20262mo ago

Researchers identify malicious intercom-client npm release

On 2026-04-30, researchers identified intercom-client@7.0.4, the official Node.js SDK for the Intercom API, as a malicious npm package after confirming version 7.0.3 was clean. The trojanized release used a preinstall dropper and Bun-based payload to steal secrets from developer, CI/CD, cloud, Kubernetes, GitHub, npm, and AI tooling environments, propagate through npm and GitHub workflows, and was later yanked from npm.

Mini Shai-Hulud npm Worm: Dissecting a Multi-Vector Supply Chain Attack - Upwind
Apr 27, 20262mo ago

Gurucul publishes Shai-Hulud IOCs and threat-hunting guidance

Gurucul released a threat research article on the Shai-Hulud npm worm that included indicators of compromise such as domains, IP addresses, file hashes, and an email address, along with detection queries for threat hunting and incident response. The publication framed Shai-Hulud as a major escalation in npm supply-chain attacks while adding actionable technical detection details.

The npm Threat Landscape: Attack Surface and Mitigations | Community Portal | Gurucul
Apr 22, 20262mo ago

Researchers disclose new self-propagating npm worm with PyPI crossover

On 2026-04-22, Socket and StepSecurity disclosed a new npm supply-chain worm affecting packages tied to Namastex Labs that steals developer, cloud, CI/CD, AI-platform, and other secrets, then republishes trojanized packages from compromised accounts using stolen npm publish tokens. Researchers also found the malware can spread into Python packages via PyPI credentials and a .pth-based payload, making it a multi-ecosystem threat.

New npm supply-chain attack self-spreads to steal auth tokens
Feb 24, 20264mo ago

Vendors disrupt campaign infrastructure and remove malicious assets

After Socket's notification, Cloudflare, GitHub, and npm took coordinated action to dismantle the campaign infrastructure, including removing malicious workers, repositories, accounts, GitHub Actions assets, and npm packages. References describe this as a coordinated disruption following researcher notification.

Feb 20, 20264mo ago

Socket identifies and discloses the SANDWORM_MODE worm campaign

Socket's Threat Research Team reported an active Shai-Hulud-like npm supply-chain worm campaign, naming it SANDWORM_MODE and detailing its credential theft, CI poisoning, repository propagation, git-hook persistence, and AI assistant MCP injection capabilities. The disclosure also highlighted a disabled destructive "dead switch" and staged execution designed to evade analysis.

Feb 17, 20264mo ago

Attackers publish malicious npm packages and GitHub Action

The SANDWORM_MODE campaign deployed at least 19 malicious npm packages under the aliases "official334" and "javaorg," along with a public GitHub Action repository masquerading as a code-quality scanner. These components were used to steal developer and CI secrets, infect repositories, and propagate through npm and GitHub workflows.

Threat actor creates the ci-quality GitHub organization

A threat-actor-controlled GitHub organization named "ci-quality" was created and later used to host a malicious GitHub Action tied to the campaign. This is the earliest concrete campaign setup date mentioned in the references.

Dec 1, 20257mo ago

Wiz reports Shai-Hulud 2.0 resurgence despite containment efforts

Wiz Research and Wiz CIRT said the Shai-Hulud 2.0 supply-chain worm remained active for more than six days after its November disclosure and experienced a renewed spike on 2025-12-01 despite earlier containment actions by PostHog, Postman, AsyncAPI, and the npm security team. The report also assessed broad impact, including more than 30,000 leaked repositories and hundreds of still-valid exposed secrets, primarily affecting Linux-based CI/CD and containerized environments.

Shai-Hulud 2.0 Aftermath: Trends, Victimology and Impact | Wiz Blog
Nov 26, 20257mo ago

Shai-Hulud v2 spreads from npm into Maven Central

Researchers reported that the second-wave Shai-Hulud campaign had crossed from npm into the Maven ecosystem through a compromised Maven Central package, org.mvnpm:posthog-node:4.18.1, reusing the same malicious components seen in the npm attack. Maven Central said the affected mirrored package copies were purged and that additional protections were being implemented to prevent compromised npm packages from being rebundled into Maven artifacts.

Shai-Hulud v2 Spreads From npm to Maven, as Campaign Exposes Thousands of Secrets
Nov 25, 20257mo ago

Unit 42 details Shai-Hulud 2.0 escalation and destructive behavior

Unit 42 reported that the November 2025 Shai-Hulud 2.0 npm supply-chain campaign had escalated by moving from post-install to pre-install execution, broadening impact across developer and CI/CD environments and affecting tens of thousands of GitHub repositories. The report also revealed new destructive and persistence features, including secure file deletion if exfiltration fails, Bun-themed payloads, and a GitHub Actions workflow that registers infected machines as self-hosted runners.

"Shai-Hulud" Worm Compromises npm Ecosystem in Supply Chain Attack (Updated November 26)
Nov 24, 20257mo ago

Researchers identify second-wave Shai-Hulud npm supply-chain attack

Researchers reported a renewed Shai-Hulud-linked npm supply-chain attack on 2025-11-24 after attackers uploaded trojanized versions of popular npm packages between November 21 and 23. The malware stole developer and cloud secrets, exfiltrated them to attacker-controlled GitHub repositories, and used stolen npm maintainer tokens to propagate malicious package versions under compromised accounts.

Shai-Hulud Malware Targets Numerous NPM Packages in Second-Wave NPM Supply-Chain Attack - Arctic Wolf
Sep 15, 20259mo ago

Researchers discover initial Shai-Hulud npm worm campaign

On 2025-09-15, researchers discovered a novel self-propagating supply-chain attack affecting roughly 200 npm packages, including @ctrl/tinycolor and packages tied to CrowdStrike. The Shai-Hulud malware used malicious postinstall scripts to steal GitHub, npm, AWS, and GCP credentials, exfiltrate them to GitHub, and spread by modifying additional packages and abusing GitHub repositories and actions.

Shai-Hulud: The novel self-replicating worm infecting hundreds of NPM packages | Sysdig
LINKED ENTITIES

Related entities

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

148 LINKEDOpen in app
Affected products
48 linked
NpmVisual Studio CodeGithubClaude CodeCursorOllamaAmazon Web ServicesCursorJenkinsKubernetesPosthogFalcoLedger LiveGithubVaultGoogle SearchGithub CliClaudeDash CoreTravis CiVerdaccioSignalCloudflareAxiosBambooNotepad++Azure DevopsScreenconnectBitwardenVercelDiscordTeamcityPnpmProtonvpnJenkinsLinkedin1passwordDockerPostmanVllmMetamaskNxArtiNpm CliNordvpnBunTelegram DesktopAws-Secrets-Manager
Organizations
77 linked
GitHubSocketWizAmazon Web ServicesStepSecurityGoogleMicrosoft CorporationAnthropicnpm, Inc.CloudflareOpenaiCheckmarxAikido SecurityOx SecurityReplicateCohereFireworks AICodeiumPostmanGroqAsyncapiLinkedinPalo Alto NetworksMistral AIDatadogHashicorpPosthogZapierGitGuardianXBitwardenSysdigIntercomTogether AIArctic WolfTanstackUltralyticsTruffle SecurityThe Tor ProjectJfrogKoi SecurityAxiosChainguardSAPMaven CentralLastPassVeracodeDark Reading1passwordCrowdStrikePhantom TechnologiesAppleConnectwiseCloudSEKApiiroPraetorianCycodeCyber Security NewsTyson FoodsProtonUpwindMetamaskSafebreachSlowMistTrigger.devAtomic WalletMondooOpenSourceMalwarewebhook.siteNxExodus MovementJoplinGuruculExeter FinanceNamastex LabsOvenSession Messenger
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.