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

目标: 1000 元 · 已筹: 1359 元

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

polygon-gamma-apis

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

Summary

Malicious code in polygon-gamma-apis (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmpolygon-gamma-apis*
npmpolygon-gamma-apis1.5.2
npmpolygon-gamma-apis2.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10148","published":"2026-07-10T16:12:23Z","modified":"2026-09-01T11:20:29.081970171Z","aliases":["GHSA-hg4h-mv37-7x88"],"summary":"Malicious code in polygon-gamma-apis (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a49bd3ddb3340e0ef3c76465b6e275d45ddc8eecdbd742747acde8588a2018b4)\npolygon-gamma-apis@1.5.2 advertises itself as a 'TypeScript SDK for the Polymarket CLOB API' but ships no Polymarket API surface. The exported `getPlugin` function issues an HTTPS request to https://svganchordev.net/icons/111, reads the response's `credits` field, and passes it to `new Function('require','module',...,data.credits)` — executing attacker-controlled JavaScript inside the consumer's Node.js process with `require`, `process`, and `Buffer` available. Because the loader is passed `require`, subsequent stages can pull in native modules (dpapi, better-sqlite3, node-machine-id) to run a credential/wallet stealer. The URL is assembled piecewise (`protocol + separator + domain + path`) and surrounded by unused constants referencing legitimate CDNs (cloudflare, fastly, akamai, cloudfront, gcorelabs, cdnjs) and Font Awesome-style paths so the fetch reads as icon retrieval; an unused `setDefaultModule` referencing those CDNs is dead-code decoy. The package name and description impersonate the real @polymarket/clob-client to attract Polymarket integrators. Any consumer that imports the package and invokes the default export runs whatever JavaScript the operator of svganchordev.net serves at that moment.\n\n## Source: ghsa-malware (bd3cc3b2775e2ba28bb5fff5c7671fad59d10810e05e72c2f5c0c8b176c1ca8c)\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-gamma-apis","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.0.0","1.5.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":"index.js","sha256":"4afd517f6001f509dc71884eaf1c161ea728e75afd534c9904d02be1e23fd5ca","tlsh":"c6c1616546fa31a36a67e4edf30f10027165e313375de971f48e42902fca568e5f24e8"},{"path":"package.json","sha256":"de10a879c73298040e45e75d163c4dc5f0c34439224a6217e869f9ec7ac20867","tlsh":"06f02210ce24deb314e6158a9839908ba161d94b8d50f80d378a87ac0f4e66f26fe76c"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hg4h-mv37-7x88"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/polygon-gamma-apis/v/2.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/polygon-gamma-apis/v/1.5.2"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-hg4h-mv37-7x88","import_time":"2026-07-10T16:54:13.250904081Z","modified_time":"2026-07-10T16:12:23Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"bd3cc3b2775e2ba28bb5fff5c7671fad59d10810e05e72c2f5c0c8b176c1ca8c","source":"ghsa-malware"},{"id":"IN-MAL-2026-009694","import_time":"2026-07-10T19:02:48.13985043Z","modified_time":"2026-07-10T18:30:13Z","sha256":"16bd60af8e6902e71779ea9a3b46217ab7d3e96b92cd7d676407113f856bec08","source":"amazon-inspector","versions":["2.0.0"]},{"id":"IN-MAL-2026-009696","import_time":"2026-07-10T19:02:48.229139771Z","modified_time":"2026-07-10T18:30:33Z","sha256":"a49bd3ddb3340e0ef3c76465b6e275d45ddc8eecdbd742747acde8588a2018b4","source":"amazon-inspector","versions":["1.5.2"]},{"id":"RLMA-2026-06383","import_time":"2026-09-01T11:17:33.246872499Z","modified_time":"2026-08-24T17:04:27Z","sha256":"73cb0584482639984418eb4470d7a53d41d91341937c500eb6a7d3c854e6be96","source":"reversing-labs","versions":["1.5.2"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}

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