Malicious Code Detected in dh-jaws-client Package
Summary
MAL-2025-18422: Malicious code in dh-jaws-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 dh-jaws-client package is an npm library designed to facilitate interactions with the JAWS API. It offers developers a streamlined way to integrate JAWS functionalities into their applications. However, recent findings have revealed that this package contains malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the dh-jaws-client package stems from the inclusion of malicious code that can compromise the integrity of applications utilizing this library. This code may lead to unauthorized access, data breaches, or other harmful actions that can affect both developers and end-users. The issue originates from version 0 and affects all subsequent versions, 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 dh-jaws-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
As a temporary workaround, developers can replace the dh-jaws-client package with alternative libraries that offer similar functionalities without the associated risks. It is advisable to conduct thorough research to identify secure alternatives.
Conclusion
The discovery of malicious code in the dh-jaws-client package highlights the importance of vigilance in managing open-source dependencies. Users are urged to remove this package and monitor their applications for vulnerabilities using tools like Vulert to ensure ongoing security.
See every vulnerability recorded for dh-jaws-client →
FAQ
The dh-jaws-client package is an npm library that allows developers to interact with the JAWS API, providing functionalities for easier integration.
The malicious code can lead to unauthorized access and potential data breaches, posing significant security risks to applications using this package.
You can use Vulert, a tool that monitors open-source vulnerabilities in your software. By analyzing your package-lock.json file, Vulert can alert you to any vulnerabilities, including those in dh-jaws-client.
Currently, there is no patched version available for the dh-jaws-client package. It is recommended to remove the package until a secure version is released.
You should immediately remove the dh-jaws-client package from your project and consider using alternative libraries that provide similar functionalities without the security risks.