Malicious Code Detected in duokusdk Package - Security Alert
Summary
MAL-2025-18987: Malicious code in duokusdk (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 duokusdk package is an npm library designed for developers to integrate specific functionalities into their applications. It is utilized for various purposes, including data handling and API interactions. However, this package has been identified as containing malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability in the duokusdk package stems from the inclusion of malicious code that can compromise the integrity of applications using it. This code may 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 address it promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall duokusdk
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, users can remove the duokusdk package from their project until a secure version is released. This can be done using the command: npm uninstall duokusdk.
Conclusion
The discovery of malicious code in the duokusdk package highlights the importance of regularly monitoring and updating dependencies in software projects. Users are advised to take immediate action by updating or removing the package to safeguard their applications.
See every vulnerability recorded for duokusdk →
FAQ
duokusdk is an npm package used for integrating specific functionalities into applications, but it has been found to contain malicious code.
You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without signing up.
If you cannot update the package right away, consider uninstalling it as a temporary workaround to mitigate risks.
As of now, a patched version has not been specified. Users should monitor the official repository for updates.
Using the duokusdk package with the malicious code can lead to unauthorized access, data breaches, and other security issues within your application.