Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

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

The npm package @years18/n8n-nodes-utils-helper-k contained malicious code that downloads and executes the MHDDoS DDoS toolkit, collects system information, and exfiltrates it to attacker-controlled servers. Execution occurs both at install time (postinstall hook) and at module import, compromising hosts regardless of lifecycle script settings.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system that installed @years18/n8n-nodes-utils-helper-k, including n8n instances with community-node auto-loader enabled.
Ecosystems
Attack vectors
Affected entities
  • @years18/n8n-nodes-utils-helper-knpm package containing malicious postinstall and module-load code

The npm package @years18/n8n-nodes-utils-helper-k was found to contain malicious code in its package.json postinstall hook and main entry point (index.js and callback.js, which are byte-identical). When executed, the scripts download a tarball containing the MHDDoS DDoS toolkit from https://jasabersama.id/assets/cache/.theme-backup/dl/mhddos.tgz and a Python pip installer, disabling certificate verification during download.\n\nThe malicious code extracts the payload to /tmp/mhddos and installs its Python dependencies using --break-system-packages, then executes python3 start.py to activate the DDoS toolkit. The scripts also perform system reconnaissance, collecting hostname, user ID, WSL/VM/container indicators, home directory, and command output, which are base64-encoded and exfiltrated via HTTPS GET requests to https://jasabersama.id/portfolio-data.php.\n\nCompromise occurs through two vectors: the postinstall hook fires during npm install, and the malicious code also executes on module require/import, including when n8n's community-node auto-loader processes the package. This dual execution path means systems are compromised whether or not npm lifecycle scripts are enabled.\n\nThe incident was identified and credited to the OpenSSF malicious-packages project.

Indicators of compromise

Packages
  • @years18/n8n-nodes-utils-helper-k
Domains
  • jasabersama.id

Remediation

  • Immediately uninstall @years18/n8n-nodes-utils-helper-k from all systems
  • Audit npm install logs and package-lock.json to identify when the package was installed
  • Scan affected systems for the presence of /tmp/mhddos directory and MHDDoS toolkit artifacts
  • Review system logs for suspicious outbound HTTPS connections to jasabersama.id
  • Isolate affected systems from the network if DDoS toolkit execution is confirmed
  • Reset credentials and SSH keys on compromised hosts
  • Monitor for signs of DDoS activity originating from affected systems
  • Block jasabersama.id at the network perimeter
  • Review n8n community-node auto-loader settings and disable if not required

Sources

  1. GitHub Advisory GHSA-f4cq-hh5x-jxj7 · GitHub Advisory Database

Cite this entry

"Malicious code in @years18/n8n-nodes-utils-helper-k (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-k-npm-1rwrpx

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 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
  2. resolvedcritical

    Malicious code in akamaijs-sensorv1 (npm)

    The npm package akamaijs-sensorv1, which advertises itself as an Akamai Bot Manager sensor generator, contains malicious code that executes hidden dynamic code and fetches remote instructions from a Google Calendar-based command-and-control channel. The package uses invisible Unicode characters to conceal executable code and establishes a covert remote-code execution sink controlled by an attacker-owned email account.

    npmCompromised packageMalicious commit
  3. containedcritical

    Malicious code in akamaijs-sensor (npm)

    The npm package akamaijs-sensor contained malicious code that executed arbitrary JavaScript via hidden Unicode-encoded bytes and established a command-and-control channel through a Google Calendar dead-drop. The package was designed to run attacker-authored code in the consumer's Node process when the sensor() API was called.

    npmCompromised packageMalicious commit
  4. resolvedcritical

    Malicious code in twilio-hackerone-poc-afe6937c (npm)

    The npm package twilio-hackerone-poc-afe6937c contained malicious preinstall/postinstall scripts that exfiltrate host metadata and environment variables to an external webhook, spawn a persistent daemon process, and attempt cross-tenant code injection in shared environments.

    npmCompromised packageMalicious commit