{"id":"MAL-2026-16120","summary":"Malicious code in etoro-core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (64a03f7bbaa2cb54ffea9a0c98d22bdc2fdb0d368846beefbd8d9c3b5ab3f644)\nThe package's preinstall lifecycle script (preinstall.js) issues an HTTP GET to the hardcoded bare-IP endpoint http://209.126.81.147/etoro-depconf-poce346552f776f/npm/ with os.hostname(), os.userInfo().username, and process.cwd() embedded in the URL path. This runs automatically on `npm install` and transmits installer host identity over plaintext HTTP to an attacker-controlled destination. The package name and inflated 999.0.0 version are consistent with a dependency-confusion payload targeting an internal `etoro-core` name.\n","modified":"2026-09-10T05:30:11.591263380Z","published":"2026-09-10T04:43:55Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-019909","import_time":"2026-09-10T05:18:05.948864176Z","modified_time":"2026-09-10T04:43:55Z","sha256":"64a03f7bbaa2cb54ffea9a0c98d22bdc2fdb0d368846beefbd8d9c3b5ab3f644","source":"amazon-inspector","versions":["999.0.0"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/etoro-core/v/999.0.0"}],"affected":[{"package":{"name":"etoro-core","ecosystem":"npm","purl":"pkg:npm/etoro-core"},"versions":["999.0.0"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"sha256":"bee47062733940943fd3a66654f0258135fd62911674304ccac11a43226b5f58","tlsh":"ebe027f4118ca6683ccc01c4636b191ed4dfc705bcdec8c04a55d78587b15f1d6115f0","path":"preinstall.js"}],"package_integrity":[{"filename":"etoro-core-999.0.0.tgz","hashes":{"sha1":"8d751541e87deb4cff3f46f4544042c4b022a5b4","sha512_sri":"sha512-cTZRZDkla9icGKB0uMZIFkE3bNg/s4X0HFJobSTDnbhcLDB5uJ9HBmCiZfwKrBsfXiHK7ZENEADCSdJ6WHR5cg=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/etoro-core/MAL-2026-16120.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}