MAL-2026-11931

    Dashboard / Malicious Package / MAL-2026-11931

    MAL-2026-11931

    Published: 4 Aug 2026Last Modified: 5 Aug 2026Aliases: 
    GHSA-76vq-x7xq-w466

    Summary: Malicious code in @servicetitan/temporal-lite (npm)

    Details: npm/@servicetitan/temporal-lite 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 Math_Symbol.js / math_init.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. Source: amazon-inspector (43990d47f8836ae516bbd180654db2f1a03eb4a23305b235312a2d4164faa800) @servicetitan/temporal-lite 3.4.7 declares itself as a small Temporal date/time polyfill, but ships a preinstall lifecycle (`scripts.preinstall = "node setup.mjs"`) that at `npm install` time downloads the Bun runtime binary from `https://github.com/oven-sh/bun/releases/download/bun-v<ver>/<arch>.zip`, extracts it to a temp directory, chmods it executable, and uses it to `execFileSync` a bundled sibling file `math_init.js`. `math_init.js` is a ~727 KB single-line Bun-compiled bundle (`// @bun @bun-cjs` header) with hex-named identifiers and a string-array rotation routine (`WV8StW`); no source is shipped and its contents are not human-readable. The package's `dist/` tree contains only ordinary Temporal polyfill code with no reference to Bun or `math_init.js`, there is no native source or `binding.gyp` that would justify a second runtime, and the repository URL points at an unrelated UI monorepo. The alternate-runtime execution path exists solely to run opaque code on the installer's machine at install time and to evade Node-based static analysis, which the Node interpreter never touches. Source: ghsa-malware (3e9f0b57953d9e39d9a7ecfb43592783c33c863aaeaf0d69d10ea15014bdcbe5) 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.

    Affected packages

    Package

    Name: @servicetitan/temporal-lite

    Purl: pkg:npm/%40servicetitan/temporal-lite

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    3.4.1
    3.4.2
    3.4.3
    3.4.4
    3.4.5
    3.4.6
    3.4.7
    MAL-2026-11931 | CVE-DB