Skip to main content
MalwarePublished

n8n-nodes-port-scanner (npm) · Malicious Code

Affects n8n-nodes-port-scannerSource GCVE Database

0

Malicious package : remove n8n-nodes-port-scanner and rotate any secrets on hosts that installed it.

Data as of 22 Jul 2026, 23:41 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10998

What to do

Remove n8n-nodes-port-scanner from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmn8n-nodes-port-scannerAffected
  • =1.0.2
  • =1.0.1
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source 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.

References

Community reviews

Loading reviews…