{"id":"MAL-2026-16072","summary":"Malicious code in easypanel-agent (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7eb103b6863369372ba8c07701264f8b0f6b57e3217e07912c8efbd9371c648f)\nThe package's preinstall lifecycle script (preinstall.js) executes automatically on `npm install` and collects the installer's hostname, OS username, current working directory, and CI-related environment variable names. The collected data is base64-encoded and transmitted to a hardcoded out-of-band collector under lyomeri.com via both a DNS lookup (encoding data into a subdomain label under easypanel-agent.\u003cdata\u003e.oob.lyomeri.com) and an HTTP GET request to the same host. The package's main entry, index.js, is an empty stub (`module.exports = {}`), so the install-time beacon is the sole functional behavior. The package name mimics the 'easypanel' product, consistent with a dependency-confusion or typosquat delivery vehicle. An in-source comment self-labeling the code as a 'benign canary' does not change that installer-controlled data leaves the machine without consent to an author-controlled endpoint.\n","modified":"2026-09-09T05:45:04.554665851Z","published":"2026-09-09T05:33:53Z","database_specific":{"malicious-packages-origins":[{"sha256":"7eb103b6863369372ba8c07701264f8b0f6b57e3217e07912c8efbd9371c648f","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-019844","import_time":"2026-09-09T05:40:09.223404495Z","modified_time":"2026-09-09T05:33:53Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/easypanel-agent/v/1.0.0"}],"affected":[{"package":{"name":"easypanel-agent","ecosystem":"npm","purl":"pkg:npm/easypanel-agent"},"versions":["1.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":[{"path":"preinstall.js","sha256":"6745680ca88308fb2edbf23730172f4d404e4e3695eabfe67201720b50448706","tlsh":"dd1127b0d16092bd056162c0755a46929177dfd130e2c9d0782a66415fe26d20ff38fd"},{"path":"package.json","sha256":"6ab489785ad4c80976a569e42e8e3a9e87f6582414c5ed6b24ebd65d74977848","tlsh":"46c02b380b12f8b22bc08fd57d17884c60ff5611106e9c04d5d3152580e73de99af20f"}],"package_integrity":[{"filename":"easypanel-agent-1.0.0.tgz","hashes":{"sha1":"a116d2ec3930b34008b689cb11ce9e821bfb87fd","sha512_sri":"sha512-0YmgqL7NXlYDsNErQVqXyHc/jo9qOXSnfvmfEJ000cUn5h/Z8kksQNG7/rahiDcXTTOMYcZgCfBLb1tMU8zEsA=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/easypanel-agent/MAL-2026-16072.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}