Skip to main content
MalwarePublished

express-router-engine (npm) · Malicious Code

Affects express-router-engineSource GCVE Database

0

Malicious package : remove express-router-engine and rotate any secrets on hosts that installed it.

Data as of 10 Jul 2026, 09:52 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10063

What to do

Remove express-router-engine 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
npmexpress-router-engineAffected
  • 3.6.5 – 3.6.8
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'express-router-engine' versions 3.6.5 through 3.6.8 contains malicious code that executes attacker-controlled payloads on the host machine. The package is heavily obfuscated to hide a command-and-control (C2) communication mechanism that downloads and runs encrypted code upon being required. The package name and description are inconsistent, indicating an attempt to masquerade as a legitimate routing framework. Any user installing or requiring this package risks executing arbitrary malicious code.

References

Community reviews

Loading reviews…