Skip to main content
MalwarePublished Updated

middleware-jwt (npm) · Malicious Code

Affects middleware-jwtSource GCVE Database

0

Malicious package : remove middleware-jwt and rotate any secrets on hosts that installed it.

Data as of 9 Jul 2026, 10:05 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-5888

What to do

Remove middleware-jwt 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
npmmiddleware-jwtAffected
  • =1.0.0
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 middleware-jwt version 1.0.0 contains malicious code or depends on a package with malicious code. Installing or running this package can fully compromise the affected system. Secrets and keys stored on the compromised system should be rotated immediately from a different, trusted machine. Simply removing the package may not eliminate all malicious software introduced by it.

References

Community reviews

Loading reviews…