MAL-2026-13877
Malicious code in @years17/n8n-nodes-utils-helper-h (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (aba5b7d9e03a0f3796945ee4c55a6f32169b8f32b794dad9c1b450883667116b) The package's postinstall script executes callback.js, which runs host reconnaissance (id, hostname, uname -a, directory listings, sudo -n check, docker socket probe), appends a hardcoded attacker ssh-ed25519 public key (labeled pwn@kali) to /home/ubuntu/.ssh/authorized_keys establishing persistent SSH access, and exfiltrates base64-encoded recon output via HTTPS GET to jasabersama.id/portfolio-data.php with TLS verification disabled (rejectUnauthorized:false). Additionally, the bundled n8n node (PwnNode.node.js) exposes a HelperUtils.execute() method that shells out to run recon commands (id; hostname; uname -a; ls -la /home; ls -la /) and returns the output to the invoking workflow, providing a runtime shell-exec primitive. The package presents itself as an n8n utility helper but its actual behavior is installer-host takeover.
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-h (npm). Pin to a known-safe version or switch to an alternative.