color-utils-dee0npm
Malicious code in color-utils-dee0 (npm) Remove it immediately and rotate any exposed credentials.
What this malware does
package.json declares a postinstall hook ("postinstall": "node run.js") that automatically runs run.js on npm install. run.js imports child_process, os, http, and https, reads host identifiers via os.hostname() and os.platform(), and performs outbound HTTP/HTTPS GET and POST calls (run.js lines 48, 62, 63, 265). The combination of automatic install-time execution, host fingerprinting, child_process availability, and outbound network POSTs of host data is the canonical install-time exfiltration / dropper shape. The package name (a short, randomly-suffixed color-utils-dee0) and v1.0.0-only release are consistent with a disposable squat/lure rather than a legitimate utility. Installing this package will run attacker-chosen code with the installer's privileges and leak host information to an external endpoint.
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.
Malicious versions
Indicators of compromise (SHA-256)
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Scan your dependencies
O3 Security blocks malicious packages like this at install time and in CI.
Supply-chain protection