npm/@servicetitan/time-zones 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.=-
The package is published as a React/MobX time-zone UI component library but its package.json declares scripts.preinstall = "node setup.mjs". setup.mjs is obfuscated (obfuscator.io-style 0xXXXX identifiers and per-call string-map decoy objects) and, at npm install time, downloads the Bun runtime from https://github.com/oven-sh/bun/releases/download/bun-v1.3.13/<platform>.zip, extracts it, chmods it 0o755, and calls execFileSync(bunPath, [path.join(D, "mathinit.js")], { stdio: "inherit" }). If Bun is already on PATH the download step is skipped and the same file is executed directly. mathinit.js is a 727 KB Bun-compiled bundle (// @bun @bun-cjs) whose contents are hidden behind a shuffled string-array cipher (WV8StW rotator over the n7gIxM array), a form that resists Node-based static and dynamic analysis. package.json declares "files": ["dist", "src"], yet mathinit.js and setup.mjs sit at the tarball root outside both directories, indicating the payload was injected outside the maintainer's normal publish flow. A UI time-zone library has no legitimate reason to fetch an alternate JavaScript runtime at install time and use it to run an opaque bundled payload; the runtime substitution routes execution around Node-based supply-chain scanners. The precise post-execution behavior of math_init.js is not readable from the shipped form, but installing this version causes attacker-authored code to run under Bun on the installer's machine at npm install time.
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.201223536Z",
"modified_time": "2026-08-04T16:42:49Z",
"sha256": "25969760027c1d4fb64025e036cf806e2b2079a1a55fe806c6c253c5cc70263f",
"source": "ghsa-malware",
"id": "GHSA-qhgq-4rvh-3g6x",
"versions": [
"3.8.7",
"3.8.6",
"3.8.5",
"3.8.4",
"3.8.3",
"3.8.2",
"3.8.1"
]
},
{
"import_time": "2026-08-05T00:44:49.29912605Z",
"modified_time": "2026-08-05T00:16:08Z",
"sha256": "01ba28aa97d4080a61981f474d959abe5937c5a8c483e81802c554d3942ccffa",
"source": "amazon-inspector",
"id": "IN-MAL-2026-011440",
"versions": [
"3.8.5"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T04:38:11.644545889Z",
"sha256": "071d00a588150ef967736af52a51ff4d3a05b60248f4bbebd1ef2db66a339566",
"modified_time": "2026-08-05T04:01:10Z",
"id": "IN-MAL-2026-012448",
"versions": [
"3.8.7"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T04:38:39.998965478Z",
"sha256": "6a4b84223eaaae3ff98a7d11b4b47bcf24e17c2fe4450fee5cd284045591a9eb",
"modified_time": "2026-08-05T04:35:15Z",
"id": "IN-MAL-2026-012689",
"versions": [
"3.8.3"
]
},
{
"import_time": "2026-08-05T04:38:05.442036005Z",
"modified_time": "2026-08-05T03:53:22Z",
"sha256": "7a369888e45596210ca6a7be1e65973e827a3755afe427d89f4bcee9149484f6",
"source": "amazon-inspector",
"id": "IN-MAL-2026-012394",
"versions": [
"3.8.1"
]
},
{
"import_time": "2026-08-05T04:37:36.554798901Z",
"modified_time": "2026-08-05T03:18:52Z",
"sha256": "7d25746e095a57e7ae94166efa1ed8203d380a73d3158713ac9c9fb6fb6af989",
"source": "amazon-inspector",
"id": "IN-MAL-2026-012152",
"versions": [
"3.8.4"
]
},
{
"import_time": "2026-08-05T04:37:48.396351547Z",
"modified_time": "2026-08-05T03:32:49Z",
"sha256": "de4b7cc159a25e4f8a04c1be7674932f9ddf854cdbfececac282fb9eefe3817a",
"source": "amazon-inspector",
"id": "IN-MAL-2026-012250",
"versions": [
"3.8.6"
]
},
{
"modified_time": "2026-08-05T04:43:26Z",
"source": "amazon-inspector",
"sha256": "f97302b27779c3d33bb4e1f6e210b63646d7d0e52d7cf265cc813866681ed264",
"import_time": "2026-08-05T05:59:59.5140621Z",
"id": "IN-MAL-2026-012747",
"versions": [
"3.8.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": "time-zones-3.8.5.tgz",
"hashes": {
"sha512_sri": "sha512-EpWmx9q8DxsKWseAAQhuKe8YlnTfdblaJivDWMCJomlzagrSrRbNgTTVsw+ZW2ANPHBdSdoUOEb9seXLY1J2lQ==",
"sha1": "c94543f3d7432f53a7eeb77fc2a9bcd1f75a4a7b"
}
}
],
"evidence_files": [
{
"tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
"sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
"path": "setup.mjs"
},
{
"tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
"sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
"path": "math_init.js"
},
{
"tlsh": "4e214950c9a55cf317ee10a95c370042a62e980b0c68bd6d33e3a31c0b8caaf517b97e",
"sha256": "872aaa7ae0b6788aeddaedf27b3de30dec3bddf68f9aa8889e16b78c3ef84462",
"path": "package.json"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/time-zones/MAL-2026-11934.json"