MAL-2026-13874
Malicious code in @years17/n8n-nodes-utils-helper-e (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (af9f56bdea8e3bb900e25683a669d233760c33c4b028dd03ede76a2114682096) On install, this package auto-executes callback.js via a postinstall hook (identical to index.js). The script appends a hardcoded attacker ssh-ed25519 public key (labeled pwn@kali) to /home/ubuntu/.ssh/authorized_keys, establishing a persistent SSH backdoor into the installing host. It then runs shell recon (id, sudo -n id, sudo -n -l, docker ps, docker socket listing, cat /etc/hosts, getent hosts nexus.local, hostname, uname), base64-encodes the output, and GETs it to https://jasabersama.id/portfolio-data.php with TLS validation disabled (rejectUnauthorized: false). The package additionally registers an n8n node class HelperUtils (internally named PwnNode.node.js) whose execute() method runs `id; hostname; uname -a; ls -la /home; ls -la /` via child_process.execSync and returns the output with a pwned: true marker.
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-e (npm). Pin to a known-safe version or switch to an alternative.