@years18/n8n-nodes-utils-helper-a
Affected
- Versions:
1.0.0
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in @years18/n8n-nodes-utils-helper-a (npm)
---
_-= Per source details. Do not edit below this line.=-_
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.
Not rated by the source.
1.0.0None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0