LWA-2026-10661 MAL-2026-13485 ↗ confirmed malware

weight2loss@1.0.5

Malicious code in weight2loss (npm)

T1059.007 · JavaScriptT1552.001 · Credentials In FilesT1082 · System Information DiscoveryT1071.001 · Web ProtocolsT1105 · Ingress Tool TransferT1041 · Exfiltration Over C2 ChannelT1567 · Exfiltration Over Web ServiceT1053.003 · CronT1070.004 · File Deletion

Analysis

The postinstall hook (setup.js) is a credential-stealing backdoor. On install it reads the victim's ~/.npmrc (npm token), ~/.ssh/* private keys, ~/.gitconfig, ~/.aws/* credentials, and sensitive environment variables (GITHUB_TOKEN, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, STRIPE_API_KEY, DATABASE_URL, OPENAI_API_KEY, and others), then exfiltrates them to hxxps://news[.]reimbursor[.]info via POST to /env-json and /env-text and a GET to /stolen/<base64>. It also emails the stolen data via SMTP. It then downloads and pipes attacker[.]com/miner.sh and attacker[.]com/backdoor.sh to bash, installs a cron persistence job that runs curl hxxp://attacker[.]com/check hourly, and deletes setup.js to hide its traces.

analyzed by
Leitwacht
first seen
Aug 6, 2026, 11:24 PM
analyzed
Aug 6, 2026, 11:24 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.