Malicious code in n8n-nodes-net-utils (npm)
The n8n-nodes-net-utils npm package versions 1.0.0, 1.0.1, and 1.0.2 contain malicious code that executes immediately upon being required. This code establishes a reverse shell to a hardcoded command and control (C2) server, collects sensitive host and Kubernetes configuration data, and attempts to gain persistent root SSH access on Docker hosts by injecting an attacker-controlled SSH key. The package includes a benign-looking node as cover and contains an earlier variant with the same C2 IP address. No official patch or remediation guidance is provided.
AI Analysis
Technical Summary
The n8n-nodes-net-utils package, advertised as a community 'Network Utils' node for n8n, contains an immediately invoked function expression (IIFE) in its main entry point that executes upon require. This malicious code spawns a /bin/bash shell connected to a hardcoded C2 server at 103.27.109.184:8895, providing an interactive reverse shell. It collects host reconnaissance data including hostname, user ID, IP addresses, Docker and Kubernetes configuration files, and probes for Evolution API credentials, sending this data over raw TCP to the C2 on ports 8890 and 8891. It further attempts a Docker container escape using privileged nsenter to append an attacker SSH ed25519 key labeled 'n8n-backdoor' into /root/.ssh/authorized_keys on the Docker host, enabling persistent root SSH access. Kubernetes credentials are also exfiltrated via mounted host directories. The package contains a no-op node as a decoy and an earlier variant with the same C2 IP in a subdirectory. Affected versions are 1.0.0, 1.0.1, and 1.0.2.
Potential Impact
This malicious package compromises the security of any system that installs it by providing attackers with an interactive reverse shell, enabling remote command execution. It exfiltrates sensitive host and Kubernetes configuration data, potentially exposing cluster credentials and infrastructure details. The attacker gains persistent root-level SSH access on Docker hosts through container escape and SSH key injection, allowing long-term unauthorized control. This can lead to full system compromise, data theft, and further lateral movement within affected environments.
Mitigation Recommendations
No official patch or remediation guidance is currently available. Users should immediately uninstall the affected versions (=1.0.0, =1.0.1, =1.0.2) of the n8n-nodes-net-utils package and avoid using this package from untrusted sources. Conduct a thorough security audit of affected systems for signs of compromise, including unauthorized SSH keys, unexpected network connections to 103.27.109.184, and presence of the malicious package files. Rotate any exposed credentials, especially Kubernetes and SSH keys. Monitor for suspicious activity and consider rebuilding compromised hosts. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Malicious code in n8n-nodes-net-utils (npm)
Description
The n8n-nodes-net-utils npm package versions 1.0.0, 1.0.1, and 1.0.2 contain malicious code that executes immediately upon being required. This code establishes a reverse shell to a hardcoded command and control (C2) server, collects sensitive host and Kubernetes configuration data, and attempts to gain persistent root SSH access on Docker hosts by injecting an attacker-controlled SSH key. The package includes a benign-looking node as cover and contains an earlier variant with the same C2 IP address. No official patch or remediation guidance is provided.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The n8n-nodes-net-utils package, advertised as a community 'Network Utils' node for n8n, contains an immediately invoked function expression (IIFE) in its main entry point that executes upon require. This malicious code spawns a /bin/bash shell connected to a hardcoded C2 server at 103.27.109.184:8895, providing an interactive reverse shell. It collects host reconnaissance data including hostname, user ID, IP addresses, Docker and Kubernetes configuration files, and probes for Evolution API credentials, sending this data over raw TCP to the C2 on ports 8890 and 8891. It further attempts a Docker container escape using privileged nsenter to append an attacker SSH ed25519 key labeled 'n8n-backdoor' into /root/.ssh/authorized_keys on the Docker host, enabling persistent root SSH access. Kubernetes credentials are also exfiltrated via mounted host directories. The package contains a no-op node as a decoy and an earlier variant with the same C2 IP in a subdirectory. Affected versions are 1.0.0, 1.0.1, and 1.0.2.
Potential Impact
This malicious package compromises the security of any system that installs it by providing attackers with an interactive reverse shell, enabling remote command execution. It exfiltrates sensitive host and Kubernetes configuration data, potentially exposing cluster credentials and infrastructure details. The attacker gains persistent root-level SSH access on Docker hosts through container escape and SSH key injection, allowing long-term unauthorized control. This can lead to full system compromise, data theft, and further lateral movement within affected environments.
Mitigation Recommendations
No official patch or remediation guidance is currently available. Users should immediately uninstall the affected versions (=1.0.0, =1.0.1, =1.0.2) of the n8n-nodes-net-utils package and avoid using this package from untrusted sources. Conduct a thorough security audit of affected systems for signs of compromise, including unauthorized SSH keys, unexpected network connections to 103.27.109.184, and presence of the malicious package files. Rotate any exposed credentials, especially Kubernetes and SSH keys. Monitor for suspicious activity and consider rebuilding compromised hosts. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-11003
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a6150ed9c2644c7f8da2cc0
Added to database: 07/22/2026, 23:23:25 UTC
Last enriched: 07/22/2026, 23:41:29 UTC
Last updated: 07/22/2026, 23:41:29 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.