Malicious code in etoro-client (npm)
The npm package [email protected] contains malicious code in its preinstall lifecycle script that sends the installer's hostname, OS username, and current working directory to a hardcoded IP address over plain HTTP. This behavior indicates a dependency-confusion attack, where a high-version public package impersonates an internal package to capture sensitive environment information during installation.
AI Analysis
Technical Summary
The etoro-client package version 999.0.0 on npm includes a preinstall script that unconditionally transmits sensitive environment details—specifically the installer's hostname, OS username, and current working directory—to a hardcoded bare-IP endpoint via an unencrypted HTTP request. The unusually high version number and the 'depconf' path token suggest this is a dependency-confusion attack designed to trick misconfigured package resolvers into downloading this malicious public package instead of the intended private internal package. The preinstall beacon serves to confirm successful compromise and gather identifying information about the target environment.
Potential Impact
This malicious package leaks sensitive environment information during installation, potentially exposing hostnames, user identities, and directory structures to an attacker-controlled server. While no direct code execution or system compromise is described, the information disclosure can aid attackers in further targeted attacks or reconnaissance.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing [email protected] and verify package sources to prevent dependency-confusion attacks. Organizations should audit their package resolution configurations to ensure private packages are not overridden by public packages with higher versions. Monitor for and remove any installations of this malicious package.
Malicious code in etoro-client (npm)
Description
The npm package [email protected] contains malicious code in its preinstall lifecycle script that sends the installer's hostname, OS username, and current working directory to a hardcoded IP address over plain HTTP. This behavior indicates a dependency-confusion attack, where a high-version public package impersonates an internal package to capture sensitive environment information during installation.
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-client package version 999.0.0 on npm includes a preinstall script that unconditionally transmits sensitive environment details—specifically the installer's hostname, OS username, and current working directory—to a hardcoded bare-IP endpoint via an unencrypted HTTP request. The unusually high version number and the 'depconf' path token suggest this is a dependency-confusion attack designed to trick misconfigured package resolvers into downloading this malicious public package instead of the intended private internal package. The preinstall beacon serves to confirm successful compromise and gather identifying information about the target environment.
Potential Impact
This malicious package leaks sensitive environment information during installation, potentially exposing hostnames, user identities, and directory structures to an attacker-controlled server. While no direct code execution or system compromise is described, the information disclosure can aid attackers in further targeted attacks or reconnaissance.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing [email protected] and verify package sources to prevent dependency-confusion attacks. Organizations should audit their package resolution configurations to ensure private packages are not overridden by public packages with higher versions. Monitor for and remove any installations of this malicious package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-16119
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6aa2af89acd9273b4925b528
Added to database: 09/10/2026, 13:24:25 UTC
Last enriched: 09/10/2026, 13:39:30 UTC
Last updated: 09/11/2026, 15:19:00 UTC
Views: 13
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.