npm/@servicetitan/launchdarkly-service 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.=-
Version 38.1.5 of this LaunchDarkly client wrapper ships a preinstall lifecycle hook (preinstall: node setup.mjs) that automatically executes on npm install. setup.mjs is obfuscator.io-style renamed (split-string state, _0xXXXXXX identifiers) and, at install time, downloads a Bun runtime archive from github.com/oven-sh/bun/releases/download/bun-v1.3.13/<platform>.zip, extracts the bun/bun.exe binary to a temp directory, chmod +x's it, and invokes it against a co-shipped math_init.js via execFileSync(bunPath, [join(D, 'math_init.js')], {stdio:'inherit', cwd:D}). mathinit.js is a 727KB // @bun @bun-cjs bundle whose strings and control flow are hidden behind a rotating-array cipher (WV8StW shift decoder feeding hc1jfK9 alphabet substitution over a >700KB numeric constant array); no human-readable strings, URLs, or symbol names are recoverable statically. Because the payload is executed only by the fetched Bun binary, Node-based tooling and audit hooks in the installer's environment do not observe its behavior. package.json declares "files": ["dist", "src"], yet setup.mjs and mathinit.js are shipped at the tarball root outside that declared publish surface — a manifest/contents mismatch consistent with a compromised-maintainer or publish-time-injection release rather than an intentional author change. Installing this version auto-executes attacker-controlled code on the developer/build host.
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": [
{
"paths": [
"setup.mjs"
],
"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": [
"Math_Symbol.js",
"math_init.js"
],
"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"
}
]
},
"malicious-packages-origins": [
{
"import_time": "2026-08-05T00:10:18.045674649Z",
"modified_time": "2026-08-04T16:47:29Z",
"sha256": "7cf5b912d404dce1f85662335502bfe77e4c8671384f35f2499fee75d86d5db5",
"id": "GHSA-f4mc-vj9p-gr25",
"versions": [
"38.1.7",
"38.1.5",
"38.1.4",
"38.1.3",
"38.1.2",
"38.1.1",
"38.1.6"
],
"source": "ghsa-malware"
},
{
"import_time": "2026-08-05T03:12:17.211630691Z",
"modified_time": "2026-08-05T03:10:01Z",
"sha256": "8785fb5e9f4feb8dc14d4f0a171862884c48d3718136fdec3fc11e1ad91dbbf7",
"id": "IN-MAL-2026-012090",
"versions": [
"38.1.1"
],
"source": "amazon-inspector"
},
{
"import_time": "2026-08-05T03:12:09.394316651Z",
"modified_time": "2026-08-05T02:58:38Z",
"sha256": "8b0e9f505b92838590438a05492d4e2f9b87665c43347d204fe91f7de5db52ca",
"id": "IN-MAL-2026-012009",
"versions": [
"38.1.6"
],
"source": "amazon-inspector"
},
{
"import_time": "2026-08-05T04:38:36.359419411Z",
"modified_time": "2026-08-05T04:30:44Z",
"sha256": "bcea110f80df254b4286c6f1ef4d39f792dececc3fec01554da173caa7dce18b",
"id": "IN-MAL-2026-012656",
"versions": [
"38.1.4"
],
"source": "amazon-inspector"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T03:35:27Z",
"sha256": "1e1e47e26187465b9c772e991f075aa579a09da2ac4612af41cbed12da6b15d1",
"id": "IN-MAL-2026-012269",
"versions": [
"38.1.5"
],
"import_time": "2026-08-05T04:37:50.823406951Z"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T03:49:49Z",
"sha256": "1fd51950cb23c0b855f2a6bd2f487523e8592fab8e0bbec6712354dd79f69091",
"id": "IN-MAL-2026-012369",
"versions": [
"38.1.2"
],
"import_time": "2026-08-05T04:38:02.472958744Z"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T04:03:59Z",
"sha256": "b2342d2347da57648aee9e935a50849b554922d1ad1e1eaa552f065fcd6dace1",
"id": "IN-MAL-2026-012468",
"versions": [
"38.1.7"
],
"import_time": "2026-08-05T04:38:13.807119055Z"
},
{
"source": "amazon-inspector",
"modified_time": "2026-08-05T04:38:44Z",
"sha256": "ba9653bd2c4bbe084a3bdd438b69a71ccad636e775abdf95a91cadf511e8213f",
"id": "IN-MAL-2026-012714",
"versions": [
"38.1.3"
],
"import_time": "2026-08-05T05:59:55.659377646Z"
}
]
}[
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
}
]
{
"package_integrity": [
{
"hashes": {
"sha512_sri": "sha512-ek29Bvtx7BjeNbaYPzEG2khBNVHbGQvaBWxQnappzQYzNd1S2t07e2HwPR0p6fc4mp8n7a3ARX3i5kow3zjSig==",
"sha1": "8ae33918d796dd1f2cbc09ca6a13db0d9ed2466b"
},
"filename": "launchdarkly-service-38.1.1.tgz"
}
],
"evidence_files": [
{
"path": "setup.mjs",
"sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
"tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be"
},
{
"path": "math_init.js",
"sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
"tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/launchdarkly-service/MAL-2026-11884.json"