OpenSSF/OSV advisory MAL-2026-13874 confirms this npm version as malicious. 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,...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @years17/n8n-nodes-utils-helper-e (npm)
Details
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.
Decision reason
OpenSSF Malicious Packages via OSV confirms @years17/n8n-nodes-utils-helper-e@1.0.0 as malicious (MAL-2026-13874): Malicious code in @years17/n8n-nodes-utils-helper-e (npm)