VYPR

npm · Malicious package advisory

Malware

@years18/n8n-nodes-utils-helper-u

GHSA-rg2g-x7gq-vr62

Malicious code in @years18/n8n-nodes-utils-helper-u (npm)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## Source: amazon-inspector (2e6a7fb247eadeb1f59c123721fdc49078bb1b723f80ed10f2a29c1c04eb04df)
The package's postinstall script (duplicated as the main module) runs unconditionally on npm install. It executes `id` and `hostname`, base64-encodes the output, and transmits it as a query-string parameter to a hardcoded HTTPS endpoint at jasabersama.id/portfolio-data.php with TLS certificate validation explicitly disabled (rejectUnauthorized: false). The same lifecycle hook installs the Python `impacket` package system-wide via `pip --break-system-packages` and invokes `/tmp/mhddos/start.py`, an MHDDoS attack launcher, weaponizing the installer host for outbound denial-of-service activity. The URL also carries a `c=` parameter conveying a shell command that decodes attacker-controlled bytes into `/tmp/n8n_rce_result.txt`, providing a command-staging channel back to the same remote endpoint.

---

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-u/MAL-2026-13865.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/06026f151d0406abcf51e273cdbe9620a0487d26/osv/malicious/npm/@years18/n8n-nodes-utils-helper-u/MAL-2026-13865.json
- https://www.npmjs.com/package/@years18/n8n-nodes-utils-helper-u/v/1.0.0
- https://github.com/advisories/GHSA-rg2g-x7gq-vr62

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.