Malicious Code Vulnerability in modal-arbitary Package
Summary
MAL-2025-6634: Malicious code in modal-arbitary (npm). Affects modal-arbitary versions 1.0.0 – 1.0.2. 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 modal-arbitary package is an npm library designed for creating modal dialogs in web applications. It offers developers a simple way to implement modals with customizable features. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the modal-arbitary package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code can potentially lead to unauthorized access, data breaches, or other malicious activities. The affected versions include 1.0.0, 1.0.1, and 1.0.2, which were identified by ReversingLabs. The malicious code was introduced in these versions, making it crucial for developers to take immediate action to mitigate the risks associated with this vulnerability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall modal-arbitary
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
If immediate updating is not feasible, consider removing the modal-arbitary package from your project and replacing it with a more secure alternative for modal dialogs. This can be done by uninstalling the package using the command: npm uninstall modal-arbitary.
Conclusion
The modal-arbitary package has been identified as containing malicious code that poses a significant security risk. Developers using this package should take immediate action to update to a secure version or remove the package altogether. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for modal-arbitary →
FAQ
The modal-arbitary package is an npm library used for creating modal dialogs in web applications.
The affected versions are 1.0.0, 1.0.1, and 1.0.2.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without requiring any signup.
Consider removing the modal-arbitary package and replacing it with a more secure alternative for modal dialogs.
The vulnerability was discovered by ReversingLabs, a security research firm.