Malicious Code Vulnerability in jsonauthcap Package

jsonauthcap Updated 24 Dec 2025

Summary

23/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192810: Malicious code in jsonauthcap (npm). Affects jsonauthcap versions 7.2.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 jsonauthcap package is a Node.js library designed for handling JSON authentication capabilities in web applications. It provides developers with tools to manage user authentication securely. However, this package has been identified with a serious vulnerability that could allow malicious code execution, potentially compromising the security of applications that rely on it.

Vulnerability Detail

The vulnerability in the jsonauthcap package stems from the introduction of malicious code within version 7.2.7. This malicious code can lead to unauthorized access, data breaches, or other malicious activities within applications utilizing this package. The issue was reported by ReversingLabs, highlighting the need for immediate attention and remediation to protect users and their data.

How To Fix

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

npm uninstall jsonauthcap

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 jsonauthcap package from your project until a secure version is released. To do this, run the following command: 'npm uninstall jsonauthcap'. This will prevent any potential exploitation of the vulnerability while you await a patch.

Conclusion

The jsonauthcap package has a critical vulnerability due to the presence of malicious code in version 7.2.7. Users are advised to update or remove the package to safeguard their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for jsonauthcap →

Share this vulnerability

FAQ

The jsonauthcap package is used for managing JSON authentication capabilities in Node.js applications, providing tools for secure user authentication.

The vulnerability involves malicious code that can execute unauthorized actions within applications using the package, posing a significant security risk.

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

If you cannot update the package right away, consider removing it from your project as a temporary measure to avoid potential exploitation.

The vulnerability was reported by ReversingLabs, a cybersecurity firm specializing in identifying and analyzing malicious software.

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.

npm uninstall jsonauthcap

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