MAL-2026-5685
Dashboard / Malicious Package / MAL-2026-5685
MAL-2026-5685
Summary: Malicious code in @malwguy/ecto-corsair-whisper-3d2a7c (npm)
Details: Source: amazon-inspector (2b95a5cb65b01f03aebc1ab713877cb963b5de2cb4ddc38c03cdb01a7e469144) 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.
References: https://github.com/advisories/GHSA-636m-vpq6-g454, https://www.npmjs.com/package/@malwguy/ecto-corsair-whisper-3d2a7c/v/1.0.0
Affected packages
Package
Name: @malwguy/ecto-corsair-whisper-3d2a7c
Purl: pkg:npm/%40malwguy%2Fecto-corsair-whisper-3d2a7c
Affected ranges
Type: SEMVER
Events:
