npm · Malicious package advisory
Malware@years17/n8n-nodes-utils-helper-h
MAL-2026-13877
Malicious code in @years17/n8n-nodes-utils-helper-h (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## 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.
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.