Skip to main content
MalwarePublished Updated

@wagni_bot/polygon-sdk (npm) · Malicious Code

Affects @wagni_bot/polygon-sdkSource GCVE Database

0

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

Classification

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

ProductAffectedFixed in
npm@wagni_bot/polygon-sdkAffected
  • 1.0.0 – 1.2.0
8 affected builds
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

Community reviews

Loading reviews…