TensorLake npm SDK Compromised in ChainDrop Shai-Hulud Credential-Stealing Attack
Description
The TensorLake npm SDK version 0.5.144 was compromised in a supply chain attack involving ChainDrop/Shai-Hulud malware. The malicious package, downloaded approximately 12,000 times weekly, contains obfuscated code that steals credentials from various sources such as npm tokens, GitHub tokens, AWS credentials, HashiCorp Vault, Kubernetes configs, SSH keys, and AI development tools. It executes via a preinstall hook, establishes persistence through scheduled tasks, and supports remote code execution. The attack uses an Ethereum contract for command-and-control and includes a dead-man switch that triggers destructive actions if stolen GitHub tokens are revoked. The malware can self-propagate by republishing compromised versions to other npm packages linked to the victim's publishing identity, spreading across the npm ecosystem.
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This campaign targets the TensorLake npm SDK version 0.5.144 by injecting obfuscated malicious code into the package. The payload activates during installation via a preinstall hook, harvesting a wide range of credentials including npm and GitHub tokens, AWS credentials, HashiCorp Vault secrets, Kubernetes configurations, SSH keys, and AI development tool credentials. Persistence is maintained through scheduled tasks, and the malware supports remote code execution. Command-and-control endpoints are resolved via an Ethereum smart contract, and a dead-man switch monitors stolen GitHub tokens to trigger destructive actions if tokens are revoked. The malware also propagates by republishing compromised package versions to other npm packages associated with the victim's publishing identity, effectively creating a worm that spreads through the npm ecosystem.
Potential Impact
The attack compromises developer credentials and secrets across multiple platforms and services, potentially allowing attackers to access and control affected cloud resources, repositories, and infrastructure. The persistence and remote code execution capabilities increase the risk of prolonged unauthorized access. The dead-man switch mechanism can cause destructive outcomes if stolen tokens are revoked, and the worm-like propagation can rapidly extend the compromise across the npm ecosystem, affecting multiple projects and developers.
Defensive Guidance
No official patch or remediation guidance is provided in the available data. Users should immediately stop using TensorLake npm SDK version 0.5.144 and audit their environments for compromised credentials. Rotate all potentially exposed tokens and keys, including npm, GitHub, AWS, HashiCorp Vault, Kubernetes, and SSH credentials. Monitor for suspicious scheduled tasks and unusual package republishing activity. Review and restrict publishing permissions in npm to prevent further propagation. Check the vendor advisory or official sources for updates and remediation instructions.
Technical Details
- Author
- AlienVault
- Tlp
- white
- References
- ["https://socket.dev/blog/tensorlake-compromise"]
- Pulse Id
- 6ac7415f2754c1b2193c9737
Indicators of Compromise
Hash
| Value | Description | Copy |
|---|---|---|
hash25a0735d0db7dc40e5d45ce42d9c106067e6a66e184d967cfecfab17c3bcb5ef | — | |
hashb50a00900399ba99fb6ce1fc151519cb99d44320ef2a631f2237e1aea0ad6fec | — |
Threat ID: 6ac74e5f2cdf04f656fcc26a
Added to database: 10/08/2026, 08:03:43 UTC
Last enriched: 10/08/2026, 08:18:27 UTC
Last updated: 10/08/2026, 18:48:07 UTC
Views: 20
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.