{"id":"MAL-2026-16418","summary":"Malicious code in n8n-nodes-data-transformer-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (77b996187dc49e5591ddf3cef428be3a9309e7f5bab48bd4698aed2be0c3dfb0)\nThe package's postinstall.js runs automatically on npm install and combines child_process.execSync with http/https.request and multiple curl invocations to collect host information (including reads of /etc/hosts) and POST/GET the results to a remote endpoint. The file uses a hardcoded hostname target, executes shell commands to gather system data, and transmits it over HTTP without any relation to the package's advertised data-transformation purpose. The package name mimics the n8n community-node naming convention, providing a lure for users seeking legitimate n8n utilities. Installing the package on default settings triggers immediate host reconnaissance and outbound exfiltration to an attacker-controlled destination.\n","modified":"2026-09-22T22:30:06.162235886Z","published":"2026-09-22T21:52:37Z","database_specific":{"malicious-packages-origins":[{"versions":["1.0.0"],"id":"IN-MAL-2026-020315","import_time":"2026-09-22T22:16:11.740888974Z","modified_time":"2026-09-22T21:52:37Z","sha256":"77b996187dc49e5591ddf3cef428be3a9309e7f5bab48bd4698aed2be0c3dfb0","source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/n8n-nodes-data-transformer-utils/v/1.0.0"}],"affected":[{"package":{"name":"n8n-nodes-data-transformer-utils","ecosystem":"npm","purl":"pkg:npm/n8n-nodes-data-transformer-utils"},"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":"postinstall.js","sha256":"1c63ac3ce59025a1cefe6fbc70eb1b38138aa589725963372e02db63d1e0b5e7","tlsh":"f1c183c5a9f59c317ebfe469b16b901f2923a0072645fc04b35959210f0fa5ce2ba3f9"}],"package_integrity":[{"filename":"n8n-nodes-data-transformer-utils-1.0.0.tgz","hashes":{"sha512_sri":"sha512-X/S1N/kJhO1DWeAEAlDqYSR4sHwkq+G0lgomxb8ijLQkcETAdhncW2nRbh+UxDBaRB7gzAPMV40oYVxax0Y/Cw==","sha1":"a3b8436b5831959d5738d8dea19f83176749c217"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/n8n-nodes-data-transformer-utils/MAL-2026-16418.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}