MAL-2026-16113Malicious code in etoro-api (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
999.0.0 | archived | — | — | VIP 下载 |
| Ecosystem | Package | Version |
|---|---|---|
| npm | etoro-api | 999.0.0 |
{"modified":"2026-09-10T04:44:16Z","published":"2026-09-10T04:44:16Z","schema_version":"1.7.4","id":"MAL-2026-16113","summary":"Malicious code in etoro-api (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ab6228f994962694d4434f53d20d6a5a1b877b39a3498236327da9d0385284d9)\nThe 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/<host>/<user>/<cwd>, 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.\n","affected":[{"package":{"ecosystem":"npm","name":"etoro-api"},"versions":["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=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/etoro-api/v/999.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"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"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0