etoro-analytics
Affected
- Versions:
99.0.0,99.0.2,999.0.0
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in etoro-analytics (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (bfe27d37497e77c8f0eca9105a6b64c646c7ef1439c05ec50edaf40215037f92)
[email protected] ships a preinstall lifecycle script (preinstall.js) that automatically runs on npm install. The script collects installer host identifiers (hostname, username, cwd, platform) and issues an initial HTTP GET to http://209.126.81.147/etoro-nuget-verify1f8eaa57a875/v4/<host>/<user>/<platform>/<cwd>. It then invokes child_process.execSync on platform-branched reconnaissance commands (whoami /all, ipconfig /all, tasklist on Windows; whoami, ifconfig, ps aux, env on POSIX) plus home/root directory listings and POSTs the output back to the same hardcoded bare-IP endpoint over plain HTTP. The package name, implausibly high version number (99.0.2), and canary-token URL path are consistent with a dependency-confusion beacon targeting an internal etoro package namespace.
Not rated by the source.
99.0.0, 99.0.2, 999.0.0None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0