Malicious Code Detected in eyexam Package - Security Alert
Summary
MAL-2025-20113: Malicious code in eyexam (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 eyexam package is an npm library designed for various functionalities related to exam management and assessment tools. It is widely used in educational applications for creating, managing, and evaluating exams. However, recent findings have revealed that this package contains malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the eyexam package originates from the inclusion of malicious code that can compromise the security of applications utilizing this library. This malicious code can lead to unauthorized access, data breaches, or even complete system takeover. The issue affects all versions of the package starting from its introduction, making it critical for users 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 eyexam
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 measure, users can avoid using the eyexam package and look for alternative libraries that provide similar functionalities without the associated risks. Additionally, implementing strict input validation and monitoring can help mitigate some risks while transitioning away from the vulnerable package.
Conclusion
The discovery of malicious code in the eyexam package poses a serious threat to users and their applications. Immediate action is required to remove the package and seek alternatives. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for eyexam →
FAQ
The eyexam package is an npm library used for managing and evaluating exams in educational applications.
The malicious code can lead to unauthorized access and potential data breaches in applications using the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
You should remove the eyexam package from your project and look for alternative libraries. If a patched version is released, update to that version.
Regularly monitor your dependencies using tools like Vulert, and keep your packages updated to the latest secure versions.