Malicious Code Detected in divevr Package - Security Alert
Summary
MAL-2025-18509: Malicious code in divevr (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 divevr package is an npm library designed for specific functionalities within JavaScript applications. It is utilized by developers for its features that enhance user experience and streamline processes. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability in the divevr package originates from the inclusion of malicious code that can compromise the security of applications using it. This code can lead to unauthorized access, data breaches, or other harmful actions that could affect both the application and its users. The malicious nature of the code makes it imperative for developers to address this issue promptly to safeguard their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall divevr
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, you can avoid using the divevr package altogether until a secure version is available. If you must use it, consider isolating its functionality and monitoring its behavior closely.
Conclusion
The discovery of malicious code in the divevr package highlights the importance of vigilance in managing open-source dependencies. Developers are urged to take immediate action to remove the affected package and monitor for updates to ensure the security of their applications.
See every vulnerability recorded for divevr →
FAQ
The divevr package is an npm library used in JavaScript applications for various functionalities, but it has been found to contain malicious code.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.
If you have installed divevr, it is crucial to remove it from your project immediately and check for any updates or patches that may address the vulnerability.
The best mitigation strategy is to avoid using the divevr package until a secure version is released. Monitor your application closely if you must use it.
Vulert uses your package-lock.json file to monitor and alert you in real-time about open-source vulnerabilities, helping you maintain the security of your applications.