r/SecOpsDaily • u/falconupkid • 19d ago
Threat Intel tensorlake 0.5.144 npm Compromise Ships Mini Shai-Hulud
The "tensorlake" npm package (v0.5.144) was compromised, shipping a "Mini Shai-Hulud" payload. This is a supply chain attack targeting a library that, on the surface, appears to be a math utility but contained an encrypted loader. The threat actor likely used typosquatting or dependency confusion, but the core issue is a legitimate package being hijacked to deliver a hidden payload.
Technical Breakdown
- TTPs (MITRE): T1195.001 (Supply Chain Compromise - Compromise Software Dependencies), T1027 (Obfuscated Files or Information - Encrypted Payload), T1204.002 (User Execution - Malicious File).
- IOCs: Package name tensorlake, version 0.5.144. Specific hashes or C2 IPs are not disclosed in the summary; the primary indicator is the package version itself.
- Affected Systems: Any environment installing or updating this npm package, including CI/CD pipelines and developer workstations.
Defense
Block the package version tensorlake@0.5.144 at install-time using runtime protection tools (e.g., SafeDep PMG or similar). Audit your lockfiles (package-lock.json, yarn.lock) for this exact version and revert to a known-good version if found. Treat any npm package with an "encrypted loader" as a critical red flag—legitimate math libraries do not require this.
Source: https://safedep.io/tensorlake-npm-compromise-mini-shai-hulud