polymarket-onchain-plugin (npm) · Malicious Code
Affects polymarket-onchain-pluginSource GCVE Database
Malicious package : remove polymarket-onchain-plugin and rotate any secrets on hosts that installed it.
Data as of 12 Sep 2026, 20:46 UTC
Malicious package
Published to npm · OSV MAL-2026-6864
What to do
Remove polymarket-onchain-plugin 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-onchain-plugin | 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-onchain-plugin npm package versions 2.1.3, 2.1.4, and 2.1.5 contain malicious code. Any system with this package installed or running should be considered fully compromised, as the malicious code may have given an attacker full control. Immediate rotation of all secrets and keys stored on the affected system is advised. Simply removing the package does not guarantee removal of all malicious components.