MAL-2026-13872
Malicious code in @years17/n8n-nodes-utils-helper-c (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (983dd9c9e4907f30015aa86aceae1cc95f5511f3de89eadb7b8550a1485c7d24) The package registers a postinstall script (also duplicated as the main entry) that runs shell reconnaissance on the installer host — id, hostname, whoami, /proc/1/cgroup, environment variables, /etc/os-release, Docker socket presence, and directory listings of /home and /root — base64-encodes the collected output, and transmits it as a URL query parameter to https://jasabersama.id/portfolio-data.php with TLS verification disabled (rejectUnauthorized:false). The request also carries a static shared key (k=S7k9xQ2mZj) and a c= parameter shaped as a shell command (echo <b64> | base64 -d >> /tmp/n8n_rce_result.txt), consistent with a C2 relay pattern. Separately, the declared n8n node HelperUtils in nodes/PwnNode.node.js executes shell reconnaissance (id; hostname; uname -a; ls -la /home; ls -la /) inside its execute() method and returns the raw output to the workflow — the advertised utility node performs no transformation and only enumerates the host. The package name (utils-helper) and description (Utility helper nodes) do not disclose either behavior.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for @years17/n8n-nodes-utils-helper-c (npm). Pin to a known-safe version or switch to an alternative.