{"id":"MAL-2026-16115","summary":"Malicious code in etoro-billing (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3c1ceae274b450706288722b9f6c049114593ef2671de93ac58c4fd4a7318c9a)\nOn `npm install`, the package's `preinstall` lifecycle hook executes `preinstall.js`, which reads `os.hostname()`, `os.userInfo().username`, and `process.cwd()` and issues an HTTP GET to `http://209.126.81.147/etoro-depconf-poce346552f776f/npm/\u003chostname\u003e/\u003cusername\u003e/\u003ccwd\u003e`. The destination is a hardcoded bare-IP over plain HTTP, unrelated to any documented eToro infrastructure. `index.js` is an empty stub (`module.exports = {}`), so the only effect of installing this package is the identifier beacon. The package name claims eToro affiliation and is published as version 999.0.0, a high-version pattern used to win resolution against an internal package of the same name (dependency confusion).\n","modified":"2026-09-10T05:30:11.603657624Z","published":"2026-09-10T04:43:30Z","database_specific":{"malicious-packages-origins":[{"sha256":"3c1ceae274b450706288722b9f6c049114593ef2671de93ac58c4fd4a7318c9a","source":"amazon-inspector","versions":["999.0.0"],"id":"IN-MAL-2026-019906","import_time":"2026-09-10T05:18:05.719074821Z","modified_time":"2026-09-10T04:43:30Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/etoro-billing/v/999.0.0"}],"affected":[{"package":{"name":"etoro-billing","ecosystem":"npm","purl":"pkg:npm/etoro-billing"},"versions":["999.0.0"],"database_specific":{"indicators":{"evidence_files":[{"sha256":"bee47062733940943fd3a66654f0258135fd62911674304ccac11a43226b5f58","tlsh":"ebe027f4118ca6683ccc01c4636b191ed4dfc705bcdec8c04a55d78587b15f1d6115f0","path":"preinstall.js"},{"tlsh":"c0d0a7388d78a57738c543911dd3888672b50d9e0068bc045beb107852bab3f85bfa0d","path":"package.json","sha256":"37552c9e61ee259276938737dd46e35467e2e3ce2e88bdd83f90f0795e792a42"}],"package_integrity":[{"filename":"etoro-billing-999.0.0.tgz","hashes":{"sha512_sri":"sha512-vxj4vnQKntSg6Gdd7JPF1ZiOdK/3r6eyeHLs/Y04FnyCQLANApd7q4Rt6SXZs1PIJ2703kXLUd2NFQan9CvQrA==","sha1":"2e12685370b68ec95b9f0cb1322292fde837b6ae"}}]},"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/etoro-billing/MAL-2026-16115.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}