Malicious code in n8n-nodes-api-finder (npm)
The n8n-nodes-api-finder npm package versions 1.0.0, 1.0.1, and 1.0.2 contain malicious code that executes a reverse shell to a hardcoded command and control server. It collects host reconnaissance data and attempts Docker breakout techniques to establish persistent root SSH access on the host. The package also accesses Kubernetes configuration files and forwards them to the attacker. This malicious behavior is embedded in the package's index.js file, which runs on load, masquerading as a benign n8n community node.
AI Analysis
Technical Summary
The n8n-nodes-api-finder package (versions 1.0.0, 1.0.1, 1.0.2) is a malicious npm package that pretends to be an n8n community node but executes harmful payloads upon loading. The payload opens a bash reverse shell to a hardcoded IP address and port, collects system and container reconnaissance data, and sends this data over raw TCP to multiple attacker-controlled ports. It attempts two Docker breakout methods to append an attacker-controlled ed25519 public key to the host's root SSH authorized_keys file, enabling persistent root access. Additionally, it docker-executes into a specific container to extract Kubernetes configuration files from the host and exfiltrates them. The malicious code is present in both index.js and package/index.js files within the package.
Potential Impact
Successful execution of this malicious package results in remote code execution via a reverse shell, unauthorized collection and exfiltration of sensitive host and container information, and persistent root-level SSH backdoor access on the host system. It compromises container isolation by attempting Docker breakout techniques and exposes Kubernetes credentials, potentially allowing attackers to control container orchestration and infrastructure.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users should immediately remove the n8n-nodes-api-finder package versions 1.0.0, 1.0.1, and 1.0.2 from their environments. Avoid installing or using this package from npm. Conduct a thorough investigation of any systems where this package was installed to detect and remediate any unauthorized access or persistence mechanisms. Monitor for suspicious network connections to the hardcoded IP addresses and ports. Consider rotating SSH keys and Kubernetes credentials if compromise is suspected.
Malicious code in n8n-nodes-api-finder (npm)
Description
The n8n-nodes-api-finder npm package versions 1.0.0, 1.0.1, and 1.0.2 contain malicious code that executes a reverse shell to a hardcoded command and control server. It collects host reconnaissance data and attempts Docker breakout techniques to establish persistent root SSH access on the host. The package also accesses Kubernetes configuration files and forwards them to the attacker. This malicious behavior is embedded in the package's index.js file, which runs on load, masquerading as a benign n8n community node.
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-api-finder package (versions 1.0.0, 1.0.1, 1.0.2) is a malicious npm package that pretends to be an n8n community node but executes harmful payloads upon loading. The payload opens a bash reverse shell to a hardcoded IP address and port, collects system and container reconnaissance data, and sends this data over raw TCP to multiple attacker-controlled ports. It attempts two Docker breakout methods to append an attacker-controlled ed25519 public key to the host's root SSH authorized_keys file, enabling persistent root access. Additionally, it docker-executes into a specific container to extract Kubernetes configuration files from the host and exfiltrates them. The malicious code is present in both index.js and package/index.js files within the package.
Potential Impact
Successful execution of this malicious package results in remote code execution via a reverse shell, unauthorized collection and exfiltration of sensitive host and container information, and persistent root-level SSH backdoor access on the host system. It compromises container isolation by attempting Docker breakout techniques and exposes Kubernetes credentials, potentially allowing attackers to control container orchestration and infrastructure.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users should immediately remove the n8n-nodes-api-finder package versions 1.0.0, 1.0.1, and 1.0.2 from their environments. Avoid installing or using this package from npm. Conduct a thorough investigation of any systems where this package was installed to detect and remediate any unauthorized access or persistence mechanisms. Monitor for suspicious network connections to the hardcoded IP addresses and ports. Consider rotating SSH keys and Kubernetes credentials if compromise is suspected.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10774
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a6150ee9c2644c7f8da2d1b
Added to database: 07/22/2026, 23:23:26 UTC
Last enriched: 07/22/2026, 23:42:34 UTC
Last updated: 07/28/2026, 21:27:25 UTC
Views: 3
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.