Malicious Code Detected in deku-test Package - Security Alert
Summary
MAL-2025-18187: Malicious code in deku-test (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 deku-test package is an npm library designed for building user interfaces with a focus on simplicity and performance. It allows developers to create reactive components easily. However, the package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the deku-test package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code could potentially lead to unauthorized access, data breaches, or other malicious activities. 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 deku-test
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, consider replacing the deku-test package with an alternative library that provides similar functionality without the associated risks. Always ensure that any new package is thoroughly vetted for security.
Conclusion
The discovery of malicious code in the deku-test package highlights the importance of maintaining vigilance when using open-source libraries. Users are strongly advised to uninstall the affected package and monitor for updates or alternatives to ensure the security of their applications.
See every vulnerability recorded for deku-test →
FAQ
The deku-test package is an npm library used for building user interfaces, focusing on simplicity and performance.
The vulnerability involves malicious code embedded within the package, which can compromise application security.
You can use Vulert, a tool that monitors open-source vulnerabilities in real-time. Simply upload your package-lock.json file to check for vulnerabilities.
Yes, you can remove the deku-test package and replace it with a secure alternative until a patched version is released.
You can visit Vulert's playground at Vulert Scanner to check for vulnerabilities without needing to sign up.