Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in n8n-nodes-port-scanner (npm)

0
Critical
Published: 07/22/2026 (07/22/2026, 20:29:00 UTC)
Source: GCVE Database
Product: n8n-nodes-port-scanner

Description

The n8n-nodes-port-scanner npm package versions 1.0.0, 1.0.1, and 1.0.2 contains malicious code that executes immediately upon loading. It collects host identity and network configuration data, establishes a remote interactive shell to a hardcoded IP address, and performs unauthorized internal network port scanning. The package's stated purpose as a port scanner is a cover for this malicious reconnaissance and remote access behavior.

Affected software

npmghsa
n8n-nodes-port-scanner
Affected versions
=1.0.2=1.0.1=1.0.0

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

AILast updated: 07/22/2026, 23:41:46 UTC

Technical Analysis

The n8n-nodes-port-scanner package includes a top-level immediately-invoked function expression (IIFE) that runs at require-time. This code executes system commands to gather hostname, IP addresses, routing, ARP/neighbors, and DNS resolver information, then sends this data to a remote host at 103.27.109.184:8893. It also spawns an interactive bash shell connected over TCP to the same remote host, granting full remote shell access. Additionally, it scans internal subnets 172.17.0.0/24, 172.18.0.0/24, and 10.200.37.0/24 on multiple common ports, including the scan results in the exfiltrated data. This behavior occurs unconditionally when the module is loaded, without operator invocation, indicating the package is a malicious backdoor and reconnaissance tool rather than a legitimate port scanner.

Potential Impact

Systems that install and load any of the affected versions of this package are subject to unauthorized data exfiltration of host and network information, remote command execution via an interactive shell by a remote attacker, and internal network reconnaissance. This compromises confidentiality, integrity, and potentially availability of the affected host and its internal network environment.

Mitigation Recommendations

No official patch or remediation is currently available for this malicious package. Users should immediately remove and avoid using n8n-nodes-port-scanner versions 1.0.0, 1.0.1, and 1.0.2. Verify that no unauthorized remote connections or shells remain active. Audit systems for signs of compromise and network scanning activity related to this package. Consider blocking outbound connections to the hardcoded IP 103.27.109.184:8893 at network perimeter controls. Monitor for any further updates from the package maintainers or security advisories.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-10998
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a6150ee9c2644c7f8da2cfb

Added to database: 07/22/2026, 23:23:26 UTC

Last enriched: 07/22/2026, 23:41:46 UTC

Last updated: 07/22/2026, 23:41:46 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses