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

目标: 1000 元 · 已筹: 1359 元

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

service-roles-registry

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

Summary

Malicious code in service-roles-registry (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmservice-roles-registry99.0.1
npmservice-roles-registry99.0.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-18519","published":"2026-11-02T17:58:10Z","modified":"2026-11-04T06:00:05.182327837Z","summary":"Malicious code in service-roles-registry (npm)","details":"service-roles-registry runs code during `npm install` that reads the process environment, credential files or the machine's identity and contains a request to an external collection endpoint:\n\n- 99.0.2 (published 2026-11-02 17:53 UTC): its `preinstall` script is `node index.js`, which npm runs during `npm install`. In `index.js` (SHA-256 `ca719dd4b07aeddffaf59facde11726e981bad6d15620b47407f943ea00bb496`), lines 9-15 contain a request address on a public request-collection service, `https://eog6t9e6egptozp.m.pipedream.net` (line 15), a read of the machine's identity, `os.hostname()` (line 9), a read of the machine's identity, `os.userInfo()` (line 10) and a network request call, `https.request(` (line 15).\n\nThe code is quoted from the published archive.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4b228283b1cc1ad44b34a38d3ca79fb5b3f14d278ff50447b1b631cfd4fab9e0)\nservice-roles-registry@99.0.2 runs index.js as a preinstall script. On npm install, index.js reads os.hostname(), os.userInfo().user, process.cwd(), and package metadata and POSTs them over HTTPS to the hardcoded endpoint https://eog6t9e6egptozp.m.pipedream.net. The version number (99.0.2) and name shape are consistent with a dependency-confusion lure intended to win resolution against an internal package of the same name. Installation causes host identifiers of the installing machine or build system to be transmitted to a third-party collector with no consent, documentation, or opt-out.\n","affected":[{"package":{"name":"service-roles-registry","ecosystem":"npm"},"versions":["99.0.2","99.0.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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"ca719dd4b07aeddffaf59facde11726e981bad6d15620b47407f943ea00bb496","tlsh":"6ff0e7f4e5f55b7216f8d1c0b0915905a293d533fa07346297c807682fcd9fb103155d"}],"package_integrity":[{"filename":"service-roles-registry-99.0.2.tgz","hashes":{"sha1":"034f3a1c02df38641959a031faad52a138d61d19","sha512_sri":"sha512-M8RhTjTEi4Yux50b14L8ePjQ7YkEcfYadKEJDGCDfrHuvmmiddUFWTjpCocgqxhRAUusx+vzqvcm9DBDz/QcOA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/service-roles-registry/v/99.0.2"}],"database_specific":{"iocs":{"domains":["eog6t9e6egptozp.m.pipedream.net"],"files":[{"digests":{"sha256":"ca719dd4b07aeddffaf59facde11726e981bad6d15620b47407f943ea00bb496"},"note":"Run during npm install (lines 9-15).","paths":["index.js"],"source":"PACKAGE_ARCHIVE"}],"ips":[],"urls":["https://eog6t9e6egptozp.m.pipedream.net"]},"malicious-packages-origins":[{"id":"IN-MAL-2026-022531","import_time":"2026-11-03T06:40:39.178246961Z","modified_time":"2026-11-03T06:29:09Z","sha256":"4b228283b1cc1ad44b34a38d3ca79fb5b3f14d278ff50447b1b631cfd4fab9e0","source":"amazon-inspector","versions":["99.0.2"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"},{"name":"Linus Baumberger (Gatekeeper)","contact":["https://github.com/lb2002"],"type":"FINDER"}]}

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