Malicious Code Vulnerability in jsonauto Package
Summary
MAL-2025-192811: Malicious code in jsonauto (npm). Affects jsonauto versions 5.1.0. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The jsonauto package is a JavaScript library available on npm that is designed to facilitate the automatic generation of JSON data structures. It is commonly used in web development to streamline data handling and improve efficiency. However, this package has been identified as containing malicious code, posing significant risks to applications that rely on it.
Vulnerability Detail
The vulnerability in the jsonauto package stems from the inclusion of malicious code that can compromise the security of applications using it. This code may allow unauthorized access to sensitive data, lead to data corruption, or facilitate further attacks on the system. The malicious nature of this code was identified by ReversingLabs, which reported the issue on December 23, 2025. The affected version is 5.1.0, and users of this package are strongly advised to take immediate action to mitigate potential risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall jsonauto
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, consider removing the jsonauto package from your project until a secure version is released. You can do this by running the command: 'npm uninstall jsonauto'. This will prevent the execution of any malicious code associated with the package.
Conclusion
The jsonauto package has been identified as containing malicious code, posing significant risks to applications that utilize it. Users are advised to update to a secure version or uninstall the package until a fix is available. Monitoring tools like Vulert can assist in identifying vulnerabilities in your software.
See every vulnerability recorded for jsonauto →
FAQ
jsonauto is a JavaScript library used for generating JSON data structures automatically, primarily in web development.
The vulnerability was discovered by ReversingLabs, which identified malicious code within the jsonauto package.
Using the affected version (5.1.0) can lead to unauthorized access to sensitive data, data corruption, or further attacks on your system.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability without any signup.
If you cannot update the package immediately, consider uninstalling it as a temporary measure to prevent the execution of malicious code.