npm/@servicetitan/docs-uikit 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.2 of this package, self-described as 'Documentation content for Uikit packages' with a declared files field of ['docs'], ships two files not listed in the manifest: setup.mjs and mathinit.js. package.json declares scripts.preinstall = 'node setup.mjs'. setup.mjs downloads the Bun JavaScript runtime from a GitHub releases URL to a temp directory, chmods it executable, and invokes it via execFileSync against the sibling file mathinit.js. mathinit.js is a 727KB single-line file with obfuscator.io shape: a rotated string-array constant, a rotation dispatcher, a decoder function, and hex-mangled identifiers. Executing an obfuscated payload through a freshly downloaded alternate JS runtime is the alternate-runtime-dropper pattern used to bypass Node-based static resolvers and scanners; the payload's behavior cannot be observed without executing it in the downloaded runtime. The combination of a documentation-only advertised purpose, a preinstall lifecycle hook, a smuggled-into-tarball dropper pair (setup.mjs + mathinit.js absent from the files allowlist), and an obfuscated large sibling executed via a downloaded runtime is the fingerprint of a compromised-publisher supply-chain attack, not a legitimate docs release.
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.
{
"malicious-packages-origins": [
{
"import_time": "2026-08-05T00:10:18.015692236Z",
"modified_time": "2026-08-04T16:41:25Z",
"sha256": "6b93436d3a001e4c945c53ad0f0bc6c4f4a1a57be99f25eb4e3daa84afbf28f4",
"source": "ghsa-malware",
"id": "GHSA-9r7x-f6vx-29fr",
"versions": [
"38.1.7",
"38.1.5",
"38.1.4",
"38.1.3",
"38.1.2",
"38.1.1",
"38.1.6"
]
},
{
"import_time": "2026-08-05T03:12:10.538132717Z",
"modified_time": "2026-08-05T03:00:01Z",
"sha256": "076e371a71faa26b16c7ce03d86c4cedab62fa2a41653cd294b1a939a783c63a",
"source": "amazon-inspector",
"id": "IN-MAL-2026-012019",
"versions": [
"38.1.1"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T03:12:17.127335449Z",
"sha256": "cb3e20029730bd52aa9cde898b3dcfb45db880d632f5960d17404b0fa2834392",
"modified_time": "2026-08-05T03:09:53Z",
"id": "IN-MAL-2026-012089",
"versions": [
"38.1.5"
]
},
{
"import_time": "2026-08-05T04:38:15.541894856Z",
"modified_time": "2026-08-05T04:06:09Z",
"sha256": "31ce8056b999dfb809966482fdfe09d1428e27c58a9ca903d90fcaad7dd35d24",
"source": "amazon-inspector",
"id": "IN-MAL-2026-012484",
"versions": [
"38.1.6"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T04:38:32.257430739Z",
"sha256": "5a10b0715b9f6aed3af9b2aa84de34a07b3c6b0857517381922c29ab5a8719fc",
"modified_time": "2026-08-05T04:25:27Z",
"id": "IN-MAL-2026-012617",
"versions": [
"38.1.4"
]
},
{
"import_time": "2026-08-05T04:38:10.054554028Z",
"modified_time": "2026-08-05T03:59:12Z",
"sha256": "9f13120f8edebe552419a1b6019934bcf0b53e09bf433abb6cda51604c437673",
"source": "amazon-inspector",
"id": "IN-MAL-2026-012434",
"versions": [
"38.1.7"
]
},
{
"import_time": "2026-08-05T04:37:29.757544661Z",
"modified_time": "2026-08-05T03:10:53Z",
"sha256": "be2c0c4e61cf6aa3d02bdf2cf1b0d46ea657467c612e49ebe0942c9baa1b949a",
"source": "amazon-inspector",
"id": "IN-MAL-2026-012095",
"versions": [
"38.1.3"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T06:00:06.535076121Z",
"sha256": "cc5e7b32a3a99102d884ad8eba09ea6a4324ab07bf92090d568b96d408f9b183",
"modified_time": "2026-08-05T04:51:40Z",
"id": "IN-MAL-2026-012805",
"versions": [
"38.1.2"
]
}
],
"iocs": {
"files": [
{
"paths": [
"setup.mjs"
],
"source": "PACKAGE_ARCHIVE",
"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."
},
{
"paths": [
"Math_Symbol.js",
"math_init.js"
],
"source": "PACKAGE_ARCHIVE",
"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."
}
]
}
}[
{
"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",
"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",
"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",
"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",
"description": "The product contains code that appears to be malicious in nature."
}
]
{
"package_integrity": [
{
"filename": "docs-uikit-38.1.1.tgz",
"hashes": {
"sha512_sri": "sha512-LpkrJaDi/bOyVl/F0aI3iERxB1VoVM63guahGsIWn+m0hRAJe+3+lA7JLgPZDLQZZgBHh4AfovDBtPlY88RIrg==",
"sha1": "94cd5a28bf0e313ec32bd5fd8ec1c3297b942ada"
}
}
],
"evidence_files": [
{
"tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
"sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
"path": "setup.mjs"
},
{
"tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
"sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
"path": "math_init.js"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/docs-uikit/MAL-2026-11854.json"