Malicious Code Detected in djudge Package - Security Alert
Summary
MAL-2025-18514: Malicious code in djudge (npm). Affected versions are not published. 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 djudge package is an npm library designed for managing and executing judgment tasks in various applications. It is utilized by developers for its ease of integration and functionality. However, recent findings have revealed that the package contains malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the djudge package, which was introduced in version 0. This code can potentially compromise the security of applications using the package, leading to unauthorized access, data breaches, or other malicious activities. The presence of such code is a severe threat, as it can operate undetected, affecting the integrity and confidentiality of user data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall djudge
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 djudge package from your project until a secure version is released. You can uninstall it using the command: npm uninstall djudge.
Conclusion
The discovery of malicious code in the djudge package highlights the importance of regularly monitoring and updating dependencies in software projects. By taking proactive measures, such as updating packages and utilizing tools like Vulert, developers can safeguard their applications against potential threats.
See every vulnerability recorded for djudge →
FAQ
The malicious code is designed to compromise the security of applications, potentially leading to unauthorized access and data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner without any signup.
Currently, there is no specific patch mentioned. It is advisable to keep an eye on the package repository for any updates.
If an immediate update is not possible, consider removing the package from your project as a temporary measure.
Vulert uses the package-lock.json file to monitor and alert for open-source vulnerabilities in your software without requiring access to the code or installation.