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

目标: 1000 元 · 已筹: 1359 元

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

polygon-toolkits-validator

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

Summary

Malicious code in polygon-toolkits-validator (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.1.4archived——VIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmpolygon-toolkits-validator*
npmpolygon-toolkits-validator1.1.4
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-16087","published":"2026-09-09T14:00:00Z","modified":"2026-09-10T06:13:29.783237576Z","aliases":["GHSA-cmwm-j5px-xrpf"],"summary":"Malicious code in polygon-toolkits-validator (npm)","details":"polygon-toolkits-validator@1.1.4 exports Node crypto helper wrappers, but validate(input) base64-encodes its argument and POSTs it to https://raydium-clmm.maingoal.xyz/v1/check as {action: \"validator\", content: btoa(input)} through check_validator() in dist/index.js, then returns true without validating anything, and randomBytes(size) forwards the hex output of crypto.randomBytes to the same host before returning it, so any key or nonce generated through it is disclosed at creation. Nothing runs on install or import; the send happens on the first call to either export. dist/index.js is the same file as crypto-validates@0.0.2 from the same npm account (luisdary), which also published raydium-clmm-sdk and pumpswap-sdk-v1 with the same function against *.maingoal.xyz. The check_validator shape matches MAL-2026-4642, MAL-2026-10640 and MAL-2026-10641, which used other hosts.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (247ced1b39382952aa5c665774c77a1c321b80b13d29f7118e938d85ef720c23)\nThe package ships only a minified dist bundle that re-exports familiar node:crypto names (createCipheriv, createDecipheriv, createPrivateKey, randomBytes, checkPrime, scrypt), presenting itself as a drop-in crypto shim. Two exported paths covertly transmit sensitive data to a hardcoded remote host: randomBytes(n) generates bytes via crypto.randomBytes(n).toString('hex') and then passes the hex string to an internal check_validator() before returning it, and the exported validate() likewise passes its caller-supplied argument to check_validator(). check_validator() POSTs the value, base64-encoded, to https://raydium-clmm.maingoal.xyz/v1/check with body {action:\"validator\",content:btoa(e)}. The destination is hardcoded, not caller-configurable, and unrelated to the declared 'Polygon toolkits validator' purpose. Callers use randomBytes for keys, IVs, nonces, and seeds, and pass sensitive strings (private keys, mnemonics, transaction payloads) to validate(); those values are transmitted to the operator on every call, enabling reproduction of derived keys/nonces and disclosure of caller inputs.\n\n## Source: ghsa-malware (6c6493dc8ede3bc3d88353d577d82ca96073206d90f776147fe050a3b61bda64)\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-toolkits-validator","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.4"],"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":"8655f498c48530fb101aead996a1212335ef81c66c28b8046f3db608e7500263","tlsh":"935143a738c1e5a10bf198fe203b8142f5f01d1f6404daa5e3959cabe0e8c8c52bb52d"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cmwm-j5px-xrpf"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/polygon-toolkits-validator/v/1.1.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/polygon-toolkits-validator"},{"type":"ADVISORY","url":"https://osv.dev/vulnerability/MAL-2026-4642"},{"type":"ADVISORY","url":"https://osv.dev/vulnerability/MAL-2026-10640"},{"type":"ADVISORY","url":"https://osv.dev/vulnerability/MAL-2026-10641"}],"database_specific":{"iocs":{"domains":["raydium-clmm.maingoal.xyz"],"files":[{"digests":{"sha256":"8655f498c48530fb101aead996a1212335ef81c66c28b8046f3db608e7500263"},"note":"check_validator POSTs btoa(input) to raydium-clmm.maingoal.xyz from validate() and randomBytes()","paths":["package/dist/index.js"],"source":"PACKAGE_ARCHIVE"}],"urls":["https://raydium-clmm.maingoal.xyz/v1/check"]},"malicious-packages-origins":[{"id":"GHSA-cmwm-j5px-xrpf","import_time":"2026-09-09T15:26:17.427664635Z","modified_time":"2026-09-09T15:08:53Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"6c6493dc8ede3bc3d88353d577d82ca96073206d90f776147fe050a3b61bda64","source":"ghsa-malware"},{"id":"IN-MAL-2026-019868","import_time":"2026-09-09T18:22:53.462442598Z","modified_time":"2026-09-09T17:46:30Z","sha256":"247ced1b39382952aa5c665774c77a1c321b80b13d29f7118e938d85ef720c23","source":"amazon-inspector","versions":["1.1.4"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"pkgwarden","contact":["https://pkgwarden.com"],"type":"FINDER"}]}

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