Skip to main content
Mallory

Shai-Hulud

Also known asShai-HuludShai-Hulud 2.0

Shai-Hulud is a self-propagating software supply chain threat actor/campaign focused primarily on the npm ecosystem and adjacent GitHub infrastructure. The content describes multiple iterations and related branding including Shai-Hulud, Shai-Hulud 2.0, Sha1-Hulud, Mini Shai-Hulud, and “Shai-Hulud: The Third Coming,” with some reporting also linking activity to TeamPCP or describing TeamPCP as an overlapping or related campaign. Shai-Hulud is not described in the content as a confirmed nation-state actor. Across the reporting, Shai-Hulud compromised npm maintainer accounts and publishing workflows, including npm Trusted Publishing/OIDC paths, to publish trojanized package versions. The malware commonly used preinstall or postinstall hooks to execute loaders that fetched or invoked Bun, Node.js, or Rust-based payloads. Observed behavior included harvesting GitHub Personal Access Tokens via gh auth token, stealing npm tokens, SSH keys, cloud credentials, API keys, Kubernetes and Vault secrets, and other developer and CI/CD secrets from local files, environment variables, metadata services, and in some cases GitHub Actions runner memory. Several reports note use of TruffleHog for secret reconnaissance. Propagation was worm-like: stolen GitHub and npm credentials were reused to compromise additional repositories and packages owned by victims, leading to large-scale spread. The content states the original September 2025 Shai-Hulud outbreak compromised more than 500 npm packages, with one source noting more than 180 packages in under 24 hours, while later reporting on Shai-Hulud 2.0 describes more than 700 npm packages and over 25,000 GitHub repositories affected. Exfiltration and command-and-control repeatedly leveraged trusted GitHub infrastructure, including attacker-created public or private repositories, GitHub APIs, commit-search dead-drop resolvers, and persistent self-hosted GitHub Actions runners registered to compromised repositories. One report states Shai-Hulud used self-hosted runners as a covert C2 channel through github.com. The content also describes later variants and related compromises affecting packages such as Bitwarden CLI, SAP-related npm packages, and intercom-client, with shared traits including Bun-based loaders, obfuscated JavaScript payloads, GitHub-based exfiltration, repository poisoning, commit identity spoofing, and ideological branding such as Dune-themed repository names and a “Butlerian Jihad” manifesto. Mini Shai-Hulud is described as branding used in a campaign that appeared on more than 1,197 victim accounts. Shai-Hulud 2.0 is described as using malicious preinstall scripts, setup_bun.js and bun_environment.js, and registering infected machines as self-hosted GitHub Actions runners named SHA1HULUD. Targets were developers, open-source maintainers, CI/CD environments, GitHub repositories, and downstream users of compromised npm packages. Reported impacts included theft of developer credentials, cloud access, CI/CD secrets, persistence in repositories and workflows, and downstream compromise of software consumers. The content further states that the November 2025 Shai-Hulud 2.0 outbreak was likely responsible for the compromise of Trust Wallet’s Chrome extension and theft of approximately $8.5 million in assets.

Share:
Are they targeting you?

Know when an actor pivots toward your sector

Mallory correlates actor tradecraft and target patterns against your stack, your sector, and your geography. See overlap before they land.

OPERATIONAL PROFILE

Targeting

Who, where, and (when attributed) which flag flies behind the operation. Pulled from open-source reporting and Mallory's analyst review.

Who they target

Sectors the actor has been observed targeting.

  • Software & Services
MITRE ATT&CK

Tradecraft

45 distinct techniques observed across reporting, grouped by tactic. Hover any cell for the evidence excerpt; click through for MITRE's full description.

11 of 15 tactics65 techniques×N= number of intelligence reports citing this technique
MITRE ATT&CK
TA0001
Initial Access
2 techniques
T1078×3
Valid Accounts
T1195×8
Supply Chain Compromise
T1195.001×4
Compromise Software Dependencies and Development Tools
TA0002
Execution
3 techniques
T1053
Scheduled Task/Job
T1059
Command and Scripting Interpreter
T1059.006×2
Python
T1059.007×5
JavaScript
T1574
Hijack Execution Flow
T1574.001
DLL
T1574.007
Path Interception by PATH Environment Variable
T1574.013
KernelCallbackTable
TA0003
Persistence
5 techniques
T1053
Scheduled Task/Job
T1078×3
Valid Accounts
T1543×2
Create or Modify System Process
T1546×6
Event Triggered Execution
T1556
Modify Authentication Process
TA0004
Privilege Escalation
6 techniques
T1053
Scheduled Task/Job
T1055
Process Injection
T1055.001
Dynamic-link Library Injection
T1078×3
Valid Accounts
T1543×2
Create or Modify System Process
T1546×6
Event Triggered Execution
T1548
Abuse Elevation Control Mechanism
T1548.005
Temporary Elevated Cloud Access
TA0005
Stealth
7 techniques
T1027×3
Obfuscated Files or Information
T1027.013
Encrypted/Encoded File
T1036×2
Masquerading
T1055
Process Injection
T1055.001
Dynamic-link Library Injection
T1070
Indicator Removal
T1070.004
File Deletion
T1078×3
Valid Accounts
T1497
Virtualization/Sandbox Evasion
T1497.001×2
System Checks
T1574
Hijack Execution Flow
T1574.001
DLL
T1574.007
Path Interception by PATH Environment Variable
T1574.013
KernelCallbackTable
TA0112
Defense Impairment
1 technique
T1556
Modify Authentication Process
TA0006
Credential Access
6 techniques
T1003×2
OS Credential Dumping
T1528×3
Steal Application Access Token
T1552×2
Unsecured Credentials
T1552.001×3
Credentials In Files
T1552.005
Cloud Instance Metadata API
T1555×6
Credentials from Password Stores
T1555.003
Credentials from Web Browsers
T1556
Modify Authentication Process
T1649×7
Steal or Forge Authentication Certificates
TA0007
Discovery
5 techniques
T1057×2
Process Discovery
T1082
System Information Discovery
T1497
Virtualization/Sandbox Evasion
T1497.001×2
System Checks
T1526×3
Cloud Service Discovery
T1614
System Location Discovery
T1614.001
System Language Discovery
TA0011
Command and Control
3 techniques
T1071
Application Layer Protocol
T1071.001
Web Protocols
T1105×4
Ingress Tool Transfer
T1568
Dynamic Resolution
T1568.003
DNS Calculation
TA0010
Exfiltration
2 techniques
T1041×2
Exfiltration Over C2 Channel
T1567×3
Exfiltration Over Web Service
T1567.001×3
Exfiltration to Code Repository
T1567.002
Exfiltration to Cloud Storage
TA0040
Impact
1 technique
T1485
Data Destruction
What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: sector and geo overlap with your footprint, the IOCs they’re burning right now, detection coverage, and what to do next.
Target overlap

Match sector + geo + tech-stack targeting against your real footprint.

Tradecraft mapping45

Every observed MITRE ATT&CK technique, grouped by tactic.

Malware arsenal

Families this actor is known to deploy, with IOCs and behavior.

Exploited CVEs

CVEs this actor has used in known campaigns.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Observables

Domains, IPs, and hashes tied to this actor, refreshed continuously.