MAL-2026-16113

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/etoro-api/MAL-2026-16113.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-16113
Published
2026-09-10T04:44:16Z
Modified
2026-09-10T05:30:11Z
Summary
Malicious code in etoro-api (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (ab6228f994962694d4434f53d20d6a5a1b877b39a3498236327da9d0385284d9)

The preinstall lifecycle script in etoro-api@999.0.0 (preinstall.js) auto-executes on npm install and performs an HTTP GET to a hardcoded bare-IP endpoint at http://209.126.81.147/etoro-depconf-poce346552f776f/npm///, embedding the installer's hostname (os.hostname()), OS username (os.userInfo().username), and current working directory (process.cwd()) as URL path components. The destination is a plain-HTTP bare-IP host unrelated to any legitimate eToro publishing infrastructure. The package name combined with the implausibly high version number (999.0.0) is the canonical dependency-confusion shape used to force resolution over an internal private package of the same name.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-019911",
            "import_time": "2026-09-10T05:18:06.043449146Z",
            "modified_time": "2026-09-10T04:44:16Z",
            "sha256": "ab6228f994962694d4434f53d20d6a5a1b877b39a3498236327da9d0385284d9",
            "source": "amazon-inspector",
            "versions": [
                "999.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / etoro-api

Package

Affected ranges

Affected versions

999.*
999.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "preinstall.js",
            "sha256": "bee47062733940943fd3a66654f0258135fd62911674304ccac11a43226b5f58",
            "tlsh": "ebe027f4118ca6683ccc01c4636b191ed4dfc705bcdec8c04a55d78587b15f1d6115f0"
        }
    ],
    "package_integrity": [
        {
            "filename": "etoro-api-999.0.0.tgz",
            "hashes": {
                "sha1": "f86eb01145e13c2a2305b30ad476a41bd84445c7",
                "sha512_sri": "sha512-DqUrDaBspfB3y7lvYFrBvfMvjnHRlwBvfrWJPnrVn5XxSn6mFIDl7NYy4SSxjMmWAdQuE8QeaSqDXq3FOGhEnQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/etoro-api/MAL-2026-16113.json"