LWA-2026-7094 MAL-2026-12329 ↗ confirmed malware

@shiftmarkets/shift-sdk-v4@1.0.77

Malicious code in @shiftmarkets/shift-sdk-v4 (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1082 · System Information DiscoveryT1518.001 · Security Software DiscoveryT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 Channel

Analysis

Combosquat of the shift-sdk-v4 trading API client. On install, the postinstall hook runs dist/recon.js which collects host metadata (hostname, username, platform, architecture, network interfaces, CI environment flags) and enumerates all environment variable names, filtering for those matching secret-related patterns (AWS, TOKEN, SECRET, KEY, GITHUB, NPM, etc.). This data is POSTed as JSON to 138[.]68[.]108[.]20:80/cb. The main dist/index.js is a stub with no real trading functionality — the package's sole purpose is the reconnaissance beacon.

analyzed by
Leitwacht
first seen
Jul 24, 2026, 03:17 PM
analyzed
Jul 24, 2026, 03:18 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.