express-enrouten-async (npm) · Malicious Code
Affects express-enrouten-asyncSource GCVE Database
Malicious package : remove express-enrouten-async and rotate any secrets on hosts that installed it.
Data as of 20 Aug 2026, 14:37 UTC
Malicious package
Published to npm · OSV MAL-2026-4556
What to do
Remove express-enrouten-async 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-enrouten-async | 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-enrouten-async' is a malicious package impersonating the legitimate 'express-enrouten' library. Instead of providing legitimate route discovery functionality, it hardcodes demo routes and declares a dependency on a node-fetch package hosted on a third-party, non-npm registry. This causes npm installs to fetch attacker-controlled code, enabling arbitrary code execution. Systems with this package installed should be considered fully compromised, and all secrets and keys must be rotated. Removal of the package alone does not guarantee full remediation due to potential persistent compromise.