express-guardrail (npm) · Malicious Code
Affects express-guardrailSource GCVE Database
Malicious package : remove express-guardrail and rotate any secrets on hosts that installed it.
Data as of 12 Sep 2026, 20:16 UTC
Malicious package
Published to npm · OSV MAL-2026-6821
What to do
Remove express-guardrail 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-guardrail | 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-guardrail versions 1.3.5 and 1.4.1 contain malicious code. Any system with this package installed should be considered fully compromised, as the package may provide an attacker full control. Immediate rotation of all secrets and keys stored on the affected system is strongly recommended. Simply removing the package does not guarantee removal of all malicious components.