polymarket-stake-kelly-math (npm) · Malicious Code
Affects polymarket-stake-kelly-mathSource GCVE Database
Malicious package : remove polymarket-stake-kelly-math and rotate any secrets on hosts that installed it.
Data as of 14 Jul 2026, 09:53 UTC
Malicious package
Published to npm · OSV MAL-2026-10467
What to do
Remove polymarket-stake-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-stake-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 polymarket-stake-kelly-math npm package version 3.8.2 contains malicious code that executes a postinstall script during npm install. This script fetches a configuration JSON from a remote, attacker-controlled URL, downloads and installs additional code without integrity checks, and executes it, potentially expanding the attacker's control over the system. The package masquerades as related to Polymarket but is not publisher-verified. Systems with this package installed should be considered fully compromised.