Malicious code in @malwguy/ecto-corsair-whisper-3d2a7c (npm)
MAL-2026-5685 · GHSA-636m-vpq6-g454
Published · Modified
Dependency scanning
Check whether @malwguy/ecto-corsair-whisper-3d2a7c is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
__
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.
Ready to move
Start Securing
Free, no credit card | First findings in minutes