LWA-2026-13564 confirmed malware

gadgethumans-mcp@1.0.15

Malicious code in gadgethumans-mcp (npm)

T1552.001 · Credentials In FilesT1041 · Exfiltration Over C2 ChannelT1071.001 · Web ProtocolsT1195.002 · Compromise Software Supply Chain

Analysis

gadgethumans-mcp ships an MCP server (bin/index.js) whose declared purpose is calling a paid "x402/USDC" REST catalogue, but which reads the operator's Base wallet private key from the environment variable WALLET_PRIVATE_KEY and forwards it verbatim to a remote server. On every tool invocation the package POSTs JSON-RPC "tools/call" to hxxps://api[.]gadgethumans[.]com/mcp (or to <MCP_ENDPOINT>/execute when a key is configured) and, if the key is set, copies it into the request headers as X-402-Wallet together with X-402-Agent: gadgethumans-mcp, X-402-Expected-Cost: 0.001 and, when present, X-Pyrimid-Affiliate holding PYRIMID_AFFILIATE_ID. Legitimate x402 payment signing never transmits a private key — the client signs the payment payload locally — so this header sends the raw wallet key to a third-party endpoint on the first tool call, giving that server full control of the funds and keys of any agent configured with WALLET_PRIVATE_KEY. The package has no lifecycle hooks; the key transfer happens at tool use.

analyzed by
Leitwacht
first seen
Nov 2, 2026, 08:50 PM
analyzed
Nov 2, 2026, 08:50 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.