{"id":"MAL-2026-10678","summary":"Malicious code in ls-env-config (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (db44619df34ccbffa5747f17c8135602583a781ec01f8d3c03e0f828157e944c)\nPackage declares a `preinstall` script (`node./index.js`) that fires automatically on `npm install`. The executed `index.js` issues an HTTP GET to a Burp-Collaborator-style subdomain at `85324cf9ac5145428803ea[...].collaborator.zivyelab.com/hello01?test=01`. This confirms code execution on the installer's machine and a DNS/HTTP callback to a non-first-party host on every install, leaking host and network reachability information. The pattern is consistent with a dependency-confusion probe; regardless of stated intent, it executes on any installer and beacons to a third-party collaborator endpoint.\n","modified":"2026-07-15T11:49:25.975693145Z","published":"2026-07-15T11:30:22Z","database_specific":{"malicious-packages-origins":[{"versions":["1.0.5"],"id":"IN-MAL-2026-010677","import_time":"2026-07-15T11:33:40.326746497Z","modified_time":"2026-07-15T11:30:22Z","sha256":"db44619df34ccbffa5747f17c8135602583a781ec01f8d3c03e0f828157e944c","source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ls-env-config/v/1.0.5"}],"affected":[{"package":{"name":"ls-env-config","ecosystem":"npm","purl":"pkg:npm/ls-env-config"},"versions":["1.0.5"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"package_integrity":[{"filename":"ls-env-config-1.0.5.tgz","hashes":{"sha1":"9625d3efc307005c9d0f777c59545c16a00b9cfb","sha512_sri":"sha512-8//Iv8ey6Q3Rw5YP6vGUyyIOLgivceT1xWVcw878XP7ZMSUot+b3nHWOjjpyAB6Qdiw4CO/ZIui+JBiz6t1/aQ=="}}],"evidence_files":[{"path":"index.js","sha256":"e3ec83c7a3415ebc86e382f518496f6d6b6336e7f89c33bebb1ea6e29a22ffbb","tlsh":"12b0123cc287660ad971704091bc0156910c4943c9c2d1e337652dab39566610de06f0"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ls-env-config/MAL-2026-10678.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}