polymarket-bot (npm) · Malicious Code
Affects polymarket-botSource GCVE Database
Malicious package : remove polymarket-bot and rotate any secrets on hosts that installed it.
Data as of 21 Aug 2026, 14:32 UTC
Malicious package
Published to npm · OSV MAL-2026-4211
What to do
Remove polymarket-bot 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-bot | 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 under the polymarket-bot family. These packages masquerade as legitimate Polymarket trading tools but steal Ethereum private keys by prompting users or silently reading environment variables, then exfiltrate them to a Cloudflare Worker command-and-control server. The malicious code uses a postinstall hook that evades automated detection by checking for interactive shells and persists locally with device fingerprinting. The payload is identical across all packages and includes legitimate SDKs to provide functional cover commands. No patch or remediation guidance is currently available.