VYPR

npm · Malicious package advisory

Malware

@years17/n8n-nodes-utils-helper-d

GHSA-wcw8-96hh-w5rr

Malicious code in @years17/n8n-nodes-utils-helper-d (npm)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## Source: amazon-inspector (cae13b1ae51e25930b719e8953b7349777e5b6c98c514490a937eab4136de603)
On `npm install`, the package's postinstall hook runs `node callback.js` (with identical logic duplicated in `index.js` so it also fires on require). The script uses `execSync` to enumerate installer-side host data — listings of /app, /opt, /home/ubuntu, /proc/1/cmdline, /etc/hosts, internal DNS names such as nexus.local/proxy.nexus.local, and the contents of /home/ubuntu/.ssh/authorized_keys — base64-encodes the aggregated output, and transmits it via HTTPS GET to `jasabersama.id/portfolio-data.php` with `rejectUnauthorized: false` (TLS verification disabled). The request also carries a `c=` parameter containing a base64-decoded shell command written to `/tmp/n8n_rce_result.txt`, consistent with an attacker-side command-delivery handler. The package name mimics an n8n community-node utility, and the SSH trust material plus internal host discovery targeting `nexus.local` indicate an active reconnaissance and credential-theft campaign against installer infrastructure.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/b33600c98c614ac591d9e3949e4ec5bfbae4052f/osv/malicious/npm/@years17/n8n-nodes-utils-helper-d/MAL-2026-13873.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/b33600c98c614ac591d9e3949e4ec5bfbae4052f/osv/malicious/npm/@years17/n8n-nodes-utils-helper-d/MAL-2026-13873.json
- https://www.npmjs.com/package/@years17/n8n-nodes-utils-helper-d/v/1.0.0
- https://github.com/advisories/GHSA-wcw8-96hh-w5rr

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.