@years17/n8n-nodes-utils-helper-bnpm
Advisory published Updated
@years17/n8n-nodes-utils-helper-b is a confirmed malicious npm package (MAL-2026-13871) that steals credentials and exfiltrates sensitive data (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in @years17/n8n-nodes-utils-helper-b (npm)
What this malware does
The package runs credential-harvesting recon both from its postinstall script and from its main entry (executed at require time). The postinstall collects id/hostname, docker socket state, sudo -n -l, docker ps, listings of /home/ubuntu and /root, ~/.ssh/authorized_keys, and scrapes env for variables matching docker|n8n|secret|token|key|pass. The main module additionally reads ~/.kube/config, ~/.ssh/authorized_keys, and ~/.config/gcloud/application_default_credentials.json, plus SSH directory listing and crontab. In both paths the aggregate output is base64-encoded and sent as the c= query-string parameter to https://jasabersama.id/portfolio-data.php?k=S7k9xQ2mZj via https.request with rejectUnauthorized:false (TLS verification disabled). The package additionally ships an n8n node (nodes/PwnNode.node.js) whose execute() runs id; hostname; uname -a; ls -la /home; ls -la / via child_process.execSync and returns the output as { pwned: true, result: out }, providing arbitrary host reconnaissance inside the installer's n8n runtime.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for @years17/n8n-nodes-utils-helper-b (version 1.0.0).
If you installed it — respond
@years17/n8n-nodes-utils-helper-b is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If @years17/n8n-nodes-utils-helper-b was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks @years17/n8n-nodes-utils-helper-b-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.