{"id":"MAL-2026-16261","summary":"Malicious code in @railone/image-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ebec05d8415347cef93849315a26f4221e34efa278fffe1b89700af039246dc6)\nOn import, index.js calls initialize() which spawns a detached, stdio-suppressed, windowsHide `node loader.js` child (init.js) and records its PID. loader.js HTTPS-fetches JSON from https://api.npoint.io/641d37178a880b1e8b8f, base64-decodes the `code` field, and executes it via `new Function('require','__dirname','__filename','module','exports', decodedCode)(...)`, running arbitrary attacker-controlled JavaScript on the installer's host with full Node privileges and network access. The npoint.io endpoint is a mutable third-party JSON store whose contents can be changed at any time by whoever controls that resource, giving that party a persistent remote code-push channel into every installer. The package advertises itself as an image/runtime utility exposing `getProcessInfo`/`getRuntimeInfo`, but no such functions are exported; internal comments identify the code as an 'ID-10 Client Module' for 'device information collection and remote code execution' with 'AUTO-START ON IMPORT'.\n","modified":"2026-09-17T20:30:05.726000312Z","published":"2026-09-17T19:50:42Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-09-17T19:50:42Z","sha256":"ebec05d8415347cef93849315a26f4221e34efa278fffe1b89700af039246dc6","source":"amazon-inspector","versions":["1.1.10"],"id":"IN-MAL-2026-020137","import_time":"2026-09-17T20:18:44.84780687Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@railone/image-utils/v/1.1.10"}],"affected":[{"package":{"name":"@railone/image-utils","ecosystem":"npm","purl":"pkg:npm/%40railone/image-utils"},"versions":["1.1.10"],"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":[{"hashes":{"sha1":"c680a5bc765ee1ff1a3b359a634c5743e21ed763","sha512_sri":"sha512-gj/YYAc6vCDEwZpOAaUO+qy0fI9IB4XzYm+NgHdzt+Nh5wceFJldLLrj7lJZ9rMDh6KJFDsDT/hlyWKODli5pw=="},"filename":"image-utils-1.1.10.tgz"}],"evidence_files":[{"path":"loader.js","sha256":"98602aca3efb91d6f77d4f3d0283681f1a954821885259b70127a66eb34fa7e4","tlsh":"d35143a609fb35120277b0e6b70b596a96bba113314ec994fa9cc3d44fc2421d3d32dc"},{"tlsh":"f32142ab286a4b3981b2c4aa471fc51013a7d1777254f9a9f4ce87b56f0661cca238c8","path":"init.js","sha256":"dfd17877122c08d4206e82fb3b58793f4063f4005cfdd7805b325be2293d5822"},{"sha256":"68a53a63f724339e9a5231f7ef0c5b72101c98b37731ec4c78530cce625e9272","tlsh":"a8f0ac5b10832723855be3969662d0c00a7a8a0c3644ba02581f52bd0f840998356f57","path":"index.js"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@railone/image-utils/MAL-2026-16261.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}