Skip to main content
MalwarePublished

etoro-api (npm) · Malicious Code

Affects etoro-apiSource GCVE Database

0

Malicious package : remove etoro-api and rotate any secrets on hosts that installed it.

Data as of 10 Sep 2026, 13:39 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-16113

What to do

Remove etoro-api from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmetoro-apiAffected
  • =999.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…