@servicetitan/marketing-ui
Affected
- Versions:
9.3.1,9.3.2,9.3.3,9.3.4,9.3.5,9.3.6,9.3.7
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-m8vp-9mgm-6m6h
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in @servicetitan/marketing-ui (npm)
npm/@servicetitan/marketing-ui 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.
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (86036746469bae99806623f4a715d9f082c5bf65fe8ae7bd9c54155a484e6715)
Version 9.3.2 of @servicetitan/marketing-ui ships an obfuscated preinstall pipeline that fires automatically on npm install. package.json declares "preinstall": "node setup.mjs". setup.mjs is obfuscated with hex-mangled identifiers (e.g. _0x488df8, _0x52943e) and indirection wrapper dictionaries (_0x19328d.YCZJE(...)) that hide plain calls to network and process APIs. At install time it downloads the Bun runtime binary from https://github.com/oven-sh/bun/releases/download/bun-v1.3.13/<platform>.zip, chmods it executable, and invokes it via execFileSync(bun, ['math_init.js'], {cwd: D}) to run a sibling file. math_init.js is a 720KB Bun-compiled bundle whose header is // @bun @bun-cjs, followed by string-array rotation (WV8StW) over a large mixed dictionary and a 78-character-alphabet decoder (hc1jfK9), preventing inspection of its behavior. The package's declared purpose is a React marketing UI component library, which does not require a second language runtime or an opaque compiled payload at install time. Executing this preinstall hook runs attacker-chosen code on the installer's machine outside Node's normal resolution, evading scanners that only inspect Node-resolved code.
Source: ghsa-malware (9e795fb850864da5a2da34a8e7d4af4c26921c0b68e30e5691c536de607c9a6a)
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.
Not rated by the source.
9.3.1, 9.3.2, 9.3.3, 9.3.4, 9.3.5, 9.3.6, 9.3.7None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0