LWA-2026-6492 MAL-2026-10033 ↗ confirmed malware

@wagni_bot/polymarket-sdk@1.1.1

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

T1059.007 · JavaScriptT1082 · System Information DiscoveryT1552.001 · Credentials In FilesT1552.004 · Private KeysT1041 · Exfiltration Over C2 ChannelT1071.001 · Web Protocols

Analysis

The postinstall hook (postinstall.js) runs on install and exfiltrates credentials to a remote server at 107[.]161[.]90[.]180:7777. It collects SSH private keys (id_rsa, id_ed25519) from ~/.ssh/ and the current directory, .pem/.key/.cred files, .env files, and environment variables containing PRIVATE, SECRET, TOKEN, API_KEY, PASSWORD, MNEMONIC, SEED, WALLET, or AWS. All stolen data is POSTed as JSON to hxxp://107[.]161[.]90[.]180:7777. The package contains no functional SDK code — index.js is 19 bytes and the sole purpose is the credential-harvesting postinstall script.

analyzed by
Leitwacht
first seen
Jul 9, 2026, 09:42 AM
analyzed
Jul 9, 2026, 09:44 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.