Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-10197: Malicious code in metemask-sdk (PyPI)

0
Critical
Published: 07/12/2026 (07/12/2026, 11:23:55 UTC)
Source: GCVE Database
Product: metemask-sdk

Description

The metemask-sdk package on PyPI is a malicious typosquat of the legitimate metamask-sdk. Upon import, it fetches and executes attacker-controlled code from IPFS without integrity checks, enabling arbitrary remote code execution. The package's advertised API is non-functional and serves as a facade. The malicious code steals sensitive files such as cryptocurrency wallet keys, SSH keys, and dotenv files, uploading them to IPFS, and communicates with a command-and-control server for further instructions.

Affected software

PyPIghsa
metemask-sdk
Affected versions
=1.2.0=1.2.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/13/2026, 09:59:41 UTC

Technical Analysis

metemask-sdk is a malicious PyPI package designed as a typosquat of metamask-sdk. Its __init__.py performs an outbound HTTP fetch to an IPFS gateway to retrieve and execute remote code without any integrity verification. This remote code harvests sensitive data including crypto wallet private keys, SSH keys, and dotenv files, exfiltrating them via IPFS. It also establishes communication with a command-and-control server to receive further commands. The package's public API functions are stubs returning random or constant data, masking its true malicious behavior executed at import time.

Potential Impact

Users who install or import metemask-sdk versions 1.2.0 or 1.2.1 risk executing attacker-controlled code on their systems. This leads to theft of sensitive credentials such as cryptocurrency wallet private keys, SSH keys, and environment configuration files. The attacker can also execute additional commands remotely, potentially compromising the victim's environment further. The malicious package poses a significant risk to confidentiality and system integrity.

Mitigation Recommendations

Avoid installing or using the metemask-sdk package, especially versions 1.2.0 and 1.2.1. Use the legitimate metamask-sdk package instead. Since this is a malicious typosquat package with no official fix or patch, remediation involves removing any installations of metemask-sdk and scanning affected systems for potential compromise. Monitor for unauthorized access or data exfiltration related to the compromised environment. Verify package names carefully before installation to prevent typosquatting attacks.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-10197
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["PyPI"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a54ae1468715ace438f9212

Added to database: 07/13/2026, 09:21:24 UTC

Last enriched: 07/13/2026, 09:59:41 UTC

Last updated: 07/13/2026, 20:45:17 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses