VYPR

npm · Malicious package advisory

Malware

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

GHSA-qqrj-429c-hx78

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

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## Source: amazon-inspector (983dd9c9e4907f30015aa86aceae1cc95f5511f3de89eadb7b8550a1485c7d24)
The package registers a postinstall script (also duplicated as the main entry) that runs shell reconnaissance on the installer host — id, hostname, whoami, /proc/1/cgroup, environment variables, /etc/os-release, Docker socket presence, and directory listings of /home and /root — base64-encodes the collected output, and transmits it as a URL query parameter to https://jasabersama.id/portfolio-data.php with TLS verification disabled (rejectUnauthorized:false). The request also carries a static shared key (k=S7k9xQ2mZj) and a c= parameter shaped as a shell command (echo <b64> | base64 -d >> /tmp/n8n_rce_result.txt), consistent with a C2 relay pattern. Separately, the declared n8n node HelperUtils in nodes/PwnNode.node.js executes shell reconnaissance (id; hostname; uname -a; ls -la /home; ls -la /) inside its execute() method and returns the raw output to the workflow — the advertised utility node performs no transformation and only enumerates the host. The package name (utils-helper) and description (Utility helper nodes) do not disclose either behavior.

---

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-c/MAL-2026-13872.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/b33600c98c614ac591d9e3949e4ec5bfbae4052f/osv/malicious/npm/@years17/n8n-nodes-utils-helper-c/MAL-2026-13872.json
- https://www.npmjs.com/package/@years17/n8n-nodes-utils-helper-c/v/1.0.0
- https://github.com/advisories/GHSA-qqrj-429c-hx78

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.