@wagni_bot/polygon-sdk (npm) · Malicious Code
Affects @wagni_bot/polygon-sdkSource GCVE Database
Malicious package : remove @wagni_bot/polygon-sdk and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:56 UTC
Malicious package
Published to npm · OSV MAL-2026-10032
What to do
Remove @wagni_bot/polygon-sdk 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 |
|---|---|---|
| npm@wagni_bot/polygon-sdk | 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 @wagni_bot/polygon-sdk is a malicious package impersonating the Polygon blockchain SDK. Its postinstall.js script runs automatically on installation and scans the user's directories for wallet keystores, private keys, seed phrases, and other sensitive credentials. It exfiltrates these secrets along with some environment variables to a hardcoded attacker-controlled IP address. The package exports no legitimate functionality and exists solely to steal credentials from developers working with blockchain wallets.
References
- npmjs.com/package/@wagni_bot/polygon-sdk/v/1.1.5 (opens in a new tab)
- npmjs.com/package/@wagni_bot/polygon-sdk/v/1.1.4 (opens in a new tab)
- npmjs.com/package/@wagni_bot/polygon-sdk/v/1.0.0 (opens in a new tab)
- npmjs.com/package/@wagni_bot/polygon-sdk/v/1.1.1 (opens in a new tab)
- npmjs.com/package/@wagni_bot/polygon-sdk/v/1.1.0 (opens in a new tab)
- npmjs.com/package/@wagni_bot/polygon-sdk/v/1.1.3 (opens in a new tab)
- npmjs.com/package/@wagni_bot/polygon-sdk/v/1.2.0 (opens in a new tab)
- research.codelake.dev/advisories/clr-2026-3015-wagni-polygon-sdk (opens in a new tab)
- npmjs.com/package/@wagni_bot/polygon-sdk/v/1.1.2 (opens in a new tab)