Malicious code in n8n-nodes-pwn (npm)
The n8n-nodes-pwn npm package versions 1.0.0, 1.0.5, 1.0.6, 1.0.7, and 1.0.8 contain malicious code that executes immediately when the module is loaded. This code opens a TCP connection to a hardcoded private IP address and spawns an interactive shell, allowing remote control of the host. It also performs host reconnaissance, reads sensitive files including encrypted workflow credentials and configuration files, and exfiltrates this data to a remote server. The malicious payload is fully weaponized and would compromise any system that installs and loads this node.
AI Analysis
Technical Summary
The n8n-nodes-pwn package contains a malicious module (Pwn.node.js) that executes code at module load time. It establishes a TCP socket connection to 10.0.0.145:4444, spawning a /bin/sh interactive shell, thereby granting remote shell access to an attacker. Concurrently, it collects host information such as network interfaces, routing tables, ARP cache, TCP connections, and searches the filesystem for files matching 'flag/*.txt'. It reads the n8n encrypted workflow credentials database and configuration files, filtering for sensitive keywords like 'flag', 'password', and 'secret'. The aggregated data is sent via HTTP POST to a remote server at 10.0.0.145:8000. Although the hardcoded IP is a private address likely used for proof-of-concept or lab testing, the payload is fully functional and would compromise any host that loads this node. The affected versions are explicitly 1.0.0, 1.0.5, 1.0.6, 1.0.7, and 1.0.8.
Potential Impact
Successful installation and loading of the malicious n8n-nodes-pwn package results in full remote code execution on the host system via an interactive shell. Sensitive information including encrypted credentials and configuration data is exfiltrated to a remote server. This compromises confidentiality, integrity, and availability of the affected system and any workflows managed by n8n. The attacker gains persistent remote control and access to sensitive data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix or patch is released, avoid installing or loading the n8n-nodes-pwn package versions 1.0.0, 1.0.5, 1.0.6, 1.0.7, and 1.0.8. Verify the integrity and source of community nodes before use. Consider removing the affected package from existing installations and monitoring for suspicious network connections to private IP addresses. Follow vendor advisories for updates on remediation.
Malicious code in n8n-nodes-pwn (npm)
Description
The n8n-nodes-pwn npm package versions 1.0.0, 1.0.5, 1.0.6, 1.0.7, and 1.0.8 contain malicious code that executes immediately when the module is loaded. This code opens a TCP connection to a hardcoded private IP address and spawns an interactive shell, allowing remote control of the host. It also performs host reconnaissance, reads sensitive files including encrypted workflow credentials and configuration files, and exfiltrates this data to a remote server. The malicious payload is fully weaponized and would compromise any system that installs and loads this 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-pwn package contains a malicious module (Pwn.node.js) that executes code at module load time. It establishes a TCP socket connection to 10.0.0.145:4444, spawning a /bin/sh interactive shell, thereby granting remote shell access to an attacker. Concurrently, it collects host information such as network interfaces, routing tables, ARP cache, TCP connections, and searches the filesystem for files matching 'flag/*.txt'. It reads the n8n encrypted workflow credentials database and configuration files, filtering for sensitive keywords like 'flag', 'password', and 'secret'. The aggregated data is sent via HTTP POST to a remote server at 10.0.0.145:8000. Although the hardcoded IP is a private address likely used for proof-of-concept or lab testing, the payload is fully functional and would compromise any host that loads this node. The affected versions are explicitly 1.0.0, 1.0.5, 1.0.6, 1.0.7, and 1.0.8.
Potential Impact
Successful installation and loading of the malicious n8n-nodes-pwn package results in full remote code execution on the host system via an interactive shell. Sensitive information including encrypted credentials and configuration data is exfiltrated to a remote server. This compromises confidentiality, integrity, and availability of the affected system and any workflows managed by n8n. The attacker gains persistent remote control and access to sensitive data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix or patch is released, avoid installing or loading the n8n-nodes-pwn package versions 1.0.0, 1.0.5, 1.0.6, 1.0.7, and 1.0.8. Verify the integrity and source of community nodes before use. Consider removing the affected package from existing installations and monitoring for suspicious network connections to private IP addresses. Follow vendor advisories for updates on remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-11004
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a6150ed9c2644c7f8da2cb9
Added to database: 07/22/2026, 23:23:25 UTC
Last enriched: 07/22/2026, 23:41:19 UTC
Last updated: 07/22/2026, 23:41:19 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.
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.