npm/@servicetitan/thoughtspot-theme 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 @servicetitan/thoughtspot-theme@1.7.5 declares itself as a ThoughtSpot theme-wiring helper but ships an install-time dropper that runs under a freshly-downloaded alternate JavaScript runtime, bypassing Node-based scanning. package.json sets scripts.preinstall = "node setup.mjs". setup.mjs uses obfuscated _0xXXXX string-lookup identifiers; it attempts to locate a local bun binary and otherwise downloads the Bun runtime ZIP from https://github.com/oven-sh/bun/releases/download/bun-v<version>/..., extracts it to a temp directory, chmods it to 0755, and invokes it via execFileSync(bunPath, ['math_init.js'], { cwd: D }). The executed math_init.js is a 727KB single-line, string-array-shuffle obfuscated bundle (rotating WV8StW shifter over a large n7gIxM dictionary with hex/base decoder hc1jfK9) whose contents are opaque and unrelated to CSS/theme wiring. package.json files declares only dist, yet both setup.mjs and math_init.js ship at tarball root and execute during npm install; the dist/index.js theme code is not reached by the preinstall path. The alternate-runtime dropper shape — install-time fetch of a different language runtime specifically to execute a shipped obfuscated payload the Node scanners cannot read — is the fingerprint of a loader/stealer under a scope-impersonation cover story.
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": [
{
"source": "ghsa-malware",
"import_time": "2026-08-05T00:10:17.985036602Z",
"sha256": "e3d04455baed0f86090c296632f43b4d78f7420860e2090d2ba585728f4355c5",
"modified_time": "2026-08-04T16:36:12Z",
"id": "GHSA-8j4v-wf47-8qmj",
"versions": [
"1.7.7",
"1.7.6",
"1.7.4",
"1.7.3",
"1.7.2",
"1.7.1"
]
},
{
"import_time": "2026-08-05T00:44:44.147506466Z",
"modified_time": "2026-08-05T00:10:52Z",
"sha256": "cb2ab2fb9561214f5a89b02bda0266088ed661a1bc855d66e8f81851df2b54ea",
"source": "amazon-inspector",
"id": "IN-MAL-2026-011405",
"versions": [
"1.7.7"
]
},
{
"import_time": "2026-08-05T04:38:07.162630665Z",
"modified_time": "2026-08-05T03:55:34Z",
"sha256": "1b38c5105e6f483e6cab6cd371b1e664666473a84f8f2ff873dac4daf8d4afb2",
"source": "amazon-inspector",
"id": "IN-MAL-2026-012409",
"versions": [
"1.7.1"
]
},
{
"import_time": "2026-08-05T04:38:37.617115251Z",
"modified_time": "2026-08-05T04:32:18Z",
"sha256": "477fcd38370aee8996bfe412da6f14d03f4e5c5212f027fdb69686ff451b65c7",
"source": "amazon-inspector",
"id": "IN-MAL-2026-012668",
"versions": [
"1.7.4"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T04:38:03.478056122Z",
"sha256": "be9cb4b6b5640b3467fd89526a0782805262b5a7482944136726712d03d6dad0",
"modified_time": "2026-08-05T03:51:04Z",
"id": "IN-MAL-2026-012378",
"versions": [
"1.7.2"
]
},
{
"source": "amazon-inspector",
"import_time": "2026-08-05T04:38:17.746824061Z",
"sha256": "d0d26f3aa6dfda31f5de8941916210491a425532d5dcfa1cd7be872ebbd1dbec",
"modified_time": "2026-08-05T04:08:42Z",
"id": "IN-MAL-2026-012501",
"versions": [
"1.7.6"
]
},
{
"import_time": "2026-08-05T04:37:51.04554048Z",
"modified_time": "2026-08-05T03:35:42Z",
"sha256": "f9704c459112f631fe0de107807dc510b36aa86500984936d6d113c440a7adee",
"source": "amazon-inspector",
"id": "IN-MAL-2026-012271",
"versions": [
"1.7.5"
]
},
{
"import_time": "2026-08-05T05:59:57.12473078Z",
"modified_time": "2026-08-05T04:40:29Z",
"sha256": "c0f7e1809782dd47eadfef985f3f0429af3912793d9d32831ddf1f78523b1900",
"source": "amazon-inspector",
"id": "IN-MAL-2026-012727",
"versions": [
"1.7.3"
]
}
],
"iocs": {
"files": [
{
"source": "PACKAGE_ARCHIVE",
"paths": [
"setup.mjs"
],
"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."
}
]
}
}"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/thoughtspot-theme/MAL-2026-11933.json"
{
"package_integrity": [
{
"filename": "thoughtspot-theme-1.7.7.tgz",
"hashes": {
"sha512_sri": "sha512-5DgaFC1VdMpcJQyAsT8kRKOG6RPCee230fLGyweX9zdyxV9RT5dm8jywzXOaqrY0WJU4+TL+baE77HIcFeqGlg==",
"sha1": "b6cbf2af067bb56d9a0c585d2aeb8eb556f42594"
}
}
],
"evidence_files": [
{
"tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
"sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
"path": "setup.mjs"
},
{
"tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
"sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
"path": "math_init.js"
},
{
"tlsh": "eb01a624c6991cb322cc20e48c2b0243529e49030a143e9c73d7134c0b9c7ef60bb93d",
"sha256": "1d5f39eb0d8014e8a829b5f08c00ce2da730d8ce1b6dec32bd24a161efe5846d",
"path": "package.json"
}
]
}
[
{
"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."
}
]