npm · Malicious package advisory
Malware@years18/n8n-nodes-utils-helper-g
GHSA-gp8x-fpgr-97j6
Malicious code in @years18/n8n-nodes-utils-helper-g (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: amazon-inspector (b16d7ce451e7cdf1d3486a22c2ec25e3f56651ce45e132178839e2283918183f) The 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/06026f151d0406abcf51e273cdbe9620a0487d26/osv/malicious/npm/@years18/n8n-nodes-utils-helper-g/MAL-2026-13853.json)) **References:** - https://github.com/ossf/malicious-packages/blob/06026f151d0406abcf51e273cdbe9620a0487d26/osv/malicious/npm/@years18/n8n-nodes-utils-helper-g/MAL-2026-13853.json - https://www.npmjs.com/package/@years18/n8n-nodes-utils-helper-g/v/1.0.0 - https://github.com/advisories/GHSA-gp8x-fpgr-97j6
Compromised versions (1)
- = 1.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.