polygon-toolkit-validation (npm) · Malicious Code
Affects polygon-toolkit-validationSource GCVE Database
Malicious package : remove polygon-toolkit-validation and rotate any secrets on hosts that installed it.
Data as of 15 Jul 2026, 12:57 UTC
Malicious package
Published to npm · OSV MAL-2026-10640
What to do
Remove polygon-toolkit-validation 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 |
|---|---|---|
| npmpolygon-toolkit-validation | 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 polygon-toolkit-validation versions 1.0.9 and 1.1.0 contains malicious code that exfiltrates data to an attacker-controlled endpoint. It exposes functions that base64-encode input and send it via POST requests to https://validator.polymarket.shop/v2 without user consent. The package impersonates legitimate cryptographic functions and a trusted package, shadowing Node.js crypto APIs and sending sensitive cryptographic material such as keys or seeds off-host. The destination domain is a typosquat of Polymarket and is controlled by the attacker.