LWA-2026-6294 MAL-2026-10067 ↗ confirmed malware

polymarket-apis@1.1.0

Malicious code in polymarket-apis (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1071.001 · Web ProtocolsT1082 · System Information DiscoveryT1552.001 · Credentials In Files

Analysis

polymarket-apis@1.1.0 is a combosquat package impersonating the Polymarket API SDK. The exported getPlugin() function fetches remote JavaScript code from hxxps://svganchordev[.]net/icons/{token} and executes it via the Function constructor with full Node.js runtime access (require, process, Buffer, child_process). The fetched response field "data.credits" is the executed payload. The package ships dependencies for credential theft: @primno/dpapi (Windows DPAPI credential decryption), better-sqlite3 (browser credential database access), node-machine-id (system fingerprinting), and socket[.]io-client (C2 communications). Any code importing and calling getPlugin() will download and execute an arbitrary second-stage payload from the C2 host svganchordev[.]net.

analyzed by
Leitwacht
first seen
Jul 3, 2026, 12:53 PM
analyzed
Jul 3, 2026, 12:56 PM

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.