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

目标: 1000 元 · 已筹: 1359 元

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

set-proto-chain

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

Summary

Malicious code in set-proto-chain (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmset-proto-chain1.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-06T19:55:38Z","published":"2026-06-17T21:38:59Z","schema_version":"1.7.4","id":"MAL-2026-6079","aliases":["GHSA-7p39-r7q7-jcv7"],"summary":"Malicious code in set-proto-chain (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bdb11eef3afbfc268bd48a18737884246861c7ae9e6a3d29901ae1379216c633)\nlib/index.js contains a base64-encoded URL (decoding to https://jsonkeeper.com/b/BN77K, an anonymous mutable paste host) that is fetched via axios.get; the response's `.data.cookie` field is then written to the stdin of a detached `node` child process for execution. The top-level index.js calls getThetaInterface() unconditionally, and package.json declares `postinstall: node index.js`, so the fetch-and-execute path fires automatically on `npm install` as well as on require(). The fetched payload is attacker-controlled and can change at any time. The package additionally impersonates the legitimate `proto-chain` package (README header `# proto-chain`, runtime error messages referencing `require('proto-chain')`), making accidental installs more likely.\n\n## Source: ghsa-malware (e5464b83f14b49df255a13a51392d93c6632bd5605d85a3c670d99d37b967417)\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":{"ecosystem":"npm","name":"set-proto-chain"},"versions":["1.0.3"],"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":{"evidence_files":[{"path":"lib/index.js","sha256":"72a8a52cbb98921b689173423a2970d414fd2c32e3a5aea47db7be9550024a10","tlsh":"46f0275b317b63781f700de0d53289364d43d020f582d1e4648e80579a8b647044aeec"},{"path":"package.json","sha256":"ce924b408f4f3fc6200295dc9c5a8083a6bf5802872cb8cf7c495d1d1b9ee6d5","tlsh":"0d21bb21e4e2aca307e5526a3c2e52573191d917898bfc0cb3aa034c8f5c63b92f825d"}],"package_integrity":[{"filename":"set-proto-chain-1.0.3.tgz","hashes":{"sha1":"cc8af25f10faa1ecdd3bd6e4d22164b63e361e7e","sha512_sri":"sha512-WFO6/fFWU5IiKgDwkGONGAKSeUtksNNXWJcqoc+yCPksqQXvztZoHwxDVZf5UhKyW1a56N2cecJJEZQi2inqAg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/set-proto-chain/v/1.0.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-7p39-r7q7-jcv7"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"bdb11eef3afbfc268bd48a18737884246861c7ae9e6a3d29901ae1379216c633","import_time":"2026-06-17T21:42:18.106575788Z","id":"IN-MAL-2026-006943","modified_time":"2026-06-17T21:38:59Z","versions":["1.0.3"]},{"source":"ghsa-malware","sha256":"e5464b83f14b49df255a13a51392d93c6632bd5605d85a3c670d99d37b967417","import_time":"2026-07-06T19:53:47.936271169Z","id":"GHSA-7p39-r7q7-jcv7","modified_time":"2026-07-06T18:57:48Z","versions":["1.0.3"]}]}}

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