Malicious Code Detected in enum-beta-java-double-encrypt Package
Summary
MAL-2025-19677: Malicious code in enum-beta-java-double-encrypt (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 enum-beta-java-double-encrypt package is an npm library designed to facilitate encryption processes in Java applications. It offers various functionalities that allow developers to implement encryption algorithms easily. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the enum-beta-java-double-encrypt package. This code can potentially compromise the security of applications that depend on this library, leading to unauthorized access, data breaches, or other malicious activities. The issue affects all versions of the package starting from its introduction, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall enum-beta-java-double-encrypt
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 enum-beta-java-double-encrypt package until a secure version is released. Consider using alternative libraries that provide similar encryption functionalities without the associated risks.
Conclusion
The enum-beta-java-double-encrypt package has been identified as containing malicious code, posing a significant risk to applications that utilize it. Users are advised to remove the package and monitor for updates or alternatives to ensure their applications remain secure.
See every vulnerability recorded for enum-beta-java-double-encrypt →
FAQ
It is an npm library designed for encryption processes in Java applications.
The package contains code that can compromise application security, leading to potential data breaches.
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.
Remove the package from your project and look for a secure alternative or wait for a patched version.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions.