Skip to main content
MalwarePublished Updated

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

Affects @wagni_bot/metemask-sdkSource GCVE Database

0

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

Classification

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

ProductAffectedFixed in
npm@wagni_bot/metemask-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 @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

Community reviews

Loading reviews…