Skip to main content

Malicious code in etoro-auth (npm)

0
High
Published: 09/10/2026 (09/10/2026, 04:43:38 UTC)
Source: GCVE Database
Product: etoro-auth

Description

The npm package 'etoro-auth' version 999.0.0 is a malicious package that contains no functional code but includes a preinstall script that executes automatically during installation. This script performs an unauthenticated HTTP GET request to a hardcoded IP address, sending the installer's OS hostname, username, and current working directory as URL path segments. The package appears to be designed for dependency confusion reconnaissance, aiming to identify internal eToro build systems that resolve this public lure package.

Affected software

npmghsa
etoro-auth
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:51 UTC

Technical Analysis

The 'etoro-auth' npm package at version 999.0.0 is a malicious package that ships an empty library stub but includes a preinstall lifecycle script. This script runs automatically on 'npm install' and sends sensitive environment information—specifically the OS hostname, OS username, and current working directory—via an unauthenticated plaintext HTTP GET request to a hardcoded IP address (http://209.126.81.147/etoro-depconf-poce346552f776f/npm/<hostname>/<username>/<cwd>). The package name mimics an internal eToro authentication client, consistent with a dependency confusion attack intended to detect which internal hosts pull this package from the public npm registry.

Potential Impact

The package leaks sensitive environment information (hostname, username, current working directory) to an external attacker-controlled server during installation. This information disclosure can aid attackers in reconnaissance and further targeted attacks. There is no functional code, so no direct code execution or payload delivery beyond the data exfiltration performed by the preinstall script.

Mitigation Recommendations

No official patch or remediation is indicated. Users should avoid installing the 'etoro-auth' package version 999.0.0 from public npm registries. Organizations should audit their dependency sources to prevent dependency confusion attacks by ensuring internal packages are not resolvable from public registries. Monitoring and blocking outbound HTTP requests to suspicious IP addresses during package installation can also help mitigate data leakage.

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-16114
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6aa2af89acd9273b4925b52e

Added to database: 09/10/2026, 13:24:25 UTC

Last enriched: 09/10/2026, 13:39:51 UTC

Last updated: 09/11/2026, 14:58:13 UTC

Views: 15

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