{"id":"MAL-2026-15897","summary":"Malicious code in easypanel-core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4cb013a465c19126feba2006a81f33d65cc64b269e3da8ffe4e8284c7defa3cc)\neasypanel-core ships an inert `module.exports = {}` main and places all functionality in a preinstall lifecycle script. On `npm install`, preinstall.js collects os.hostname(), os.userInfo().username, process.cwd(), and the names of CI-related environment variables, base64url-encodes them, and transmits the data to `*.daco3v4q6f49egu1ds1gwjnsjb88s5kcp.oob.lyomeri.com` via both a DNS subdomain lookup and an HTTP GET to `/npm/\u003cencoded\u003e`. The package name mimics the easypanel project and the description advertises a 'client library', while the shipped library exports nothing and provides no functionality — the install-time beacon is the sole behavior.\n","modified":"2026-09-04T04:30:06.562108831Z","published":"2026-09-04T03:46:09Z","database_specific":{"malicious-packages-origins":[{"versions":["1.0.0"],"id":"IN-MAL-2026-019455","import_time":"2026-09-04T04:21:21.06582241Z","modified_time":"2026-09-04T03:46:09Z","sha256":"4cb013a465c19126feba2006a81f33d65cc64b269e3da8ffe4e8284c7defa3cc","source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/easypanel-core/v/1.0.0"}],"affected":[{"package":{"name":"easypanel-core","ecosystem":"npm","purl":"pkg:npm/easypanel-core"},"versions":["1.0.0"],"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":"preinstall.js","sha256":"7cf23cbeb7f80e5d840b6206a986f9d0f35862ec538cd2a14a0b5207024b3312","tlsh":"4d1123b0d16092bd066162c0686a46a29277efd130e2c9c07c2a66416fd26920bb38fe"},{"path":"index.js","sha256":"8222b8169ee86f25cdccd84d340340060ae3f0cff55e2ea9d344d7c332733b71"}],"package_integrity":[{"hashes":{"sha1":"fb667677563ac3730d3f55059c5c4bbe51957281","sha512_sri":"sha512-nrEb5sYmyQvyEYmtBRqdQfvUrPDXNv67Vri7RlMwNSvoXtINpxmWGowPGVj2VxSaAamcqz12/Uu9iAOxhi3pWw=="},"filename":"easypanel-core-1.0.0.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/easypanel-core/MAL-2026-15897.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}