Skip to main content

Malicious code in etoro-api (npm)

0
High
Published: 09/10/2026 (09/10/2026, 04:44:16 UTC)
Source: GCVE Database
Product: etoro-api

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

npmghsa
etoro-api
Affected versions
=999.0.0

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

AILast updated: 09/10/2026, 13:39:25 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses