LWA-2026-4962 confirmed malware

redeem-onchain-sdk@1.0.1

Malicious code in redeem-onchain-sdk (npm)

T1195.002 · Compromise Software Supply ChainT1059 · Command and Scripting InterpreterT1082 · System Information DiscoveryT1552.001 · Credentials In FilesT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 ChannelT1105 · Ingress Tool TransferT1567 · Exfiltration Over Web ServiceT1070.004 · File Deletion

Analysis

redeem-onchain-sdk@1.0.1 is a credential-theft supply-chain attack disguised as a Polymarket redemption SDK. The main entry point (dist/index.js) requires dist/proxy.js via __exportStar, which executes immediately. proxy.js: (1) performs self-modifying cleanup — deletes a file and rewrites package.json to {"name":"example","version":"4.2.1"} to evade detection; (2) decrypts heavily obfuscated strings (AES-256-CTR + XOR) containing the C2 server address 52[.]50[.]248[.]137:9999; (3) collects hostname, username, and external IP via api[.]ipify[.]org; (4) reads credential files from the home directory including ~/.aws/credentials, ~/.docker/config.json, ~/.ssh/id_rsa, ~/.ssh/config, ~/.npmrc, ~/.netrc, and Chrome Login Data; (5) runs git log for activity history; (6) encrypts all stolen data with AES-256-GCM and exfiltrates to the C2 at 52[.]50[.]248[.]137:9999 over TCP. The legitimate-looking Polymarket allowancing/redemption code in allowances.js and redeem.js is a decoy facade.

analyzed by
Leitwacht
first seen
Jun 13, 2026, 02:38 AM
analyzed
Jun 13, 2026, 02: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.