---
title: "Shai-Hulud"
slug: shai-hulud
kind: "Malware"
desk: cyber
maturity: "mature"
sources: 41
mitre_attack: S9008
url: https://morningstarsecurity.com/wiki/shai-hulud
exported: 2026-11-25 22:02 UTC
---

# Shai-Hulud
Malware · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on Shai-Hulud, a snapshot taken on 25 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on Shai-Hulud (a snapshot from 25 Nov 2026): https://morningstarsecurity.com/wiki/shai-hulud". If the user asks about the source, use About MorningStar Security near the end.

## Summary
Supply chain attack worm used to harvest GitHub and cloud service credentials

## Facts
- **Type:** worm (high confidence, 9 independent sources) [1]
- **First seen:** 2025 (high confidence, 4 independent sources) [10]

## Platform
- cross-platform
- npm

## Capabilities
- damage capability enabling copycat attacks
- repository credential theft, source code exfiltration
- credential harvesting, supply chain attack
- credential theft across 469 locations
- credential theft, code injection, self-propagation
- credential theft, environment wiping, lateral movement
- credential theft, package injection, self-replication
- credential-theft, secret-exfiltration, ci-cd-enumeration, cloud-environment-enumeration
- credential theft, secret exfiltration, malicious script injection
- credential theft, self-propagation, C2 communication
- credential theft, self-replication via tarballs, Git hook injection
- evasion via tarball propagation and configuration file injection
- Git branch compromise via IDE startup hooks
- GitHub API exploitation for lateral movement
- hijacks GitHub and NPM credentials; publishes boobytrapped software packages
- Installs backdoors, steals cryptocurrency wallets, harvests login credentials and authentication tokens, infects linked packages
- credential harvesting, secret exfiltration, persistence, remote code execution
- automatically steals credentials via misused setup scripts
- automated package compromise and redistribution
- runs TruffleHog secret scanner on infected computers to extract secrets
- self-propagating malware that steals CI/CD secrets and hijacks GitHub Actions OIDC tokens
- self-propagating npm worm exploiting plaintext npm credentials
- Steals cloud credentials, infrastructure secrets, developer tokens, AI configs, crypto wallets; persists in code editors and AI assistants
- bypasses malware scanning systems

## C2
- GitHub repositories under compromised identities
- iseekaigogo.com (via Ethereum contract resolution)

## Entry
Shai-Hulud is a self-propagating worm distributed via npm that conducts supply chain attacks to harvest developer credentials and cloud secrets [1].

### Capabilities

The malware steals credentials across multiple attack surfaces: repository credentials, CI/CD secrets, GitHub Actions OIDC tokens, cloud environment variables, developer authentication tokens, AI assistant configurations, and cryptocurrency wallets [2][3]. It runs TruffleHog secret scanner on infected systems to extract additional secrets [4].

Shai-Hulud propagates through multiple mechanisms, including tarball distribution, Git hook injection into local repositories, and IDE startup hooks that compromise Git branches [5]. It automatically hijacks npm and GitHub credentials to publish boobytrapped packages, enabling lateral movement and copycat attacks [6][7].

The worm persists in code editors and AI assistants, and performs environment wiping and remote code execution [2][8]. It exploits the GitHub API for lateral movement and bypasses malware scanning systems [5][9].

### Distribution and Detection

First observed in 2025 [10], Shai-Hulud exploits plaintext npm credentials stored in configuration files [11]. The malware operates cross-platform [12] and has reportedly stolen credentials from 469 locations [12].

Command and control reportedly occurs through GitHub repositories under compromised identities [13] and, according to one report, via the domain iseekaigogo.com resolved through Ethereum contract data [14].

## Connections
Links to other wiki entries, from the wiki's graph. This file gives no source for them: treat them as leads, not findings.
- **Exploits:** chalk, debug, GitHub, NPM, NPM install lifecycle scripts, PyPI, tensorlake, VS Code
- **Targets:** flat-cache, Keyv, NPM, Software Supply Chain, Supply Chain
- **Used by:** keyv supply chain attack, Shai-Hulud May 2026 campaign, Suno source code breach, TeamPCP, Tensorlake SDK 0.5.144 compromise
- **Uses:** Credential Harvesting, setup.mjs, T1059.001: PowerShell, TruffleHog

## Often mentioned together
Entries that turn up in the same stories. This is not a stated relationship.
Malicious Logic Insertion, Use of Known Credentials, Microsoft, GitHub Actions, Supply Chain Attack, Wiz, Cursor, Trivy, Axios, ChainDrop, Claude Code, Socket, Miasma, s1ngularity, Australia, Claude

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/shai-hulud
- More malware: https://morningstarsecurity.com/wiki/kind/malware
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources
1. Hack Reveals Suno AI Music Generator Scraped YouTube, Deezer, and Genius · Slashdot · 15 Jul 2026 · https://news.slashdot.org/story/26/07/15/2010250/hack-reveals-suno-ai-music-generator-scraped-youtube-deezer-and-genius?utm_source=rss1.0mainlinkanon&utm_medium=feed
2. ChainDrop credential stealing worm infects over 400 npm packages · CSO Online · 4 Aug 2026 · https://www.csoonline.com/article/4205276/chaindrop-credential-stealing-worm-infects-over-400-npm-packages.html
3. 9 rising malware trends every security pro should know · CSO Online · 19 Oct 2026 · https://www.csoonline.com/article/3997388/6-rising-malware-trends-every-security-pro-should-know.html
4. Claude Code's “Don't Ask Again” File Exposes Passwords and Keys in 1,122 Public Copies on GitHub · The Hacker News · 7 Nov 2026 · https://thehackernews.com/2026/11/claude-codes-dont-ask-again-file.html
5. ChainDrop worm crawls into npm supply chain, evades standard defenses · The Register: Security · 15 Aug 2026 · https://www.theregister.com/security/2026/08/15/chaindrop-worm-crawls-into-npm-supply-chain-evades-standard-defenses/5287958
6. Shai-Hulud hackers: two men charged over TeamPCP’s global supply chain crime spree that hit OpenAI, and thousands more · Graham Cluley · 28 Aug 2026 · https://www.bitdefender.com/en-us/blog/hotforsecurity/shai-hulud-hackers-charged-teampcps
7. Open Source Malware · John Hammond (short) · 6 Jul 2026 · https://www.youtube.com/shorts/xr1aX6lfIK0
8. Australian cops cuff alleged TeamPCP masterminds · The Register: Security · 28 Aug 2026 · https://www.theregister.com/security/2026/08/28/australian-cops-cuff-alleged-teampcp-masterminds/5293157
9. Shai-Hulud npm worm resurfaces, bypassing security scans · SC Media · 9 Sep 2026 · https://www.scworld.com/brief/shai-hulud-npm-worm-resurfaces-bypassing-security-scans
10. An Ingredient List Doesn't Stop the Worm: What SBOMs Can and Can't Do · DZone: Security · 30 Jun 2026 · https://feeds.dzone.com/link/16357/17370399/an-ingredient-list-doesnt-stop-the-worm-what-sboms
11. Introducing the Wiz Sensor for Developer Workstations to Protect Endpoints in the AI Era · Wiz Research · 3 Aug 2026 · https://www.wiz.io/blog/introducing-the-wiz-sensor-for-developer-workstations
12. Shai-Hulud's Reach Just Grew to 469 Credential Locations. Here's What That Means · The Hacker News · 3 Sep 2026 · https://thehackernews.com/2026/09/shai-huluds-reach-just-grew-to-469.html
13. keyv and cacheable npm Package Hijacked in Supply Chain Attack · Wiz Research · 4 Aug 2026 · https://www.wiz.io/blog/keyv-and-cacheable-npm-supply-chain-attack
14. Tensorlake npm Package Compromised to Deliver Shai-Hulud Credential-Stealing Worm · The Hacker News · 8 Oct 2026 · https://thehackernews.com/2026/10/tensorlake-npm-package-compromised-to.html

Not cited above. Other coverage that mentions Shai-Hulud, for context only:

15. How to protect a company from attacks through AI agents | Kaspersky official blog · Kaspersky Daily · 19 Nov 2026 · https://www.kaspersky.com/blog/ai-agent-security-with-existing-controls/56928/
16. 10 ways attackers abuse AI services to hack your business · CSO Online · 28 Oct 2026 · https://www.csoonline.com/article/4154222/6-ways-attackers-abuse-ai-services-to-hack-your-business.html
17. Shai-Hulud worm makes jump to AI infrastructure with Tensorlake compromise · The Register: Security · 8 Oct 2026 · https://www.theregister.com/security/2026/10/08/shai-hulud-worm-makes-jump-to-ai-infrastructure-with-tensorlake-compromise/5302054
18. The Credential Layer Is Expanding Faster Than Security Teams Can See It · The Hacker News · 5 Oct 2026 · https://thehackernews.com/2026/10/the-credential-layer-is-expanding.html
19. Root Cause Episode 1: The Forensic Trail behind the NPM Registry Heist · Wiz (video) · 29 Sep 2026 · https://www.youtube.com/watch?v=VQvZCFmJdUk
20. Attacker Hijacks AI Coding Assistant Session, Spreads Shai-Hulud Across About 100 Repositories · The Hacker News · 16 Sep 2026 · https://thehackernews.com/2026/09/attacker-hijacks-ai-coding-assistant.html
21. This Week in Security: It’s Patch Tuesday Again, TVs Spying, Supply Chain Worms Return, Prolonged Hack Impacts, Stolen IDs · Hackaday · 11 Sep 2026 · https://hackaday.com/2026/09/11/this-week-in-security-its-patch-tuesday-again-tvs-spying-supply-chain-worms-return-prolonged-hack-impacts-stolen-ids/
22. Two Alleged ‘TeamPCP’ Hackers Arrested in Australia · Krebs on Security · 27 Aug 2026 · https://krebsonsecurity.com/2026/08/two-alleged-teampcp-hackers-arrested-in-australia/
23. How AI Coding Agents Can Accidentally Leak Your Secrets · HackerNoon · 24 Aug 2026 · https://hackernoon.com/how-ai-coding-agents-can-accidentally-leak-your-secrets
24. Connecting the Dots: Securing the Overlooked Corners of the Software Development Lifecycle (SDLC) Supply Chain · Unit 42 · 21 Aug 2026 · https://unit42.paloaltonetworks.com/sdlc-supply-chain/
25. 5 key takeaways from Black Hat USA 2026 · CSO Online · 14 Aug 2026 · https://www.csoonline.com/article/4209429/5-key-takeaways-from-black-hat-usa-2026.html
26. GitHub already has an EDR. You just have to listen to it · CSO Online · 11 Aug 2026 · https://www.csoonline.com/article/4207927/github-already-has-an-edr-you-just-have-to-listen-to-it.html
27. Why metaphor may dictate your security strategy · Cisco Talos Intelligence · 6 Aug 2026 · https://blog.talosintelligence.com/why-metaphor-may-dictate-your-security-strategy/
28. Cloud Threat Highlights: H1 2026 · Wiz Research · 6 Aug 2026 · https://www.wiz.io/blog/cloud-threat-highlights-h1-2026
29. Open VSX Removes 77 Malicious Evil Twin Extensions Exfiltrating Developer Data · The Hacker News · 5 Aug 2026 · https://thehackernews.com/2026/08/open-vsx-removes-77-malicious-evil-twin.html
30. Wiz at Black Hat 2026: Driving AI Threat Readiness · Wiz Research · 4 Aug 2026 · https://www.wiz.io/blog/wiz-at-black-hat-2026
31. Keyv npm Package with 127M Weekly Downloads Compromised in Shai-Hulud Attack - CyberSecurityNews · Google News: Cyber Security · 4 Aug 2026 · https://news.google.com/rss/articles/CBMia0FVX3lxTE5hRXNwcWxQLS1Jd0xuU3FNVGhXSlV2akg1N2c2WVZTcll3ekRsd3RuOWpJY21VMUE0T2I3TGlyVkRlUmtOTThpNk0ydExpV1ZRaEpWdjBWRTBhVUVPcE1ibEtvMzVYd0tzV0Y40gFwQVVfeXFMTVRwTGpxTnMxTzZsa1NqbExTZS1JR1hQTWdWY3lnNVg4N2Y2YUJVeGtyQ1kwNmtTOHJQaGd1U1pydkVyQmFfekZXU0l4a0RHRTlWREw2YjFMRFd1OVhVbUduN29tQ3NHMXZoblRwTlZlQw?oc=5
32. Keyv and friends compromised in active Shai-Hulud supply chain attack · Hacker News (YC) · 4 Aug 2026 · https://www.aikido.dev/blog/keyv-and-friends-compromised-in-npm-supply-chain-attack
33. GitHub, PyPI add time-absed defenses against supply chain attacks · BleepingComputer · 26 Jul 2026 · https://www.bleepingcomputer.com/news/security/github-pypi-add-time-absed-defenses-against-supply-chain-attacks/
34. Hacker wipes Romania's land registry database · Hacker News (YC) · 20 Jul 2026 · https://news.risky.biz/risky-bulletin-hacker-wipes-romanias-entire-land-registry-database/
35. The npm Threat Landscape: Attack Surface and Mitigations (Updated July 15) · Unit 42 · 15 Jul 2026 · https://unit42.paloaltonetworks.com/monitoring-npm-supply-chain-attacks/
36. Compromised AsyncAPI npm Packages Deliver Multi-Stage Botnet Malware · The Hacker News · 15 Jul 2026 · https://thehackernews.com/2026/07/compromised-asyncapi-npm-packages.html
37. 148 npm Packages Disguised as Student Proxies Turned Browsers Into a DDoS Botnet · The Hacker News · 14 Jul 2026 · https://thehackernews.com/2026/07/148-npm-packages-disguised-as-student.html
38. Compromised jscrambler 8.14.0 npm Release Drops Rust Infostealer During Install · The Hacker News · 11 Jul 2026 · https://thehackernews.com/2026/07/compromised-jscrambler-8140-npm-release.html
39. Wiz in the Verizon DBIR: How AI Acceleration and Cloud Sprawl Impact Modern Defense · Wiz Research · 9 Jul 2026 · https://www.wiz.io/blog/verizon-dbir-2026-ai-cloud-security
40. CAI cloud worm gives competitors' malware the boot, then steals secrets and mines for coin · The Register: Security · 7 Jul 2026 · https://www.theregister.com/cyber-crime/2026/07/07/cai-cloud-worm-gives-competitors-malware-the-boot-then-steals-secrets-and-mines-for-coin/5267856
41. Miasma Worm Source Code Leaked (Plus: Anthropic's Fable RealityCheck) | Threat Wire · Hak5 (video) · 22 Jun 2026 · https://www.youtube.com/watch?v=zd6_1LmD79Y

---
Snapshot of https://morningstarsecurity.com/wiki/shai-hulud taken 25 Nov 2026 22:02 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/shai-hulud
