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

目标: 1000 元 · 已筹: 1359 元

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

@servicetitan/startup-mfe-compat

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

Summary

Malicious code in @servicetitan/startup-mfe-compat (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
1,307
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@servicetitan/startup-mfe-compat0.5.1
npm@servicetitan/startup-mfe-compat0.5.2
npm@servicetitan/startup-mfe-compat0.5.3
npm@servicetitan/startup-mfe-compat0.5.4
npm@servicetitan/startup-mfe-compat0.5.5
npm@servicetitan/startup-mfe-compat0.5.6
npm@servicetitan/startup-mfe-compat0.5.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11925","published":"2026-08-04T15:42:22Z","modified":"2026-08-05T06:02:51.703631099Z","aliases":["GHSA-9xw4-632p-2r25"],"summary":"Malicious code in @servicetitan/startup-mfe-compat (npm)","details":"npm/@servicetitan/startup-mfe-compat 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 (73e1030d5996ba19e714b9ceed02a15cae1b9e5ccc297a4eb40b529c51479f2f)\nPackage @servicetitan/startup-mfe-compat@0.5.2 declares a preinstall script `node setup.mjs` that fires automatically on `npm install`. setup.mjs downloads the Bun runtime from the Bun GitHub releases, extracts it to a temp directory, chmods it executable, and invokes it against the sibling file math_init.js via `execFileSync(bunPath, [math_init.js], {stdio:'inherit'})`. math_init.js is a ~730KB single-line Bun-cjs bundle whose body is driven by a character-code array and a string-array decoder (identifiers `hc1jfK9`, `WV8StW`, `_0x...`), with no relation to the package's advertised MFE-compat purpose (dist/index.js is a thin re-export of utilities). setup.mjs itself uses obfuscator.io-style name mangling and dictionary-property indirection. The package publishes under the `@servicetitan` scope with homepage docs.st.dev and repo servicetitan/anvil-uikit-contrib, but the shipped preinstall dropper and opaque Bun payload are inconsistent with a first-party ServiceTitan micro-frontend helper, indicating scope impersonation. The alternate-runtime-dropper shape (fetch an alien runtime, then execute an obfuscated payload under it) is used to evade Node-based install-time scanners; the executed code is opaque to inspection without deobfuscating a 730KB bundle.\n\n## Source: ghsa-malware (b94dcab498205478369e38a8ee799239bc901c83359ce09661ee8e0098a538d4)\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/startup-mfe-compat","ecosystem":"npm"},"versions":["0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.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"}],"package_integrity":[{"filename":"startup-mfe-compat-0.5.5.tgz","hashes":{"sha1":"9ab2a4abe62175cb6e0737c1a2937e40da5000b5","sha512_sri":"sha512-rGuS1oP3RbH3dvf2DZImMzvFS98xufEqLxX6g1mKBXGh5gXfRBs3ZyWbP17ovbiCJMf3NHLVJbA1+LMr8sqs7w=="}}]}}}],"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/startup-mfe-compat"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9xw4-632p-2r25"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@servicetitan/startup-mfe-compat/v/0.5.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@servicetitan/startup-mfe-compat/v/0.5.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@servicetitan/startup-mfe-compat/v/0.5.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@servicetitan/startup-mfe-compat/v/0.5.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@servicetitan/startup-mfe-compat/v/0.5.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@servicetitan/startup-mfe-compat/v/0.5.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@servicetitan/startup-mfe-compat/v/0.5.2"}],"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-9xw4-632p-2r25","import_time":"2026-08-05T00:10:18.017811377Z","modified_time":"2026-08-04T16:43:50Z","sha256":"b94dcab498205478369e38a8ee799239bc901c83359ce09661ee8e0098a538d4","source":"ghsa-malware","versions":["0.5.7","0.5.6","0.5.5","0.5.4","0.5.3","0.5.2","0.5.1"]},{"id":"IN-MAL-2026-012553","import_time":"2026-08-05T04:38:24.538027256Z","modified_time":"2026-08-05T04:16:23Z","sha256":"09153486e76584a4d9f0806080fab9f0533d17a1c8fe0e7298808166987d5eb7","source":"amazon-inspector","versions":["0.5.5"]},{"id":"IN-MAL-2026-012515","import_time":"2026-08-05T04:38:19.609919839Z","modified_time":"2026-08-05T04:10:57Z","sha256":"84f8df2a86f0a3213da4093ffbd7f85cbef93823d535934a9c6a5aafebc04afe","source":"amazon-inspector","versions":["0.5.6"]},{"id":"IN-MAL-2026-012427","import_time":"2026-08-05T04:38:09.227329693Z","modified_time":"2026-08-05T03:58:05Z","sha256":"88d243df99088c155021355093adb327669255c7c8939c96be7ab7bd20f8cea5","source":"amazon-inspector","versions":["0.5.7"]},{"id":"IN-MAL-2026-012126","import_time":"2026-08-05T04:37:33.425560991Z","modified_time":"2026-08-05T03:15:19Z","sha256":"a990da55989112ca7c07ed86336a1a22e0697e29ba32f601e8f754143109e93f","source":"amazon-inspector","versions":["0.5.3"]},{"id":"IN-MAL-2026-012601","import_time":"2026-08-05T04:38:30.465326136Z","modified_time":"2026-08-05T04:23:10Z","sha256":"b51649e1b7a571c7770b8bbaf6d16f59044a32ec8c45420db4e44fac19c86266","source":"amazon-inspector","versions":["0.5.4"]},{"id":"IN-MAL-2026-012815","import_time":"2026-08-05T06:00:07.696301892Z","modified_time":"2026-08-05T04:53:14Z","sha256":"21bd4787695905eb325b3a9b63e8db926c76d4875e1227f94fa7ba5d77191ba5","source":"amazon-inspector","versions":["0.5.1"]},{"id":"IN-MAL-2026-012774","import_time":"2026-08-05T06:00:02.674336508Z","modified_time":"2026-08-05T04:47:11Z","sha256":"73e1030d5996ba19e714b9ceed02a15cae1b9e5ccc297a4eb40b529c51479f2f","source":"amazon-inspector","versions":["0.5.2"]}]},"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