Malicious Code Detected in dme2-js-client Package
Summary
MAL-2025-18534: Malicious code in dme2-js-client (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 dme2-js-client package is a JavaScript client library designed for interacting with the DME2 API. It provides developers with an easy way to integrate DME2 functionalities into their applications. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the dme2-js-client package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code can lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dme2-js-client
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 an immediate update is not feasible, consider removing the dme2-js-client package from your project until a secure version is released. You can do this by executing: npm uninstall dme2-js-client.
Conclusion
The dme2-js-client package has been identified to contain malicious code that poses serious security risks to applications. Users are urged to update or remove the package to protect their systems. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for dme2-js-client →
FAQ
The dme2-js-client package is a JavaScript library for interacting with the DME2 API, allowing developers to easily integrate its functionalities into their applications.
The specific details of the malicious code have not been disclosed, but it poses significant security risks, including unauthorized access and potential data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By utilizing the Vulert playground, you can check if your application is affected by this vulnerability without any signup.
Currently, there is no specific patched version mentioned. It is advisable to monitor the package repository for updates and apply them as soon as they are available.
If an immediate update is not possible, consider removing the dme2-js-client package from your project until a secure version is released to mitigate risks.