polymarket-clob-math (npm) · Malicious Code
Affects polymarket-clob-mathSource GCVE Database
Malicious package : remove polymarket-clob-math and rotate any secrets on hosts that installed it.
Data as of 29 Jun 2026, 22:43 UTC
Malicious package
Published to npm · OSV MAL-2026-6556
What to do
Remove polymarket-clob-math 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-clob-math | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package polymarket-clob-math version 1.0.4 contains a malicious postinstall script that executes arbitrary attacker-controlled JavaScript code during installation. This script downloads and runs additional code from an untrusted external source unrelated to the legitimate publisher, effectively enabling remote code execution on the installer's machine. The package impersonates the Polymarket ecosystem to lure victims. Systems with this package installed should be considered fully compromised, and secrets should be rotated from a clean environment.