polymarket-kelly-math (npm) · Malicious Code
Affects polymarket-kelly-mathSource GCVE Database
Malicious package : remove polymarket-kelly-math and rotate any secrets on hosts that installed it.
Data as of 10 Jul 2026, 10:16 UTC
Malicious package
Published to npm · OSV MAL-2026-10068
What to do
Remove polymarket-kelly-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-kelly-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-kelly-math version 3.5.2 contains malicious code in its postinstall script. This script downloads and executes arbitrary code from an anonymous external endpoint without any integrity verification, enabling arbitrary remote code execution on the installer's machine. The package impersonates a Polymarket-related tool but fetches payloads from an unrelated anonymous host, allowing the attacker to change the executed code at will.