polymarket-claude-code (npm) · Malicious Code
Affects polymarket-claude-codeSource GCVE Database
Malicious package : remove polymarket-claude-code 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-4212
What to do
Remove polymarket-claude-code 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-claude-code | 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 9 npm packages published by the maintainer polymarketdev impersonates legitimate Polymarket trading tools. These packages steal Ethereum private keys by either prompting users interactively or silently reading environment variables during installation, then exfiltrate the keys to a malicious Cloudflare Worker endpoint. The packages maintain local persistence and fingerprint infected devices. The attack targets developers using AI-assisted coding tools by masquerading as legitimate Polymarket SDKs. The malicious code is present in version 0.1.0 of polymarket-claude-code.