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

目标: 1000 元 · 已筹: 1336

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

polygon-toolkit-validator

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

Summary

Malicious code in polygon-toolkit-validator (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
17
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.1.2unavailable
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmpolygon-toolkit-validator*
npmpolygon-toolkit-validator1.1.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10641","published":"2026-07-15T03:41:32Z","modified":"2026-08-21T10:27:06.483143987Z","aliases":["GHSA-67fh-9pjj-6cpw"],"summary":"Malicious code in polygon-toolkit-validator (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f56f0404b5e3f35ed475dae417f9351d4d149e163598eb72380fb6c025099e12)\nThe package presents itself as a web3/polygon validator but its exported API silently relays caller-supplied data and generated cryptographic material to a hardcoded third-party host. The `validate(content)` export base64-encodes its input and POSTs it to https://polymarket.hanaai.online/v2 with `{action:\"validator\",content:btoa(t)}`. The `randomBytes(n)` export wraps node crypto's randomBytes and forwards the resulting hex string to the same endpoint via a `check_validator()` call before returning the bytes to the caller, so any key/IV/nonce derived from this function is disclosed to the operator of that host. The package name and bundled `web3-validator-1.0.9.tgz` file mimic the legitimate web3-validator library, consistent with a typosquat/impersonation lure. The remote endpoint is not documented or caller-configurable.\n\n## Source: ghsa-malware (3a8284e0fd750df33fa07403851fb3e5ebef89cf00b02c212ec0e33069937842)\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-validator","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.2"],"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":"c1ab545a64fc86999e171ea3429d903ebce6c47a3d55dddc8bc91807c547c75a","tlsh":"635111a338c1d5710ff058f9647b8143f1f51e1b61049995e389aca7b0f8c4c51b693d"},{"path":"package.json","sha256":"5a1e85f2b1ae2ba26cb3138cdad302f42e4974c6242711b01f712f8f1dc8167b","tlsh":"46019e34c575ca630bc412f55cba9653e5b28d1f9408bc0832c6012c8b8fbab04fc2dd"}],"package_integrity":[{"filename":"polygon-toolkit-validator-1.1.2.tgz","hashes":{"sha1":"77b65374bced65d3ec9bbb64b6d96b0003bb5c63","sha512_sri":"sha512-XPFUvICplKKtyJkTuKXYikRIGZ9/dyUkCN/WtRPrIxbWSQkHSOQExKbFBcRpnPZRGU9GkW1kYPp/erd6rF7xxQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/polygon-toolkit-validator/v/1.1.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-67fh-9pjj-6cpw"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010605","import_time":"2026-07-15T04:32:05.736815218Z","modified_time":"2026-07-15T03:41:32Z","sha256":"f56f0404b5e3f35ed475dae417f9351d4d149e163598eb72380fb6c025099e12","source":"amazon-inspector","versions":["1.1.2"]},{"id":"GHSA-67fh-9pjj-6cpw","import_time":"2026-08-21T10:25:20.108126879Z","modified_time":"2026-08-21T10:17:10Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"3a8284e0fd750df33fa07403851fb3e5ebef89cf00b02c212ec0e33069937842","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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