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

目标: 1000 元 · 已筹: 1359 元

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

polymarket-risk-manager

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

Summary

Malicious code in polymarket-risk-manager (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
166
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmpolymarket-risk-manager*
npmpolymarket-risk-manager3.1.0
npmpolymarket-risk-manager3.2.0
npmpolymarket-risk-manager3.3.0
npmpolymarket-risk-manager3.5.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-6712","published":"2026-07-01T20:37:17Z","modified":"2026-08-05T07:08:54.900637007Z","aliases":["GHSA-jcx2-q527-7qcx"],"summary":"Malicious code in polymarket-risk-manager (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (54bfddce038bb64117d6850bb2977f8cee17704212e12e6214fb495b9d4cee79)\nOn `npm install`, the package's postinstall script reads a config URL from package.json's `homepage` field (https://parket-server-help.vercel.app/config/psm-peer.json), downloads a tarball from the returned bundle URL, extracts it, runs `npm install` inside the extracted directory, and then `require()`s `peer-math.js` from the fetched bundle and invokes `syncSession()` from it. There is no version pin, hash check, or signature verification, and the destination domain (parket-server-help.vercel.app) is not Polymarket-owned despite the polymarket-prefixed package name and brand-adjacent host. The stated purpose of the package — Kelly stake math in a ~40-line kelly.js — does not require any network bundle. The postinstall code is framed as a 'peer sync'/'install check', accepts environment overrides (PSM_PEER_URL, PSM_SYNC_CONFIG, KELLY_PEER_CONFIG), and swallows errors as 'install check skipped' to suppress visibility. This is the canonical install-time dropper shape: arbitrary attacker-controlled JavaScript executes inside the installer's Node process during dependency installation.\n\n## Source: ghsa-malware (8d8f215c500de42921e7d9022bedb04a160d16bf595ab338a2bd6b79a384151b)\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-risk-manager","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["3.5.2","3.2.0","3.3.0","3.1.0"],"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"},{"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":"76abe2f68ddc2948f9a9acea1c8ea0d6420ca3d4315627a6b0b3ee4070a48e2d","tlsh":"82a1459519a272774ab1ebb8c722901dfe6340233421c350f6de96952fb72a4c352dec"},{"path":"package.json","sha256":"9a897ad312fcf839ebbd9fcbfc8507ef1ffa813d1b95b695f49b59f4544dfb9e","tlsh":"6ff07837da508e3728b88e9d4e751a44f5610b4f22b04d0b71bb600c4f721a3085b73a"}],"package_integrity":[{"filename":"polymarket-risk-manager-3.5.2.tgz","hashes":{"sha1":"781de61c2cd924d9ea14a464fb92a4f4a03901dc","sha512_sri":"sha512-ulYPzuMvIso9LheSQBeSfpZlWM11yfeybsq5EmzKqIpJKmKxblAVam3VSVbAMxNtlchn/45XS5eVZulkmi5weg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/polymarket-risk-manager/v/3.5.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jcx2-q527-7qcx"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/polymarket-risk-manager/v/3.2.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/polymarket-risk-manager/v/3.3.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/polymarket-risk-manager/v/3.1.0"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-007884","import_time":"2026-07-01T21:04:19.992927956Z","modified_time":"2026-07-01T20:37:17Z","sha256":"54bfddce038bb64117d6850bb2977f8cee17704212e12e6214fb495b9d4cee79","source":"amazon-inspector","versions":["3.5.2"]},{"id":"GHSA-jcx2-q527-7qcx","import_time":"2026-07-30T03:51:56.50009Z","modified_time":"2026-07-29T15:07:17Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"8d8f215c500de42921e7d9022bedb04a160d16bf595ab338a2bd6b79a384151b","source":"ghsa-malware"},{"id":"IN-MAL-2026-013231","import_time":"2026-08-05T06:00:56.406110305Z","modified_time":"2026-08-05T05:53:01Z","sha256":"13821147aad821178674ef5f80d2805604a4c5bc47ec880411427dac3278c40d","source":"amazon-inspector","versions":["3.2.0"]},{"id":"IN-MAL-2026-013325","import_time":"2026-08-05T07:06:41.513750241Z","modified_time":"2026-08-05T06:06:59Z","sha256":"5e683f752d3571e5959ca2948f1493cf27d0d2df5ca0823c28465c9c03a991e4","source":"amazon-inspector","versions":["3.3.0"]},{"id":"IN-MAL-2026-013330","import_time":"2026-08-05T07:06:41.722141071Z","modified_time":"2026-08-05T06:07:41Z","sha256":"d0503897603eea087c0b2f928b969e0e92627192b406dc7a81a699b610eb910e","source":"amazon-inspector","versions":["3.1.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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