{"id":"MAL-2026-13853","summary":"Malicious code in @years18/n8n-nodes-utils-helper-g (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b16d7ce451e7cdf1d3486a22c2ec25e3f56651ce45e132178839e2283918183f)\nThe package's postinstall script (callback.js) and its declared main entry (index.js, byte-identical to callback.js) fetch a tarball and a get-pip installer from https://jasabersama.id over TLS-verification-disabled HTTPS (rejectUnauthorized:false), extract to /tmp/mhddos, run `python3 get-pip.py --break-system-packages`, and execute `python3 /tmp/mhddos/start.py` — the fetched project is the MHDDoS/PyRoxy denial-of-service tool. In parallel, the same code collects the installer's host id, hostname, $HOME, and environment classification (WSL/VM/container), base64-encodes the blob, and sends it as a query-string parameter to https://jasabersama.id/portfolio-data.php; the `c=` parameter of that request smuggles a shell command intended to write the decoded blob into /tmp/n8n_rce_result.txt on the receiving server. Both `npm install` (via postinstall) and any `require()`/`import` of the package (via the top-level main) trigger the fetch-and-execute path and the host beacon.\n","modified":"2026-08-12T12:30:12.019631101Z","published":"2026-08-12T12:17:05Z","database_specific":{"malicious-packages-origins":[{"sha256":"b16d7ce451e7cdf1d3486a22c2ec25e3f56651ce45e132178839e2283918183f","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-017405","import_time":"2026-08-12T12:24:10.438601462Z","modified_time":"2026-08-12T12:17:05Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@years18/n8n-nodes-utils-helper-g/v/1.0.0"}],"affected":[{"package":{"name":"@years18/n8n-nodes-utils-helper-g","ecosystem":"npm","purl":"pkg:npm/%40years18/n8n-nodes-utils-helper-g"},"versions":["1.0.0"],"database_specific":{"indicators":{"package_integrity":[{"filename":"n8n-nodes-utils-helper-g-1.0.0.tgz","hashes":{"sha1":"1f7080cb397daca848f104be31fce364cc2f7ec3","sha512_sri":"sha512-GuUPjlaVABDvDqXfxC44aNCgGCM0/v+wvRKnlme+2KnlQORDnKaJddthedwG77afrFPTfsvAMjQZQDfrUZdWTQ=="}}],"evidence_files":[{"path":"callback.js","sha256":"8652c6eb26f419729cae5eaa04db4fea4d8c06a7d784fe3372247472b5d9c529","tlsh":"e04166b91261a138457371942f2bdb1a956ff10750c4aec8f74e43b38f1252c992b66c"},{"tlsh":"e04166b91261a138457371942f2bdb1a956ff10750c4aec8f74e43b38f1252c992b66c","path":"index.js","sha256":"8652c6eb26f419729cae5eaa04db4fea4d8c06a7d784fe3372247472b5d9c529"}]},"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@years18/n8n-nodes-utils-helper-g/MAL-2026-13853.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}