polymarket-toolkit (npm) · Malicious Code
Affects polymarket-toolkitSource GCVE Database
Malicious package : remove polymarket-toolkit and rotate any secrets on hosts that installed it.
Data as of 6 Aug 2026, 19:27 UTC
Malicious package
Published to npm · OSV MAL-2026-6713
What to do
Remove polymarket-toolkit 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-toolkit | 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 polymarket-toolkit npm package version 1.4.9 is a malicious package masquerading as a Polymarket API client. Its default export performs unconditional remote code execution by fetching and executing JavaScript code from a remote server with full Node.js privileges. This allows an attacker to gain complete control over the affected system. The package includes unrelated dependencies consistent with credential and machine fingerprint extraction, indicating its intent as a brand-impersonating dropper targeting developers. Any system with this package installed should be considered fully compromised.