Malicious code in etoro-api (npm)
The npm package etoro-api version 999.0.0 contains malicious code in its preinstall lifecycle script. This script automatically executes during npm install and sends an HTTP GET request to a hardcoded IP address unrelated to legitimate eToro infrastructure. The request includes sensitive environment details such as the installer's hostname, OS username, and current working directory. The package uses a high version number and a name mimicking an internal private package to exploit dependency confusion.
AI Analysis
Technical Summary
The etoro-api npm package at version 999.0.0 includes a preinstall.js script that auto-executes on installation. This script performs an HTTP GET request to a hardcoded bare-IP endpoint (http://209.126.81.147/etoro-depconf-poce346552f776f/npm/<host>/<user>/<cwd>), embedding the installer's hostname, OS username, and current working directory in the URL path. The destination IP is unrelated to any legitimate eToro infrastructure, indicating malicious intent. The package name and unusually high version number are consistent with a dependency confusion attack, aiming to override internal private packages with a malicious public package.
Potential Impact
Installation of [email protected] results in leakage of environment information (hostname, OS username, current working directory) to an attacker-controlled server. This can lead to reconnaissance for further attacks or targeted exploitation. The malicious package may also undermine supply chain integrity by masquerading as a legitimate internal package.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing [email protected] and verify package sources carefully to prevent dependency confusion attacks. Monitor package dependencies for suspicious versions and names. Patch status is not yet confirmed — check the vendor advisory or trusted sources for updates.
Malicious code in etoro-api (npm)
Description
The npm package etoro-api version 999.0.0 contains malicious code in its preinstall lifecycle script. This script automatically executes during npm install and sends an HTTP GET request to a hardcoded IP address unrelated to legitimate eToro infrastructure. The request includes sensitive environment details such as the installer's hostname, OS username, and current working directory. The package uses a high version number and a name mimicking an internal private package to exploit dependency confusion.
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 etoro-api npm package at version 999.0.0 includes a preinstall.js script that auto-executes on installation. This script performs an HTTP GET request to a hardcoded bare-IP endpoint (http://209.126.81.147/etoro-depconf-poce346552f776f/npm/<host>/<user>/<cwd>), embedding the installer's hostname, OS username, and current working directory in the URL path. The destination IP is unrelated to any legitimate eToro infrastructure, indicating malicious intent. The package name and unusually high version number are consistent with a dependency confusion attack, aiming to override internal private packages with a malicious public package.
Potential Impact
Installation of [email protected] results in leakage of environment information (hostname, OS username, current working directory) to an attacker-controlled server. This can lead to reconnaissance for further attacks or targeted exploitation. The malicious package may also undermine supply chain integrity by masquerading as a legitimate internal package.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing [email protected] and verify package sources carefully to prevent dependency confusion attacks. Monitor package dependencies for suspicious versions and names. Patch status is not yet confirmed — check the vendor advisory or trusted sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-16113
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6aa2af89acd9273b4925b51a
Added to database: 09/10/2026, 13:24:25 UTC
Last enriched: 09/10/2026, 13:39:25 UTC
Last updated: 09/11/2026, 15:18:53 UTC
Views: 16
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.