VDB
KO

MAL-2026-10197

Malicious code in metemask-sdk (PyPI)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: kam193 (0f59169bc0b142713f95865c41501f7eade6b73d1aea633262e40d514e6b6546) During import, the code downloads and executes a remote script. The script collects sensitive files, including cryptocurrency wallet private keys and seeds, SSH keys, dotenv files and uploads them to IPFS. After that, it communicates with C2 and awaits further commands to execute.

---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-07-metemask-sdk

Reasons (based on the campaign):

- files-exfiltration

- typosquatting

- exfiltration-ssh-keys

- crypto-related

- Downloads and executes a remote malicious script.

- exfiltration-crypto

- The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.

- uses:ipfs

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / metemask-sdk

No fixed version published yet for metemask-sdk (pip). Pin to a known-safe version or switch to an alternative.

References