LWA-2026-6486 MAL-2026-10032 ↗ confirmed malware

@wagni_bot/polygon-sdk@1.1.1

Malicious code in @wagni_bot/polygon-sdk (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1082 · System Information DiscoveryT1552.001 · Credentials In FilesT1552.004 · Private KeysT1552.002 · Credentials in RegistryT1041 · Exfiltration Over C2 ChannelT1071.001 · Web Protocols

Analysis

A cluster of six combosquat packages impersonating legitimate web3 SDKs (web3-agent, bsc-sdk, opensea-sdk, polygon-sdk, metemask-sdk, hyperliquid-sdk) all publish an identical postinstall.js that steals credentials. On install, the script scans the current working directory and home directory for SSH private keys (id_rsa, id_ed25519), .pem/.key files, .cred files, and .env files, reads their contents, and exfiltrates them via HTTP POST to 107[.]161[.]90[.]180:7777. It also harvests environment variables containing PRIVATE, SECRET, TOKEN, API_KEY, PASSWORD, MNEMONIC, SEED, WALLET, or AWS and sends those to the same C2 endpoint. Each POST includes the hostname, username, and cwd as metadata.

analyzed by
Leitwacht
first seen
Jul 9, 2026, 09:42 AM
analyzed
Jul 9, 2026, 09:43 AM

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.