npm · Malicious package advisory
Malware@years17/n8n-nodes-utils-helper-e
GHSA-f79q-fxj9-38rv
Malicious code in @years17/n8n-nodes-utils-helper-e (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## 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)) **References:** - https://github.com/ossf/malicious-packages/blob/b33600c98c614ac591d9e3949e4ec5bfbae4052f/osv/malicious/npm/@years17/n8n-nodes-utils-helper-e/MAL-2026-13874.json - https://www.npmjs.com/package/@years17/n8n-nodes-utils-helper-e/v/1.0.0 - https://github.com/advisories/GHSA-f79q-fxj9-38rv
Compromised versions (1)
- = 1.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.