npm · Malicious package advisory
Malware@years18/n8n-nodes-utils-helper-a
GHSA-2mm6-55m4-cwcv
Malicious code in @years18/n8n-nodes-utils-helper-a (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: amazon-inspector (c3cd688f6f3a7075db2ae860db719600fda1fdd23485262a9f72de758834a582) The package presents itself as an n8n community node but ships a hostile payload in both callback.js (invoked from scripts.postinstall) and index.js (declared as main, so the same code runs on require/import). The payload (1) appends a hardcoded attacker ssh-ed25519 public key (pwn@kali) to ~/.ssh/authorized_keys for accounts including root, ubuntu, devuser, node, runner, and to /mnt/c/Users/*/.ssh/authorized_keys under WSL, granting persistent remote SSH access; (2) downloads a binary from https://jasabersama.id/assets/cache/.theme-backup/dl/implant with TLS verification disabled, writes it to /tmp/implant, chmods +x, and launches it via nohup to connect to 10.131.106.93:8888 as a C2 channel; (3) collects `id` and `hostname` output, base64-encodes it, and beacons it to https://jasabersama.id/portfolio-data.php with a hardcoded key parameter. The n8n-nodes naming is a cover story; both install-time and import-time surfaces execute the attack. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/06026f151d0406abcf51e273cdbe9620a0487d26/osv/malicious/npm/@years18/n8n-nodes-utils-helper-a/MAL-2026-13847.json)) **References:** - https://github.com/ossf/malicious-packages/blob/06026f151d0406abcf51e273cdbe9620a0487d26/osv/malicious/npm/@years18/n8n-nodes-utils-helper-a/MAL-2026-13847.json - https://www.npmjs.com/package/@years18/n8n-nodes-utils-helper-a/v/1.0.0 - https://github.com/advisories/GHSA-2mm6-55m4-cwcv
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.