Skip to main content
MalwarePublished Updated

polymarket-auto-trade (npm) · Malicious Code

Affects polymarket-auto-tradeSource GCVE Database

0

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

Data as of 21 Aug 2026, 14:32 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-4210

What to do

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

ProductAffectedFixed in
npmpolymarket-auto-tradeAffected–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 that masquerade as legitimate Polymarket trading tools. These packages exfiltrate Ethereum private keys from infected systems to a Cloudflare Worker command-and-control server. The malicious code uses a postinstall hook to evade automated detection and steals private keys either by prompting the user or silently reading environment variables. It also establishes local persistence and fingerprints infected devices. The packages include legitimate dependencies and provide functional trading commands as a cover for the credential theft.

References

Community reviews

Loading reviews…