@years20/n8n-nodes-utils-helper-c
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 @years20/n8n-nodes-utils-helper-c (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (faf7b80781cbd76ad24c149a065fbcdd3d75cff7911b0225a540b0f358c35570)
On npm install, callback.js/index.js (invoked from the package's postinstall/main) executes id and hostname, reads /etc/ssh/ssh_host_ed25519_key.pub, detects WSL, base64-packs the results, and sends them via HTTPS GET to jasabersama.id/portfolio-data.php with TLS verification disabled (rejectUnauthorized:false). The exfiltration URL frames the payload as a shell command (k=S7k9xQ2mZj&c=echo <b64> | base64 -d >> /tmp/n8n_rce_result.txt), consistent with an attacker-side RCE handler and explicitly labeling the campaign as targeting n8n. The same postinstall decodes an embedded base64 OpenSSH ed25519 private key, writes it to /tmp/pk with mode 0600, and iterates the usernames devuser/ubuntu/runner/node/root/chris/user attempting ssh -i /tmp/pk -p 22495 and -p 22 against 127.0.0.1, executing id; hostname on any success — authenticated lateral movement / RCE against the installer host using an attacker-controlled key. The package identifies itself as an n8n helper utility.
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