GHSA-f79q-fxj9-38rv
Malicious code in @years17/n8n-nodes-utils-helper-e (npm)
Impact
## 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/b33600c98c614ac591d9e3949e4ec5bfbae4052f/osv/malicious/npm/@years17/n8n-nodes-utils-helper-e/MAL-2026-13874.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @years17/n8n-nodes-utils-helper-e | = 1.0.0 | none recorded |