npm/@servicetitan/startup-utils 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.=-
package.json declares "preinstall": "node setup.mjs", which runs on npm install. setup.mjs is itself obfuscated (obfuscator.io-style hex variable names such as _0x488df8/_0x52943e and rotated string-lookup objects hiding constants like utf8, ldd, /etc/os-release, unzip, powershell). At install time it downloads the Bun runtime v1.3.13 from https://github.com/oven-sh/bun/releases/download/bun-v1.3.13/, extracts and chmod+x's the binary, then invokes that Bun binary against a tarball-shipped math_init.js. math_init.js is a 727KB single-line file marked // @bun @bun-cjs so it will only execute under Bun, and its body is heavily obfuscated (string-array + rotation via a WV8StW shuffler over a ~1000-entry hex/string array, hex-mangled identifiers, and embedded with blocks that break strict-mode ES parsers and webcrack). The package's advertised purpose is a ~1.5KB semver-mismatch helper, which has no need for an alternate JavaScript runtime or a 727KB payload. Fetching a second language runtime specifically to execute an obfuscated sibling script under it is the alternate-runtime-dropper shape and lets the payload bypass Node-based static analysis. The scope @servicetitan/* is a corporate namespace whose legitimate maintainers do not ship obfuscated Bun-only payloads for a trivial helper, consistent with a compromised-publish supply-chain incident.
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"
],
"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."
}
]
},
"malicious-packages-origins": [
{
"import_time": "2026-08-05T00:10:18.058987752Z",
"sha256": "8be9c32f7cbfef9ff98bb393ad203c87523eadb86dece38bd454d6e9b7e9f5df",
"versions": [
"38.1.7",
"38.1.6",
"38.1.5",
"38.1.4",
"38.1.3",
"38.1.2",
"38.1.1"
],
"source": "ghsa-malware",
"id": "GHSA-fvrx-phjq-p76r",
"modified_time": "2026-08-04T16:43:26Z"
},
{
"import_time": "2026-08-05T03:12:07.973001022Z",
"sha256": "fa3a8a51a64a18e1404f402cfd5da19ee8da7607dca9386818d4c5306319da65",
"versions": [
"38.1.3"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-011997",
"modified_time": "2026-08-05T02:57:03Z"
},
{
"import_time": "2026-08-05T04:38:35.091215248Z",
"sha256": "24d0fef10807b6ea02d53c9683df5fe8e9fad4a50003e4687513c301a3c6c569",
"versions": [
"38.1.4"
],
"source": "amazon-inspector",
"id": "IN-MAL-2026-012644",
"modified_time": "2026-08-05T04:29:00Z"
},
{
"import_time": "2026-08-05T04:38:06.165290308Z",
"sha256": "4d308cd20b0d5c9b29090d1d266ff4acaa6507d3b1a22527c7e73a5df0dd7223",
"modified_time": "2026-08-05T03:54:15Z",
"id": "IN-MAL-2026-012400",
"source": "amazon-inspector",
"versions": [
"38.1.1"
]
},
{
"import_time": "2026-08-05T04:38:08.630117303Z",
"sha256": "8bbd51d870b73083a2024e2383bbad17f4a3c265bde2305b7e7e119608ca8ea5",
"modified_time": "2026-08-05T03:57:24Z",
"source": "amazon-inspector",
"versions": [
"38.1.7"
],
"id": "IN-MAL-2026-012422"
},
{
"import_time": "2026-08-05T04:37:50.380631862Z",
"sha256": "c9b7423876884b15666791d04318e0a5a24989be3f0ce91fb342136e32c69387",
"modified_time": "2026-08-05T03:34:55Z",
"id": "IN-MAL-2026-012265",
"source": "amazon-inspector",
"versions": [
"38.1.5"
]
},
{
"import_time": "2026-08-05T04:38:15.106135372Z",
"sha256": "d661bca7b156585bf8c48fb828c80564a29a51ee866e4d2a469aaa852da36300",
"versions": [
"38.1.6"
],
"id": "IN-MAL-2026-012480",
"modified_time": "2026-08-05T04:05:36Z",
"source": "amazon-inspector"
},
{
"import_time": "2026-08-05T06:00:05.613114587Z",
"sha256": "8faf9689e942dcac718f623c9cd3426c9939f4d19d7a9de38b89b37e64eeb1d1",
"versions": [
"38.1.2"
],
"id": "IN-MAL-2026-012798",
"modified_time": "2026-08-05T04:50:35Z",
"source": "amazon-inspector"
}
]
}[
{
"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."
},
{
"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."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"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."
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/startup-utils/MAL-2026-11926.json"
{
"package_integrity": [
{
"filename": "startup-utils-38.1.3.tgz",
"hashes": {
"sha1": "71eb4c3505ce5a708ebb41efcc621088a04fd27d",
"sha512_sri": "sha512-3DkfyMdkpQSMmniolanmkfgIIb11dxOcIGcKAF49BGdDVW/7FE42eAz/HMIb+N90cRApVATjhjnO6W8VIsDMAQ=="
}
}
],
"evidence_files": [
{
"sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
"path": "setup.mjs",
"tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be"
},
{
"sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
"path": "math_init.js",
"tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d"
},
{
"sha256": "bf9e09ca57a757fe93172ee3763129933a192774c9478ec46ce48c591a2dbf8d",
"path": "package.json",
"tlsh": "5c014c24c5b0ee7326dc62b15c2f0546a6654847491c7e1833c7021c4b4d29f41ff6df"
}
]
}