Skip to main content
MalwarePublished Updated

polymarket-trader (npm) · Malicious Code

Affects polymarket-traderSource GCVE Database

0

Malicious package : remove polymarket-trader and rotate any secrets on hosts that installed it.

Data as of 21 Aug 2026, 14:31 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-4216

What to do

Remove polymarket-trader 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

ProductAffectedFixed in
npmpolymarket-traderAffected–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 9 npm packages published by the maintainer polymarketdev impersonates legitimate Polymarket trading tools. These packages exfiltrate Ethereum private keys by prompting users or silently reading environment variables, then sending the keys to a Cloudflare Worker command-and-control server. The malicious code uses a postinstall hook to evade automated detection and persists locally with device fingerprinting. The packages provide functional trading commands as a cover, falsely claiming private keys remain encrypted. Any system with these packages installed should be considered fully compromised.

References

Community reviews

Loading reviews…