Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

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

The npm package @years17/n8n-nodes-utils-helper-e contained malicious code that executed on install, adding an SSH public key to authorized_keys and exfiltrating system reconnaissance data to an attacker-controlled server.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system installing the malicious package; potential lateral movement via SSH backdoor and reconnaissance data exfiltration.
Ecosystems
Attack vectors
Affected entities
  • @years17/n8n-nodes-utils-helper-eMalicious npm package containing postinstall hook that establishes SSH backdoor and exfiltrates system information.

The npm package @years17/n8n-nodes-utils-helper-e was found to contain malicious code that automatically executes via a postinstall hook during package installation. The hook runs callback.js (identical to index.js), which performs multiple malicious actions on the host system.\n\nThe script appends a hardcoded SSH public key (labeled pwn@kali) to /home/ubuntu/.ssh/authorized_keys, establishing a persistent SSH backdoor. It then executes shell reconnaissance commands (id, sudo -n id, sudo -n -l, docker ps, docker socket listing, cat /etc/hosts, getent hosts nexus.local, hostname, uname), base64-encodes the output, and exfiltrates it via HTTP GET to https://jasabersama.id/portfolio-data.php with TLS validation disabled.\n\nThe package also registers a malicious n8n node class (HelperUtils, internally named PwnNode.node.js) whose execute() method runs additional system reconnaissance commands via child_process.execSync and returns results marked with a pwned: true indicator.\n\nThe incident was identified and credited to the OpenSSF malicious-packages repository (MAL-2026-13874).

Indicators of compromise

Packages
  • @years17/n8n-nodes-utils-helper-e
Domains
  • jasabersama.id

Remediation

  • Immediately uninstall @years17/n8n-nodes-utils-helper-e from all systems.
  • Audit /home/ubuntu/.ssh/authorized_keys and remove any unexpected SSH public keys, particularly those labeled pwn@kali.
  • Review system logs and network traffic for evidence of reconnaissance commands or data exfiltration to jasabersama.id.
  • Rotate SSH keys and credentials on affected systems.
  • Scan systems for persistence mechanisms and backdoors.
  • Block outbound connections to jasabersama.id at the network level.
  • Review npm package dependencies to identify if this package was installed as a transitive dependency.

Sources

  1. GitHub Advisory GHSA-f79q-fxj9-38rv · GitHub Advisory Database

Cite this entry

"Malicious code in @years17/n8n-nodes-utils-helper-e (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 12, 2026; last updated August 12, 2026. https://supplychainattack.org/incident/malicious-code-in-years17-n8n-nodes-utils-helper-e-npm-l6dwhk

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. activecritical

    Malware in @zynkit/probe

    Malware discovered in the npm package @zynkit/probe. Systems with this package installed or running are considered fully compromised, with potential for complete system takeover.

    npmCompromised package
  2. resolvedcritical

    Malicious code in epic-sso (npm)

    The npm package epic-sso was found to contain malicious code. The package was identified by Amazon Inspector and reported through the OpenSSF malicious packages database.

    npmCompromised package
  3. containedcritical

    Malicious code in pfp-forms-sme-loan (npm)

    The npm package pfp-forms-sme-loan contains malicious code that executes a hidden loader on import, downloading and running platform-specific native payloads from attacker-controlled Cloudflare Workers hosts or reconstructing them via DNS TXT records under well1.site. Any system that imported this package should be considered compromised.

    npmCompromised packageMalicious commit
  4. containedcritical

    Malicious code in checkout-desktop-total (npm)

    The npm package checkout-desktop-total contained malicious code that executes a hidden loader on import, downloading and running platform-specific native payloads from attacker-controlled Cloudflare Workers hosts or reconstructing them via DNS TXT records under wel1.ru. Any system that imported this package should be considered compromised.

    npmCompromised package