GHSA-8f8g-2m8w-r85v
Malicious code in @years17/n8n-nodes-utils-helper-h (npm)
Auswirkung
## 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. --- 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-h/MAL-2026-13877.json))
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | @years17/n8n-nodes-utils-helper-h | = 1.0.0 | nicht erfasst |