n8n-nodes-port-scanner @1.0.2
Vulnerability report · Last retrieved from osv.dev July 23, 2026 at 9:18 AM UTC
OSV ID
MAL-2026-10998
Ecosystem
npm
Summary
index.js executes a top-level IIFE at require-time that (1) runs hostname, hostname -I, id, ip route, ip neigh/arp and reads /etc/resolv.conf, opens a raw TCP socket to 103.27.109.184:8893, and writes the collected host identity and network configuration to that remote host; (2) spawns /bin/bash -i and pipes its stdin/stdout/stderr over a second TCP connection to 103.27.109.184:8893, granting the remote party an interactive shell on the installer's machine; and (3) enumerates internal subnets 172.17.0.0/24, 172.18.0.0/24, and 10.200.37.0/24 across ports 22, 80, 443, 3000, 5678, 8080, and 8443, including the open-port results in the exfil payload. The scanning behavior runs unconditionally when the module is loaded, against private networks the installer has not designated as targets, and its results are shipped to the same hardcoded bare-IP endpoint — the package's advertised 'port scanner' purpose is a cover for installer-side reconnaissance and remote access, not an operator-invoked pentest tool.
Source: amazon-inspector (cffdebe2e0a27deb3751af547baace8a403244cb92d214db726d3700a192d61e)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.