Malicious Code Detected in exam-service Package
Summary
MAL-2025-20028: Malicious code in exam-service (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 exam-service package is a Node.js library designed to facilitate the creation and management of online exams. It offers features such as question management, user authentication, and exam scheduling. However, this package has been found to contain malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability in the exam-service package arises from the inclusion of malicious code, which can compromise the integrity and security of applications using this library. This malicious code could potentially allow unauthorized access to sensitive data, disrupt application functionality, or facilitate further attacks on the system. The issue originates from the package's codebase, which has been tampered with to introduce harmful behavior.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall exam-service
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 exam-service package from your project and replacing it with a secure alternative that offers similar functionality. This can be done by running 'npm uninstall exam-service' followed by installing a different package that meets your needs.
Conclusion
The exam-service package has been identified as containing malicious code, which poses a serious security risk to applications using it. It is crucial to update the package to a patched version or consider alternative solutions to mitigate potential threats. Utilizing tools like Vulert can help in monitoring for such vulnerabilities effectively.
See every vulnerability recorded for exam-service →
FAQ
The exam-service package is a Node.js library used for creating and managing online exams, providing features like question management and user authentication.
The malicious code found in the exam-service package can compromise application security, potentially allowing unauthorized access to sensitive data.
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 immediate updates are not possible, consider removing the exam-service package and replacing it with a secure alternative until a fix can be applied.
Vulert uses the package-lock.json file to monitor and alert in real-time for open-source vulnerabilities in your software, ensuring you stay informed about potential risks.