Malicious code in myebaynode (npm)
Description
The npm package 'myebaynode' version 99.0.0 contains malicious code executed during installation. It declares a preinstall lifecycle hook that downloads and runs JavaScript from an external, mutable domain without integrity verification. This allows arbitrary code execution with the installer's user privileges. The package appears to impersonate an eBay SDK to deceive developers.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'myebaynode' npm package version 99.0.0 includes a preinstall script that executes a curl command to fetch a JavaScript file from 'https://poc.amanrawat.com/hehe.js' and runs it immediately. This fetched payload is not pinned by hash or signature, enabling the remote host owner to change the code at any time. The execution occurs with the full filesystem and network access of the user installing the package. The package metadata suggests brand impersonation to lure developers searching for an eBay-related Node.js package.
Potential Impact
Installation of this package results in arbitrary code execution on the installer's system with their user privileges. This can lead to compromise of the local environment, data theft, or further malicious activity depending on the payload delivered by the remote server. Because the payload is mutable, the risk is ongoing and can change over time.
Mitigation Recommendations
No official patch or fix is available. Users should avoid installing the 'myebaynode' package version 99.0.0. Verify package authenticity before installation, prefer official packages from trusted sources, and audit lifecycle scripts in dependencies. Consider using package integrity verification tools and lockfiles to prevent untrusted code execution during installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6296
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-8wcq-62gv-fp9f"]
- Ecosystems
- ["npm"]
Threat ID: 6a96f318acd9273b49e49571
Added to database: 09/01/2026, 15:45:28 UTC
Last enriched: 09/08/2026, 11:23:37 UTC
Last updated: 10/04/2026, 06:44:00 UTC
Views: 25
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.