Critical Malicious Code Vulnerability in knot-devise-jwt-helper Package

knot-devise-jwt-helper Updated 13 May 2026

Summary

13/05/2026
CRITICAL
No i
Critical
Not published

MAL-2026-3632: Malicious code in knot-devise-jwt-helper (RubyGems). Affects knot-devise-jwt-helper versions 1.0.7. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The knot-devise-jwt-helper is a RubyGems package designed to assist developers in implementing JWT (JSON Web Tokens) for authentication in Ruby applications. It is commonly used in web applications to secure API endpoints. However, this package has been identified as part of a malicious cluster that compromises security by stealing credentials and tampering with environment variables.

Vulnerability Detail

This vulnerability originates from a malicious version of the knot-devise-jwt-helper package, which is part of the Go BufferZoneCorp and RubyGems knot-theory clusters. The malicious code embedded in the package is designed to steal user credentials, establish unauthorized SSH access, and manipulate build or workflow environment variables, potentially leading to severe security breaches and data loss.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

bundle remove knot-devise-jwt-helper

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can remove the knot-devise-jwt-helper package from your project until a secure version is available. You can do this by running the command: 'gem uninstall knot-devise-jwt-helper'. Additionally, consider using alternative packages for JWT implementation that are known to be secure.

Conclusion

The knot-devise-jwt-helper package has been identified as containing malicious code that poses significant security risks. It is essential for developers to take immediate action to update or remove the package to protect their applications from potential breaches. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for knot-devise-jwt-helper →

Share this vulnerability

FAQ

It is a RubyGems package used for implementing JWT authentication in Ruby applications.

The malicious code can steal credentials and compromise your application's security, leading to unauthorized access and data breaches.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

As a temporary measure, consider uninstalling the package and using alternative solutions for JWT authentication.

Detailed information can be found in the vulnerability report and on platforms like Vulert that monitor open-source vulnerabilities.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

bundle remove knot-devise-jwt-helper

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback