LWA-2026-6620 MAL-2026-10411 ↗ confirmed malware

cookie-sign@2.3.5

Malicious code in cookie-sign (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1082 · System Information DiscoveryT1552.001 · Credentials In FilesT1071.001 · Web ProtocolsT1105 · Ingress Tool TransferT1041 · Exfiltration Over C2 Channel

Analysis

cookie-sign@2.3.5 is a typosquat of the legitimate cookie-signature package. On install, index.js spawns a detached background Node.js process that runs lib/initializeCaller.js. This file base64-decodes a hardcoded C2 endpoint (hxxps://ipcheck-hashed[.]vercel[.]app/api/auth/6c1d60d35852ef0c05df), POSTs all environment variables (process.env) to that endpoint — exfiltrating any API keys, tokens, or secrets present in the installer's environment — then executes the C2 response as arbitrary JavaScript code via the Function constructor, giving the attacker full remote code execution on the victim's machine.

analyzed by
Leitwacht
first seen
Jul 11, 2026, 06:09 PM
analyzed
Jul 11, 2026, 06:10 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.