VDB
EN

MAL-2026-10147

Malicious code in polygon-gama-apis (npm)

상세

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (f0e5efa9d57dae04a6082dfa776d2c2664f3ce5a838ed9cf56f40656937b7e92) polygon-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.

## Source: ghsa-malware (42333c05374ee3e4fe8ee2e6e148c3c12443b317b7a17f0c9bd08177ca8c8a44) Any 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.

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

npm / polygon-gama-apis
최초 영향 버전: 0

No fixed version published yet for polygon-gama-apis (npm). Pin to a known-safe version or switch to an alternative.

참고