express-helmet (npm) · Malicious Code
Affects express-helmetSource GCVE Database
Malicious package : remove express-helmet and rotate any secrets on hosts that installed it.
Data as of 11 Nov 2026, 17:36 UTC
Malicious package
Published to npm · OSV MAL-2026-19130
What to do
Remove express-helmet 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-helmet | 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-helmet' has been identified as containing malicious code. Any system with this package installed or running is considered fully compromised, potentially allowing an attacker full control over the affected computer. Immediate rotation of all secrets and keys stored on the compromised system is advised. Removal of the package is recommended, but it may not fully eliminate the malicious presence due to potential persistent backdoors or additional malware installed.