目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

@servicetitan/thoughtspot-theme

MAL-2026-11933
2026-08-05 06:02:52
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in @servicetitan/thoughtspot-theme (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
83
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@servicetitan/thoughtspot-theme1.7.1
npm@servicetitan/thoughtspot-theme1.7.2
npm@servicetitan/thoughtspot-theme1.7.3
npm@servicetitan/thoughtspot-theme1.7.4
npm@servicetitan/thoughtspot-theme1.7.5
npm@servicetitan/thoughtspot-theme1.7.6
npm@servicetitan/thoughtspot-theme1.7.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11933","published":"2026-08-04T15:29:30Z","modified":"2026-08-05T06:02:51.713964274Z","aliases":["GHSA-8j4v-wf47-8qmj"],"summary":"Malicious code in @servicetitan/thoughtspot-theme (npm)","details":"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 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.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f9704c459112f631fe0de107807dc510b36aa86500984936d6d113c440a7adee)\nPackage `@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.\n\n## Source: ghsa-malware (e3d04455baed0f86090c296632f43b4d78f7420860e2090d2ba585728f4355c5)\nAny 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.\n","affected":[{"package":{"name":"@servicetitan/thoughtspot-theme","ecosystem":"npm"},"versions":["1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7"],"database_specific":{"cwes":[{"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.","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.","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.","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.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"setup.mjs","sha256":"fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb","tlsh":"9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be"},{"path":"math_init.js","sha256":"9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc","tlsh":"59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d"},{"path":"package.json","sha256":"1d5f39eb0d8014e8a829b5f08c00ce2da730d8ce1b6dec32bd24a161efe5846d","tlsh":"eb01a624c6991cb322cc20e48c2b0243529e49030a143e9c73d7134c0b9c7ef60bb93d"}],"package_integrity":[{"filename":"thoughtspot-theme-1.7.7.tgz","hashes":{"sha1":"b6cbf2af067bb56d9a0c585d2aeb8eb556f42594","sha512_sri":"sha512-5DgaFC1VdMpcJQyAsT8kRKOG6RPCee230fLGyweX9zdyxV9RT5dm8jywzXOaqrY0WJU4+TL+baE77HIcFeqGlg=="}}]}}}],"references":[{"type":"WEB","url":"https://socket.dev/blog/popular-npm-packages-in-the-keyv-and-cacheable-namespaces-compromised-in-active-supply-chain"},{"type":"WEB","url":"https://www.aikido.dev/blog/keyv-and-friends-compromised-in-npm-supply-chain-attack"},{"type":"WEB","url":"https://safedep.io/keyv-npm-supply-chain-compromise/"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@servicetitan/thoughtspot-theme"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8j4v-wf47-8qmj"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@servicetitan/thoughtspot-theme/v/1.7.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@servicetitan/thoughtspot-theme/v/1.7.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@servicetitan/thoughtspot-theme/v/1.7.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@servicetitan/thoughtspot-theme/v/1.7.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@servicetitan/thoughtspot-theme/v/1.7.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@servicetitan/thoughtspot-theme/v/1.7.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@servicetitan/thoughtspot-theme/v/1.7.3"}],"database_specific":{"iocs":{"files":[{"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":["setup.mjs"],"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.","paths":["Math_Symbol.js","math_init.js"],"source":"PACKAGE_ARCHIVE"}]},"malicious-packages-origins":[{"id":"GHSA-8j4v-wf47-8qmj","import_time":"2026-08-05T00:10:17.985036602Z","modified_time":"2026-08-04T16:36:12Z","sha256":"e3d04455baed0f86090c296632f43b4d78f7420860e2090d2ba585728f4355c5","source":"ghsa-malware","versions":["1.7.7","1.7.6","1.7.4","1.7.3","1.7.2","1.7.1"]},{"id":"IN-MAL-2026-011405","import_time":"2026-08-05T00:44:44.147506466Z","modified_time":"2026-08-05T00:10:52Z","sha256":"cb2ab2fb9561214f5a89b02bda0266088ed661a1bc855d66e8f81851df2b54ea","source":"amazon-inspector","versions":["1.7.7"]},{"id":"IN-MAL-2026-012409","import_time":"2026-08-05T04:38:07.162630665Z","modified_time":"2026-08-05T03:55:34Z","sha256":"1b38c5105e6f483e6cab6cd371b1e664666473a84f8f2ff873dac4daf8d4afb2","source":"amazon-inspector","versions":["1.7.1"]},{"id":"IN-MAL-2026-012668","import_time":"2026-08-05T04:38:37.617115251Z","modified_time":"2026-08-05T04:32:18Z","sha256":"477fcd38370aee8996bfe412da6f14d03f4e5c5212f027fdb69686ff451b65c7","source":"amazon-inspector","versions":["1.7.4"]},{"id":"IN-MAL-2026-012378","import_time":"2026-08-05T04:38:03.478056122Z","modified_time":"2026-08-05T03:51:04Z","sha256":"be9cb4b6b5640b3467fd89526a0782805262b5a7482944136726712d03d6dad0","source":"amazon-inspector","versions":["1.7.2"]},{"id":"IN-MAL-2026-012501","import_time":"2026-08-05T04:38:17.746824061Z","modified_time":"2026-08-05T04:08:42Z","sha256":"d0d26f3aa6dfda31f5de8941916210491a425532d5dcfa1cd7be872ebbd1dbec","source":"amazon-inspector","versions":["1.7.6"]},{"id":"IN-MAL-2026-012271","import_time":"2026-08-05T04:37:51.04554048Z","modified_time":"2026-08-05T03:35:42Z","sha256":"f9704c459112f631fe0de107807dc510b36aa86500984936d6d113c440a7adee","source":"amazon-inspector","versions":["1.7.5"]},{"id":"IN-MAL-2026-012727","import_time":"2026-08-05T05:59:57.12473078Z","modified_time":"2026-08-05T04:40:29Z","sha256":"c0f7e1809782dd47eadfef985f3f0429af3912793d9d32831ddf1f78523b1900","source":"amazon-inspector","versions":["1.7.3"]}]},"credits":[{"name":"Aikido Security","contact":["https://www.aikido.dev"],"type":"FINDER"},{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"SafeDep","contact":["https://safedep.io"],"type":"FINDER"},{"name":"Socket Threat Research Team","contact":["https://socket.dev"],"type":"FINDER"}]}

数据来源:OpenSSF Malicious Packages · Apache-2.0