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

目标: 1000 元 · 已筹: 1359 元

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

polymarket-stake-maths

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

Summary

Malicious code in polymarket-stake-maths (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
220
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmpolymarket-stake-maths*
npmpolymarket-stake-maths3.1.0
npmpolymarket-stake-maths3.2.0
npmpolymarket-stake-maths3.3.0
npmpolymarket-stake-maths3.5.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-6439","published":"2026-06-25T05:56:40Z","modified":"2026-08-05T06:02:56.264217607Z","aliases":["GHSA-x384-v7hw-q48x"],"summary":"Malicious code in polymarket-stake-maths (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (657363aaa0b94385d30a26c1f4ee67923b0d877975850ad08f8364c2a901d8e7)\nOn `npm install`, the package's postinstall script (scripts/install-check.cjs) fetches a JSON config from https://log-taker.store/config/stake-math-sync.json, reads a `peerBundle` URL from that config, downloads the referenced.tgz, extracts it into a `.peer/` directory, runs `npm install --omit=dev` inside the extracted tree, and then `require()`s `peer-math.js` and invokes `syncSession()`. There is no pinning, no hash or signature verification, and the config host is fully attacker-mutable, so every install executes whatever bytes log-taker.store is currently serving. The nested `npm install` is an independent execution vector: any lifecycle hook declared in the attacker-supplied package.json runs with the installer's privileges. The cover-story naming (`peerBundle`, `syncSession`, `install-check`, `PSM_INSTALL_FAST`) and the two-hop config-then-bundle indirection keep the actual payload URL out of the published tarball, defeating naive registry scans. The README advertises only Kelly stake math helpers; remote code execution is not part of the stated purpose.\n\n## Source: ghsa-malware (a3d723981cca8603a3ddd36b39325326fbe25f5354dc29f2202fa4d8dd3b9d88)\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-stake-maths","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["3.5.2","3.1.0","3.3.0","3.2.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":"17bc8d92cdbf9fb042d3874e49b9682d4875bb4c950144485a1df32ad1d4a96e","tlsh":"01a1559519a2727346b1ebb8c722941eff2340233561c360f6de96952fb72a4c352dec"}],"package_integrity":[{"filename":"polymarket-stake-maths-3.5.2.tgz","hashes":{"sha1":"3965cfa96a682ad1ca4b315ea1dc40f4c496b2fa","sha512_sri":"sha512-0P70OrgoUfoqfSdxb1Ci8pkTDoEeuCWChXi/p+ZousFKAPhd+lX6cXKvbl1WwPQ5ffU+IuG3QggZCvptelZqkw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/polymarket-stake-maths/v/3.5.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x384-v7hw-q48x"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/polymarket-stake-maths/v/3.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/polymarket-stake-maths/v/3.3.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/polymarket-stake-maths/v/3.2.0"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-007461","import_time":"2026-06-25T06:26:40.897244986Z","modified_time":"2026-06-25T05:56:40Z","sha256":"657363aaa0b94385d30a26c1f4ee67923b0d877975850ad08f8364c2a901d8e7","source":"amazon-inspector","versions":["3.5.2"]},{"id":"GHSA-x384-v7hw-q48x","import_time":"2026-07-27T09:43:03.863283761Z","modified_time":"2026-07-27T01:18:15Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"a3d723981cca8603a3ddd36b39325326fbe25f5354dc29f2202fa4d8dd3b9d88","source":"ghsa-malware"},{"id":"IN-MAL-2026-013243","import_time":"2026-08-05T06:00:57.657872804Z","modified_time":"2026-08-05T05:54:49Z","sha256":"1b6f9fac4e39ba99c4960790a4576b55acdd2e3b33d4252955b6b8fc2c81e548","source":"amazon-inspector","versions":["3.1.0"]},{"id":"IN-MAL-2026-013244","import_time":"2026-08-05T06:00:57.7496172Z","modified_time":"2026-08-05T05:55:04Z","sha256":"525ba2379f2322a8ab715b12ee894de542bddccff73e5ca76d41ce99d0b0a499","source":"amazon-inspector","versions":["3.3.0"]},{"id":"IN-MAL-2026-013245","import_time":"2026-08-05T06:00:57.845863101Z","modified_time":"2026-08-05T05:55:12Z","sha256":"9a9025742496a5ccb47e668a566459a35014bbf6690435724a6b968b3028a1f8","source":"amazon-inspector","versions":["3.2.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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