Skip to main content

Malicious code in express-guardrail (npm)

0
Critical
Published: 07/06/2026 (07/06/2026, 18:53:15 UTC)
Source: GCVE Database
Product: express-guardrail

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.

Affected software

npmghsa
express-guardrail
Affected versions
=1.4.1=1.3.5

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: 09/12/2026, 20:16:53 UTC

Technical Analysis

The express-guardrail npm package versions 1.3.5 and 1.4.1 include malicious code that compromises any computer on which it is installed or running. The compromise is severe enough that all secrets and keys on the affected system must be rotated from a separate, trusted machine. Removal of the package alone is insufficient to ensure system integrity due to potential persistence of malicious software installed by the package.

Potential Impact

Systems with express-guardrail versions 1.3.5 or 1.4.1 installed are fully compromised, potentially allowing attackers complete control over the affected machine. This includes unauthorized access to secrets, keys, and other sensitive data. The compromise may persist beyond removal of the package, indicating possible installation of additional malicious software.

Mitigation Recommendations

Remove the express-guardrail package versions 1.3.5 and 1.4.1 immediately. Rotate all secrets and keys stored on the affected system from a separate, uncompromised machine. Conduct a thorough investigation and remediation of the affected system to identify and remove any additional malicious software. There is no official patch or fix; mitigation 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-6821
Osv Schema Version
1.7.4
Aliases
["GHSA-62qq-cf7w-23hx"]
Ecosystems
["npm"]

Threat ID: 6a4c343c27e9c797195faeb1

Added to database: 07/06/2026, 23:03:24 UTC

Last enriched: 09/12/2026, 20:16:53 UTC

Last updated: 09/12/2026, 20:16:53 UTC

Views: 73

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