LWA-2026-5269 confirmed malware

test-leakage-attack-node@1.0.0

Malicious code in test-leakage-attack-node (npm)

T1059.007 · JavaScriptT1082 · System Information DiscoveryT1041 · Exfiltration Over C2 Channel

Analysis

The package exfiltrates all environment variables from the installer's machine via an HTTP GET request during npm install. The preinstall and postinstall hooks both run index.js, which collects every key-value pair from process.env, serializes them as JSON, base64-encodes the payload, and sends it to hxxp://somewhere[.]somehow[.]local/ in the X-Hidden request header. The exfiltrated data includes all environment secrets the victim has configured: API tokens, cloud credentials, database passwords, CI/CD tokens, and other sensitive configuration. The C2 host is somewhere.somehow.local (port 80, path /), and the exfiltration channel is the X-Hidden header on GET requests.

analyzed by
Leitwacht
first seen
Jun 14, 2026, 09:17 PM
analyzed
Jun 14, 2026, 09:19 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.