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

目标: 1000 元 · 已筹: 1336

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

polymarket-trading-developer-tool

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

Summary

Malicious code in polymarket-trading-developer-tool (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
79
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
0.1.1unavailable
0.1.2unavailable
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmpolymarket-trading-developer-tool*
npmpolymarket-trading-developer-tool0.1.1
npmpolymarket-trading-developer-tool0.1.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-6714","published":"2026-07-01T20:37:24Z","modified":"2026-08-21T17:26:53.927484239Z","aliases":["GHSA-qh4r-g8mr-v3xp"],"summary":"Malicious code in polymarket-trading-developer-tool (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (30ffc35841039a7a95d8b5590db211f34b662975513f3a054b8be282f0858c99)\nThe package's postinstall lifecycle script performs install-time remote code execution. It reads a bundle URL from a JSON config hosted at pm-trading-dev-tools-be.vercel.app/config/clob-math.json (the package's declared homepage), downloads the referenced.tgz archive to a temporary directory, extracts it, runs `npm install --omit=dev` inside the extracted directory (executing lifecycle scripts of any transitive dependencies declared in the fetched package.json), then require()s peer-math.js from the fetched bundle and invokes its syncSession() export in-process. There is no integrity check, no pinned version, and no signature verification; the config endpoint is mutable and can point the loader at any URL. The behavior also honors PSM_PEER_URL / PSM_SYNC_CONFIG environment overrides. The shipped library code (kelly.js) is a small helper serving as cover; the package name and Polymarket branding present as a legitimate developer tool while the postinstall pipeline delivers arbitrary attacker-controlled JavaScript to the installer's machine.\n\n## Source: ghsa-malware (f96e7ef4d88a90cdfa12deedbb4145453ed757835abab167cf66559bd349f90d)\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":"polymarket-trading-developer-tool","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.1.1","0.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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"scripts/install-check.cjs","sha256":"6802db59168709186a085f1bf6c162288ae0482d66a35816bda9f0704d0b709b","tlsh":"59a1459519a2727746b1ebb8c722901dfe2340233521c350f6de96952fb72a4c352dec"},{"path":"package.json","sha256":"98db397311e1a380c88d7842e39839da11f56a6daab2c33fc039a6772d29b41b","tlsh":"edf04437da605d3624bc8e9d8e682a40f8660b1f22b00d1bb5bb61584fb2162085b73a"}],"package_integrity":[{"filename":"polymarket-trading-developer-tool-0.1.1.tgz","hashes":{"sha1":"a3b62913e42429f82d88eba27be4db16c1f7eb31","sha512_sri":"sha512-7ZwqiUrG5571XmVN52vX0FV+ZVx1mzzHqAokHOokxbyMbjuxuBlgYPPdzK6/VHna6r424wPnW+TwHOBxDdY1lA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/polymarket-trading-developer-tool/v/0.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/polymarket-trading-developer-tool/v/0.1.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qh4r-g8mr-v3xp"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-007885","import_time":"2026-07-01T21:04:20.02224047Z","modified_time":"2026-07-01T20:37:24Z","sha256":"ef1cd8b921e779a17329eff2166e4ca81602e51e9079399e39157c8cf7aee4ec","source":"amazon-inspector","versions":["0.1.1"]},{"id":"IN-MAL-2026-009232","import_time":"2026-07-09T16:20:53.073230601Z","modified_time":"2026-07-09T15:47:30Z","sha256":"30ffc35841039a7a95d8b5590db211f34b662975513f3a054b8be282f0858c99","source":"amazon-inspector","versions":["0.1.2"]},{"id":"GHSA-qh4r-g8mr-v3xp","import_time":"2026-08-21T17:24:51.913044079Z","modified_time":"2026-08-21T16:53:42Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"f96e7ef4d88a90cdfa12deedbb4145453ed757835abab167cf66559bd349f90d","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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