Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

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

The npm package @years18/n8n-nodes-utils-helper-f contained malicious postinstall hooks that execute host reconnaissance, exfiltrate system information to an external server, probe internal networks, and install the mhddos DDoS framework on the installer's machine.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any developer or system installing @years18/n8n-nodes-utils-helper-f from npm; affected machines become DDoS nodes and leak internal network information.
Ecosystems
Attack vectors
Affected entities
  • @years18/n8n-nodes-utils-helper-fMalicious npm package with postinstall hook executing reconnaissance and DDoS malware

The npm package @years18/n8n-nodes-utils-helper-f was found to contain malicious code in its postinstall hook (callback.js / index.js). Upon installation, the package executes shell commands to gather system information including id and hostname output.\n\nThe malicious code probes an internal RFC1918 address (10.131.106.93:8888) via /dev/tcp, base64-encodes the collected reconnaissance data, and exfiltrates it via HTTPS GET requests to jasabersama.id/portfolio-data.php with TLS verification disabled. The server-side endpoint decodes the payload and writes results to /tmp/n8n_rce_result.txt.\n\nAdditionally, the postinstall hook downloads and executes the mhddos DDoS framework by running python3 /tmp/get-pip.py --break-system-packages, installing dependencies from /tmp/mhddos/requirements.txt, and executing /tmp/mhddos/start.py. This turns the installer's machine into an active DDoS node at install time.\n\nThe incident was identified and credited to the OpenSSF malicious-packages repository.

Indicators of compromise

Packages
  • @years18/n8n-nodes-utils-helper-f
Domains
  • jasabersama.id
IPs
  • 10.131.106.93

Remediation

  • Immediately uninstall @years18/n8n-nodes-utils-helper-f from all systems
  • Audit npm install logs and package-lock.json to identify all machines that installed this package
  • Inspect affected systems for mhddos framework artifacts in /tmp and running DDoS processes
  • Review network logs for outbound HTTPS connections to jasabersama.id and internal probes to 10.131.106.93:8888
  • Regenerate credentials and SSH keys on affected systems
  • Monitor affected machines for DDoS activity and isolate if necessary
  • Update npm to the latest version and use npm audit to check for other malicious packages

Sources

  1. GitHub Advisory GHSA-5984-r5vf-56w4 · GitHub Advisory Database

Cite this entry

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

Suggest a correction

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

  1. containedcritical

    Malicious code in 3-buildsight-web (npm)

    The npm package 3-buildsight-web contains malicious code that fetches and executes arbitrary JavaScript from a remote Bitbucket URL on module load, granting full page privileges to an unverified third party.

    npmCompromised package
  2. resolvedcritical

    Malicious code in @usaa-grp-personal-profile/personal-profile-common (npm)

    Malicious package @usaa-grp-personal-profile/personal-profile-common version 999.0.0 published to public npm as a dependency-confusion attack targeting an organization's internal registry. The package contains preinstall and postinstall hooks that exfiltrate hostname, username, and working directory to an attacker-controlled OAST endpoint on every install.

    npmDependency confusionCompromised package
  3. resolvedcritical

    Malicious code in create-coin (npm)

    create-coin@20.1.1 on npm contained malicious postinstall code that collected sensitive environment variables, credentials, and host reconnaissance data. The package impersonated an esbuild platform build and exfiltrated data to a hardcoded endpoint.

    npmCompromised packageTyposquatting
  4. resolvedcritical

    Malicious code in @syncraft-labs/vue (npm)

    The npm package @syncraft-labs/vue version 0.4.1 contained malicious obfuscated code in its ESM build that implements a blockchain-hosted C2 dropper (EtherHiding pattern), enabling remote code execution on any consumer importing the package.

    npmCompromised package