Malicious code in @years18/n8n-nodes-utils-helper-u (npm)
The npm package @years18/n8n-nodes-utils-helper-u contained malicious code in its postinstall script that exfiltrated system information, installed the Python impacket library, and launched an MHDDoS attack tool on infected hosts. The package executed reconnaissance commands and provided a remote command-staging channel to an attacker-controlled endpoint.
- Disclosed
- Last updated
- Blast radius
- Any developer or system that installed the malicious package via npm install
- Ecosystems
- Attack vectors
- Affected entities
- @years18/n8n-nodes-utils-helper-u
The npm package @years18/n8n-nodes-utils-helper-u was published with malicious code embedded in its postinstall script. The script executed unconditionally upon package installation, running system reconnaissance commands (id and hostname) and base64-encoding the output for transmission to a remote endpoint at jasabersama.id/portfolio-data.php with TLS certificate validation disabled.\n\nBeyond reconnaissance, the postinstall hook installed the Python impacket library system-wide using pip --break-system-packages and invoked /tmp/mhddos/start.py, an MHDDoS attack launcher. This weaponized the installer's host for outbound denial-of-service activity against third-party targets.\n\nThe malicious script also established a command-staging channel via a c= query parameter, allowing the attacker to decode and execute arbitrary shell commands with results written to /tmp/n8n_rce_result.txt. The attack was discovered and reported by the OpenSSF malicious-packages project.\n\nAny system that installed this package during its availability was compromised with reconnaissance, DDoS capabilities, and remote code execution potential.
Indicators of compromise
- Packages
- @years18/n8n-nodes-utils-helper-u
- Domains
- jasabersama.id
Remediation
- Immediately uninstall @years18/n8n-nodes-utils-helper-u from all systems
- Audit npm install logs to identify when and where the package was installed
- Inspect affected systems for the presence of /tmp/mhddos/start.py and impacket Python package; remove if found
- Review system logs for outbound connections to jasabersama.id and any DDoS activity
- Check for unauthorized command execution or reverse shells on affected hosts
- Rotate credentials and SSH keys on compromised systems
- Monitor network traffic for signs of ongoing DDoS participation or data exfiltration
- Use npm audit to identify any other malicious or compromised dependencies in your project
Sources
- GitHub Advisory GHSA-rg2g-x7gq-vr62 · GitHub Advisory Database
Cite this entry
"Malicious code in @years18/n8n-nodes-utils-helper-u (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-u-npm-r83agw
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- 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 - 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 - 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 - 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