MAL-2026-13451Malicious code in nms-dashboard-js (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
9.9.0 | unavailable | — | — | — |
9.9.11 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | nms-dashboard-js | * |
| npm | nms-dashboard-js | 9.9.0 |
| npm | nms-dashboard-js | 9.9.11 |
{"schema_version":"1.7.4","id":"MAL-2026-13451","published":"2026-08-06T16:23:25Z","modified":"2026-08-20T21:45:12.583684095Z","aliases":["GHSA-c9w9-2cw6-865g"],"summary":"Malicious code in nms-dashboard-js (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ab87107c47e765b4214ccd31eac720d9d082b0cb5040d8acf90c8af00db5a601)\nnms-dashboard-js@9.9.11 declares an npm install lifecycle hook (`scripts.install: \"node index.js\"`) that unconditionally requires `./lib/core` inside a swallow-all try/catch. The loaded code reads `os.userInfo().username`, `os.hostname()`, and the basename of `process.cwd()`, concatenates them with a timestamp into a subdomain of `oob.sl4x0.xyz`, and issues a `dns.resolve4` lookup, exfiltrating installer host identifiers via DNS out-of-band. The destination domain and the API/property names (`os`, `dns`, `userInfo`, `hostname`, `cwd`, `resolve4`, `oob.sl4x0.xyz`) are reconstructed at runtime from hex char-code arrays in `lib/b02e30.js` and `lib/6ad264.js` to conceal the sink. The beacon also fires on any `require()` of the package, not only on install. The advertised purpose (\"enterprise utilities\") does not require any such network activity.\n\n## Source: ghsa-malware (f2134e0ebb992231ac259bbad998fd42174b0c70a2b7c6c8d7c4adc5da5d0726)\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":"nms-dashboard-js","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["9.9.11","9.9.0"],"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"}],"indicators":{"evidence_files":[{"path":"lib/core.js","sha256":"397d1435e7291ed6b02b8627033a110124d250a54290b3a8f9f248573fd6a2d4","tlsh":"38014929a393c08f97e096d0361a03d18499c380e7ce80a5fa7c4a87904e7d1cac5a96"},{"path":"lib/b02e30.js","sha256":"2de3b284eb8a271d2d90ccdf475822e831f424a71b4cc4813e15ac86b2300249","tlsh":"41e068173313c94fa1980bf77a0050e0aa0d8b58a21dc0d6b518678600af447c0c0232"},{"path":"package.json","sha256":"9473c9393cef6fdfedbb93e01982a684f2aada843a1ca78912e677e0ca1a4f76","tlsh":"72215b35ce244c336ec86aa49c692a42f5a24c175d407c1933c7a12c8faf26f12ff65d"}],"package_integrity":[{"filename":"nms-dashboard-js-9.9.11.tgz","hashes":{"sha1":"70a51cddf17ddae33679b527ceb065fa6326837c","sha512_sri":"sha512-BvwU0rTZzDX3a+tNo8UpJgg3vVuT1AxRpcGtjG/qbGNr46ffnwF0uVGXqGfUwPnsJY/GY1nMKrQ68zHM/z6qfA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/nms-dashboard-js/v/9.9.11"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c9w9-2cw6-865g"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/nms-dashboard-js/v/9.9.0"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-016685","import_time":"2026-08-06T18:09:05.974114066Z","modified_time":"2026-08-06T16:23:25Z","sha256":"ab87107c47e765b4214ccd31eac720d9d082b0cb5040d8acf90c8af00db5a601","source":"amazon-inspector","versions":["9.9.11"]},{"id":"GHSA-c9w9-2cw6-865g","import_time":"2026-08-20T16:25:42.689953794Z","modified_time":"2026-08-20T16:14:12Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"f2134e0ebb992231ac259bbad998fd42174b0c70a2b7c6c8d7c4adc5da5d0726","source":"ghsa-malware"},{"id":"IN-MAL-2026-018489","import_time":"2026-08-20T21:43:27.457113932Z","modified_time":"2026-08-20T21:18:20Z","sha256":"272f3803105d2075198e8daa1805fc4a85e316ef17b8aa1f43fd3ab255db23c8","source":"amazon-inspector","versions":["9.9.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0