@wagni_bot/metemask-sdk (npm) · Malicious Code
Affects @wagni_bot/metemask-sdkSource GCVE Database
Malicious package : remove @wagni_bot/metemask-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-10028
What to do
Remove @wagni_bot/metemask-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/metemask-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/metemask-sdk npm package is a malicious typosquat of the legitimate metamask-sdk package. It contains no functional code but includes a postinstall script that executes automatically during npm install. This script recursively searches common directories and environment variables for sensitive credentials such as SSH private keys, crypto wallet seeds, and secret environment variables. The stolen data is then exfiltrated to an attacker-controlled Telegram channel. This threat targets developers who mistakenly install this similarly named package.
References
- npmjs.com/package/@wagni_bot/metemask-sdk/v/1.1.5 (opens in a new tab)
- npmjs.com/package/@wagni_bot/metemask-sdk/v/1.1.1 (opens in a new tab)
- npmjs.com/package/@wagni_bot/metemask-sdk/v/1.0.0 (opens in a new tab)
- npmjs.com/package/@wagni_bot/metemask-sdk/v/1.2.0 (opens in a new tab)
- npmjs.com/package/@wagni_bot/metemask-sdk/v/1.1.4 (opens in a new tab)
- npmjs.com/package/@wagni_bot/metemask-sdk/v/1.1.3 (opens in a new tab)
- npmjs.com/package/@wagni_bot/metemask-sdk/v/1.1.0 (opens in a new tab)
- research.codelake.dev/advisories/clr-2026-3000-wagni-metemask-sdk (opens in a new tab)
- npmjs.com/package/@wagni_bot/metemask-sdk/v/1.1.2 (opens in a new tab)