polygon-gama-apis (npm) · Malicious Code
Affects polygon-gama-apisSource GCVE Database
Malicious package : remove polygon-gama-apis and rotate any secrets on hosts that installed it.
Data as of 12 Sep 2026, 19:01 UTC
Malicious package
Published to npm · OSV MAL-2026-10147
What to do
Remove polygon-gama-apis from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmpolygon-gama-apis | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package polygon-gama-apis version 1.4.1 contains malicious code that executes arbitrary JavaScript fetched from a remote server. This remote code execution occurs when the package's exported getPlugin() function invokes JavaScript delivered in a disguised field, granting full control to the attacker. The package metadata is deceptive, aiming to lure installs from multiple ecosystems. The package includes dependencies consistent with credential and wallet-stealing malware. Any system with this package installed should be considered fully compromised.