Skip to main content

Malicious code in etoro-aggregator (npm)

0
Medium
Published: 09/10/2026 (09/10/2026, 04:44:38 UTC)
Source: GCVE Database
Product: etoro-aggregator

Description

The npm package etoro-aggregator version 999.0.0 contains malicious code in a preinstall.js script that executes automatically during installation. This script sends the installer's hostname, username, and current working directory in plaintext HTTP requests to an attacker-controlled IP address. The package appears to be a dependency-confusion lure, designed to gather reconnaissance information from victims whose internal package names collide with this malicious package.

Affected software

npmghsa
etoro-aggregator
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:15 UTC

Technical Analysis

The etoro-aggregator npm package at version 999.0.0 includes a preinstall.js script that runs automatically on npm install. This script performs an HTTP GET request to a hardcoded attacker-controlled IP address (http://209.126.81.147/etoro-depconf-poce346552f776f/npm/<hostname>/<username>/<cwd>), sending system information such as os.hostname(), os.userInfo().username, and process.cwd() as URL path segments. The package name and version suggest it is a dependency-confusion attack vector, aiming to collect host identity information for targeted follow-on attacks. There is no legitimate library code in the package, confirming its malicious intent.

Potential Impact

Installing this package leaks sensitive host environment information (hostname, username, current working directory) to an attacker-controlled server over unencrypted HTTP. This reconnaissance data can be used by attackers to identify and target specific organizations or users for further attacks. No direct code execution beyond the preinstall script is described, and no known exploits in the wild have been reported.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing the etoro-aggregator package version 999.0.0. Organizations should audit their internal package names to prevent dependency confusion attacks and consider using scoped packages or private registries to mitigate such risks. Monitor for unexpected packages with suspicious names during dependency installation.

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

Threat ID: 6aa2af89acd9273b4925b516

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

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

Last updated: 09/11/2026, 15:18:51 UTC

Views: 13

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