Critical Malicious Code Vulnerability in @oku-ui/use-composable Package
Summary
MAL-2025-191043: Malicious code in @oku-ui/use-composable (npm). Affects @oku-ui/use-composable versions 0.6.2. 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 @oku-ui/use-composable package is a utility library designed for building composable UI components in JavaScript applications. It allows developers to create reusable and modular components, enhancing the efficiency of UI development. However, this package has been found to contain malicious code that compromises the security of any system where it is installed.
Vulnerability Detail
The vulnerability originates from a malicious code embedded within version 0.6.2 of the @oku-ui/use-composable package. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The implications of this vulnerability are severe, as it can lead to data breaches and loss of control over the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @oku-ui/use-composable
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
There are no effective workarounds for this vulnerability other than removing the package and securing your system. It is crucial to ensure that no remnants of the malicious code remain after removal.
Conclusion
The discovery of malicious code within the @oku-ui/use-composable package poses a significant threat to users and their systems. Immediate action is required to mitigate risks, including removing the package and securing sensitive information. Users are encouraged to stay informed about updates and utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for @oku-ui/use-composable →
FAQ
Immediately remove the package and rotate any sensitive information stored on your system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Currently, there is no patched version available. The best course of action is to remove the package.
Failing to address this vulnerability can lead to unauthorized access to sensitive data and complete control of your system by malicious actors.
It is advisable to exercise caution and monitor for any updates or security advisories regarding this package before considering its use again.