polygon-gamma-apis (npm) · Malicious Code
Affects polygon-gamma-apisSource GCVE Database
Malicious package : remove polygon-gamma-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-10148
What to do
Remove polygon-gamma-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-gamma-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 polygon-gamma-apis npm package version 1.5.2 and 2.0.0 is a malicious package impersonating a legitimate Polymarket SDK. It executes attacker-controlled JavaScript fetched from a remote URL, enabling arbitrary code execution within the consumer's Node.js process. This can lead to credential and wallet theft by loading native modules. Any system with this package installed should be considered fully compromised.