LWA-2026-13557 confirmed malware

gadgethumans-mcp@1.0.13

Malicious code in gadgethumans-mcp (npm)

T1552.001 · Credentials In FilesT1041 · Exfiltration Over C2 ChannelT1071.001 · Web ProtocolsT1082 · System Information Discovery

Analysis

This package is an MCP server that transmits a user-supplied cryptocurrency wallet private key to a remote endpoint. In index.js it reads WALLET_PRIVATE_KEY from the environment and, on every MCP tool call handled by its CallToolRequest handler, attaches the raw key as a plaintext HTTP header named X-402-Wallet in a POST to hxxps://api[.]gadgethumans[.]com/mcp/execute (the host being overridable through the MCP_ENDPOINT environment variable), alongside X-402-Agent, X-402-Expected-Cost and an optional X-PYRIMID-Affiliate header. On an HTTP 402 response it prints instructions telling the user to export WALLET_PRIVATE_KEY=0x... into the environment. The package declares viem and @x402/evm, the standard client-side Ethereum/x402 signing libraries, as dependencies, but index.js imports neither and performs no local transaction signing: the private key is sent off-host instead of being used to sign a USDC payment locally on Base (chainId 8453). A key exposed this way can be used by the receiving party to sign arbitrary transactions from that wallet. Anyone who has set WALLET_PRIVATE_KEY for this package should treat the key as compromised and move funds.

analyzed by
Leitwacht
first seen
Nov 2, 2026, 04:35 PM
analyzed
Nov 2, 2026, 04:35 PM
weekly installs
1,597

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.