Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in middleware-jwt (npm)

0
Critical
Published: 06/16/2026 (06/16/2026, 14:35:45 UTC)
Source: GCVE Database
Product: middleware-jwt

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.

Affected software

npmghsa
middleware-jwt
Affected versions
=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/09/2026, 10:05:38 UTC

Technical Analysis

The middleware-jwt package version 1.0.0 was found to contain malicious code or to consume a dependency that contains malicious code. This malicious code can lead to full compromise of any computer where the package is installed or running. The advisory warns that all secrets and keys on the compromised system should be rotated from a separate, secure system. Due to the nature of the compromise, removing the package alone may not fully remediate the infection.

Potential Impact

Systems with middleware-jwt version 1.0.0 installed or running are considered fully compromised. Attackers may have gained full control over the system, potentially exposing all stored secrets and keys. The compromise may persist even after removal of the package, indicating a high risk of persistent malicious presence.

Mitigation Recommendations

Remove the middleware-jwt package version 1.0.0 immediately from affected systems. Rotate all secrets and keys that were stored on the compromised system, performing this rotation from a different, trusted computer. Because full system compromise is possible, consider rebuilding or thoroughly cleaning the affected system. There is no official patch or fix available; remediation relies on removal and secret rotation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-5888
Osv Schema Version
1.7.4
Aliases
["GHSA-g9mr-rvmw-fg9c"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a4f6c6768715ace4315a421

Added to database: 07/09/2026, 09:39:51 UTC

Last enriched: 07/09/2026, 10:05:38 UTC

Last updated: 07/30/2026, 05:37:27 UTC

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses