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 loaded. This code opens a TCP socket to a 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 exfiltrates this data to a remote server. The malicious payload is fully weaponized and would execute on any system that loads the compromised 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 opens a TCP connection to 10.0.0.145:4444 and pipes this socket to a spawned /bin/sh interactive shell, granting remote shell access to an attacker. Concurrently, it runs reconnaissance commands to gather network and system information, reads sensitive files such as /home/node/.n8n/database.sqlite filtering for secrets, and reads configuration files. The collected data is sent via HTTP POST to a remote server at 10.0.0.145:8000. The hardcoded IP is a private address consistent with a lab or proof-of-concept environment, but the payload is fully functional and would compromise any host that loads this node.
Potential Impact
Successful loading of the malicious n8n-nodes-pwn package results in complete remote code execution with interactive shell access on the host. Sensitive information including encrypted credentials and configuration data is exfiltrated. This compromises confidentiality, integrity, and availability of the affected system and any workflows managed by n8n on that host.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately cease using the affected versions of the n8n-nodes-pwn package (1.0.0, 1.0.5, 1.0.6, 1.0.7, 1.0.8). Remove the malicious package from all environments and avoid loading this community node until a trusted, verified version is available. Monitor for unauthorized network connections and investigate any systems where this package was installed. Patch status is not yet confirmed — check the vendor advisory or trusted sources 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 loaded. This code opens a TCP socket to a 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 exfiltrates this data to a remote server. The malicious payload is fully weaponized and would execute on any system that loads the compromised 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 opens a TCP connection to 10.0.0.145:4444 and pipes this socket to a spawned /bin/sh interactive shell, granting remote shell access to an attacker. Concurrently, it runs reconnaissance commands to gather network and system information, reads sensitive files such as /home/node/.n8n/database.sqlite filtering for secrets, and reads configuration files. The collected data is sent via HTTP POST to a remote server at 10.0.0.145:8000. The hardcoded IP is a private address consistent with a lab or proof-of-concept environment, but the payload is fully functional and would compromise any host that loads this node.
Potential Impact
Successful loading of the malicious n8n-nodes-pwn package results in complete remote code execution with interactive shell access on the host. Sensitive information including encrypted credentials and configuration data is exfiltrated. This compromises confidentiality, integrity, and availability of the affected system and any workflows managed by n8n on that host.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately cease using the affected versions of the n8n-nodes-pwn package (1.0.0, 1.0.5, 1.0.6, 1.0.7, 1.0.8). Remove the malicious package from all environments and avoid loading this community node until a trusted, verified version is available. Monitor for unauthorized network connections and investigate any systems where this package was installed. Patch status is not yet confirmed — check the vendor advisory or trusted sources 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: 08/05/2026, 17:54:46 UTC
Last updated: 08/30/2026, 18:22:57 UTC
Views: 39
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.