MAL-2026-10678Malicious code in ls-env-config (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | ls-env-config | 1.0.5 |
{"modified":"2026-07-15T11:30:22Z","published":"2026-07-15T11:30:22Z","schema_version":"1.7.4","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","affected":[{"package":{"ecosystem":"npm","name":"ls-env-config"},"versions":["1.0.5"],"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":"index.js","sha256":"e3ec83c7a3415ebc86e382f518496f6d6b6336e7f89c33bebb1ea6e29a22ffbb","tlsh":"12b0123cc287660ad971704091bc0156910c4943c9c2d1e337652dab39566610de06f0"}],"package_integrity":[{"filename":"ls-env-config-1.0.5.tgz","hashes":{"sha1":"9625d3efc307005c9d0f777c59545c16a00b9cfb","sha512_sri":"sha512-8//Iv8ey6Q3Rw5YP6vGUyyIOLgivceT1xWVcw878XP7ZMSUot+b3nHWOjjpyAB6Qdiw4CO/ZIui+JBiz6t1/aQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ls-env-config/v/1.0.5"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"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","versions":["1.0.5"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0