express-router-engine (npm) · Malicious Code
Affects express-router-engineSource GCVE Database
Malicious package : remove express-router-engine and rotate any secrets on hosts that installed it.
Data as of 10 Jul 2026, 09:52 UTC
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
| Product | Affected | Fixed in |
|---|---|---|
| npmexpress-router-engine | Affected
| 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.