polymarket-trade (npm) · Malicious Code
Affects polymarket-tradeSource GCVE Database
Malicious package : remove polymarket-trade and rotate any secrets on hosts that installed it.
Data as of 21 Aug 2026, 14:31 UTC
Malicious package
Published to npm · OSV MAL-2026-4215
What to do
Remove polymarket-trade 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-trade | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
A coordinated supply-chain attack involving nine npm packages published by the maintainer polymarketdev impersonates legitimate Polymarket trading tools. These packages exfiltrate Ethereum private keys by prompting users interactively or silently reading environment variables, then sending the keys to a malicious Cloudflare Worker endpoint. The malicious code persists locally and fingerprints infected devices. The attack targets developers and traders using Polymarket-related packages, exploiting trust in package provenance. The packages include polymarket-trade version 0.1.0 and others with identical malicious payloads.