polymarket-apis (npm) · Malicious Code
Affects polymarket-apisSource GCVE Database
Malicious package : remove polymarket-apis and rotate any secrets on hosts that installed it.
Data as of 12 Sep 2026, 19:17 UTC
Malicious package
Published to npm · OSV MAL-2026-10067
What to do
Remove polymarket-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 |
|---|---|---|
| npmpolymarket-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 'polymarket-apis' version 1.1.0 impersonates the Polymarket brand but contains no legitimate API integration. It executes attacker-controlled code fetched from a remote URL using JavaScript's Function constructor, allowing arbitrary code execution with full Node.js privileges. The package's declared dependencies align with known credential and browser data stealing payloads. Installation of this package compromises the host system, potentially exposing all stored secrets and keys.