OpenSSF/OSV advisory MAL-2026-5685 confirms this npm version as malicious. On npm install, postinstall.js walks /, /app, /home, /opt, /root for files whose names match /flag|secret|env/i, reads their contents, scrapes process.env (including HOME, INIT_CWD, npm_config_registry, all env keys, and hostname), and PUTs the collected data as a YAML manifest over plaintext HTTP to the hardcoded endpoint http://154.57.164.80:30543/api/modules/ECT-987654 (and ECT-472839)...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @malwguy/ecto-corsair-whisper-3d2a7c (npm)
Details
On npm install, postinstall.js walks /, /app, /home, /opt, /root for files whose names match /flag|secret|env/i, reads their contents, scrapes process.env (including HOME, INIT_CWD, npm_config_registry, all env keys, and hostname), and PUTs the collected data as a YAML manifest over plaintext HTTP to the hardcoded endpoint http://154.57.164.80:30543/api/modules/ECT-987654 (and ECT-472839). The script also includes explicit anti-analysis evasion: it checks hostname/cwd/HOME/INIT_CWD against /hscan|/home/scan|scan-|sandbox/i and silently exits if a scanner-like environment is detected, and additionally gates exfiltration on the cwd containing '/app/'. Installing this package causes immediate, automatic exfiltration of installer-side credentials and secrets to attacker-controlled infrastructure.
## Source: ghsa-malware (a090f653d83ea2ab89269aac4dbbb4f750f5869e4a92b37a98223a0e9b223913) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Decision reason
OSV/OpenSSF confirms @malwguy/ecto-corsair-whisper-3d2a7c@1.0.0 as malicious package MAL-2026-5685. Malicious code in @malwguy/ecto-corsair-whisper-3d2a7c (npm)