npm/@nebula.js/stardust is affected by the large-scale, self-propagating npm supply-chain worm of 2026-08-04 (the "Shai-Hulud: Here We Go Again" wave) — the same campaign that began with the compromise of the keyv and cacheable maintainer account. The listed version(s) were trojanized and republished by the worm after it reached an npm publish token belonging to a maintainer in this namespace; the payload enumerates every package a stolen token controls and republishes each with the same hook, so many packages under this scope were poisoned in the same short window. Every poisoned release adds a preinstall hook ("preinstall": "node setup.mjs") that runs on a bare npm install, before any project code. setup.mjs downloads a standalone Bun runtime and runs a byte-identical, heavily obfuscated ~728 KB second-stage credential stealer (shipped as MathSymbol.js / mathinit.js). It harvests GitHub, npm, AWS, GCP, Azure, HashiCorp Vault and Kubernetes credentials plus generic secrets and private keys (TruffleHog-style sweep), reads CI/CD secrets and identifies build runners, then republishes further packages the stolen token can reach. Rather than a fixed command-and-control host, it exfiltrates stolen findings to attacker-created GitHub repositories (descriptions reading "Shai-Hulud: Here We Go Again") and over DNS. Treat any environment that installed an affected version (with install scripts enabled) as compromised: rotate and revoke all reachable credentials (npm and GitHub tokens, cloud keys, Vault/Kubernetes secrets, and CI org/repo secrets). Part of the August 2026 npm worm that poisoned 400+ packages across many organizations.
-= Per source details. Do not edit below this line.=-
This version of @nebula.js/stardust declares a preinstall hook (node setup.mjs) that is not present in the legitimate qlik-oss/nebula.js upstream. setup.mjs uses obfuscator.io-style hex-named identifiers and property-indirection control flow. At install time it downloads a Bun runtime binary from https://github.com/oven-sh/bun/releases/download/bun-v1.3.13/..., extracts it to a temp directory, and invokes it via execFileSync to run the sibling file math_init.js — a 727KB // @bun @bun-cjs compiled bundle that is not runnable under Node and cannot be inspected without the fetched Bun runtime. If a local bun already exists it is used directly. Neither setup.mjs nor math_init.js is listed in package.json files (which only declares LICENSE, core, dist, types/index.d.ts), yet both ship at the tarball root. README and description are copied verbatim from the legitimate QlikTech @nebula.js/stardust package, but the manifest/shipped-files divergence and the added preinstall are inconsistent with the upstream project. The alternate-runtime execution of an obfuscated compiled-CJS blob on the installer's machine at npm install time is an alternate-runtime-dropper pattern; the payload's behavior cannot be observed by Node-focused analysis. Combined with the scope-hijack indicators (undeclared smuggled files, brand-impersonation README, no such preinstall upstream), this version is a malicious release of a well-known scope.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
{
"iocs": {
"files": [
{
"note": "Stage 1 loader added to the package tarball and run via the preinstall script 'node setup.mjs'. Downloads a standalone Bun runtime and executes the second stage under it.",
"source": "PACKAGE_ARCHIVE",
"paths": [
"setup.mjs"
]
},
{
"note": "Stage 2 payload: byte-identical, heavily obfuscated ~728 KB Bun-bundle credential stealer, shipped in the tarball as Math_Symbol.js and executed at runtime as math_init.js.",
"source": "PACKAGE_ARCHIVE",
"paths": [
"Math_Symbol.js",
"math_init.js"
]
}
]
},
"malicious-packages-origins": [
{
"import_time": "2026-08-05T00:10:17.958288729Z",
"sha256": "c0fc23e247925b6c8dab8c9d4cde3b8d446e2bbf5ca060fd7f0b9043e9413ec9",
"id": "GHSA-7g8p-fjjf-5ggq",
"modified_time": "2026-08-04T15:49:51Z",
"versions": [
"7.1.2"
],
"source": "ghsa-malware"
},
{
"import_time": "2026-08-05T07:06:54.221883617Z",
"sha256": "818b9c5be087da064c6cef14c4890e3233448c780c1e2fecbdbf6ee74352195d",
"id": "IN-MAL-2026-013565",
"modified_time": "2026-08-05T06:41:40Z",
"versions": [
"7.1.2"
],
"source": "amazon-inspector"
}
]
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@nebula.js/stardust/MAL-2026-11584.json"
{
"package_integrity": [
{
"hashes": {
"sha512_sri": "sha512-ItilrTv1OhIlTGSMk72BlwBcxOaDl6v+9U59BITeyn2CZId3Iryz8bV5LL/dbjshqtMSHmwOnuDXb656Zw4e0A==",
"sha1": "b7c2d55c24cab2d8ac7ccfd589bbe2778fe03e4d"
},
"filename": "stardust-7.1.2.tgz"
}
],
"evidence_files": [
{
"sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
"path": "setup.mjs",
"tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be"
},
{
"tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
"path": "math_init.js",
"sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc"
},
{
"sha256": "896ee823194cc127c22dd343d99d07bbcbdad0aed91fa803fd6100c4212ad320",
"path": "package.json",
"tlsh": "f731cd14de11cc232ed846a4982606426559040b8d6ef81c33e2d36d9fae7df66f973e"
}
]
}
[
{
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506",
"name": "Embedded Malicious Code"
},
{
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506",
"name": "Embedded Malicious Code"
}
]