@wagni_bot/binance-sdk (npm) · Malicious Code
Affects @wagni_bot/binance-sdkSource GCVE Database
Malicious package : remove @wagni_bot/binance-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-10022
What to do
Remove @wagni_bot/binance-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/binance-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 @wagni_bot/binance-sdk npm package is a malicious package masquerading as a Binance SDK. Instead of providing SDK functionality, it executes a postinstall script that searches the user's home directory for cryptocurrency wallet files, AWS credentials, SSH keys, git credentials, npm tokens, and environment secrets. It then exfiltrates this sensitive data along with system hostname and user information to a hardcoded attacker-controlled IP address. This affects developers or CI systems that run npm install on the affected versions of this package.