Malicious Code Detected in java-common Package - MAL-2025-48369
Summary
MAL-2025-48369: Malicious code in java-common (npm). Affects java-common versions >= 1337.0.0. 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 java-common package is a widely used library in the npm ecosystem, designed to provide common functionalities for Java-related applications. It is utilized by developers to streamline their coding processes and enhance productivity. However, this package has been identified to communicate with a domain associated with malicious activities, raising significant security concerns.
Vulnerability Detail
The vulnerability identified as MAL-2025-48369 originates from the java-common package, which began with version 1337.0.0. This issue allows the package to establish communication with a domain linked to malicious activities, potentially compromising the security of applications that utilize it. The ramifications of this vulnerability include unauthorized data access, data breaches, and the potential for further exploitation by malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall java-common
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, you can remove the java-common package from your project until a secure version is available. Use the following command to uninstall it: npm uninstall java-common.
Conclusion
The java-common package has been identified with a serious vulnerability that allows communication with a malicious domain. It is crucial for developers to update or remove the package to safeguard their applications. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for java-common →
FAQ
The java-common package is a library in the npm ecosystem that provides common functionalities for Java-related applications.
This vulnerability allows the java-common package to communicate with a domain associated with malicious activities, posing security risks.
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.
The risks include unauthorized access to sensitive data, data breaches, and exploitation by malicious actors.
It is recommended to regularly check for vulnerabilities, especially after updates or when using third-party packages.
Related vulnerabilities
Recent vulnerabilities recorded for java-common.