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

目标: 1000 元 · 已筹: 1359 元

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

polygon-gama-apis

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

Summary

Malicious code in polygon-gama-apis (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
2
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmpolygon-gama-apis*
npmpolygon-gama-apis1.4.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10147","published":"2026-07-10T16:12:23Z","modified":"2026-09-01T11:20:29.078843646Z","aliases":["GHSA-pvwq-8chv-g96r"],"summary":"Malicious code in polygon-gama-apis (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f0e5efa9d57dae04a6082dfa776d2c2664f3ce5a838ed9cf56f40656937b7e92)\npolygon-gama-apis exports getPlugin(), which fetches JSON from https://bet.slotgambit.com/icons/111 and passes the response field data.credits directly to the JavaScript Function constructor, invoking it with a full Node.js context (require, module, exports, process, Buffer, __dirname). Any consumer that imports the package and calls the exported API executes whatever JavaScript the remote server returns at that moment, granting the operator of bet.slotgambit.com arbitrary code execution in the installer's process. The C2 URL is assembled from split string fragments (protocol/domain/separator/path) and the executable JS is delivered in a field named 'credits' — cosmetic disguises typical of remote-loader malware. Package metadata is also deceptive: the name (polygon-gama-apis) and keywords (react, helper, svg) contradict the declared description and README (a 'Tailwindcss Forms Bundler'), and the README instructs users to require a different name entirely — a cover story to lure installs from multiple unrelated ecosystems (Web3/Polygon, React, Tailwind). Bundled dependencies (@primno/dpapi, node-machine-id, better-sqlite3) are consistent with credential and wallet-stealer payloads delivered on demand.\n\n## Source: ghsa-malware (42333c05374ee3e4fe8ee2e6e148c3c12443b317b7a17f0c9bd08177ca8c8a44)\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-gama-apis","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.4.1"],"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":"index.js","sha256":"ac274be1df07c7f907bf2549d4c9fa7e8d75f1d5a8ff89297f1f883a8e23ce0f","tlsh":"01c1717646f921a36a67e4edf30f100271a5e3133758e971f48e42902fca568e5f24e8"},{"path":"package.json","sha256":"d1b523938063b19f4bc27bd40cb984f20d7957bba9fbba7c1a26e9589f93c1e7","tlsh":"98f02810ce20de7318d5159698789096e155d84f9d00fc0c338a876d0f4e97f25fe26c"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-pvwq-8chv-g96r"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/polygon-gama-apis/v/1.4.1"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-pvwq-8chv-g96r","import_time":"2026-07-10T16:54:13.282048782Z","modified_time":"2026-07-10T16:12:23Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"42333c05374ee3e4fe8ee2e6e148c3c12443b317b7a17f0c9bd08177ca8c8a44","source":"ghsa-malware"},{"id":"IN-MAL-2026-009695","import_time":"2026-07-10T19:02:48.182040063Z","modified_time":"2026-07-10T18:30:25Z","sha256":"f0e5efa9d57dae04a6082dfa776d2c2664f3ce5a838ed9cf56f40656937b7e92","source":"amazon-inspector","versions":["1.4.1"]},{"id":"RLMA-2026-06382","import_time":"2026-09-01T11:17:33.159163119Z","modified_time":"2026-08-24T17:04:27Z","sha256":"5b9df163a97793f110205d74ac3a37ba4247e5698c7aa2b568f0418200aab0de","source":"reversing-labs","versions":["1.4.1"]}]},"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