Critical Malicious Code Vulnerability in @oku-ui/slot Package
Summary
MAL-2025-191042: Malicious code in @oku-ui/slot (npm). Affects @oku-ui/slot 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/slot package is a component library for building user interfaces in JavaScript applications. It provides developers with reusable UI components that enhance productivity and maintainability. However, this package has been identified to contain malicious code, posing significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the @oku-ui/slot package, specifically version 0.6.2. This code can compromise the entire system where the package is installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of the code is classified under CWE-506, indicating that it embeds harmful functionalities that can lead to severe security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @oku-ui/slot
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 available for this vulnerability. The only solution is to remove the package entirely from your project.
Conclusion
The @oku-ui/slot package has been compromised with malicious code, posing a severe threat to any system using it. Immediate action is required to uninstall the package and secure any sensitive information. Regular monitoring for vulnerabilities is essential to maintain software security.
See every vulnerability recorded for @oku-ui/slot →
FAQ
You should uninstall the package immediately and rotate any sensitive information stored on the affected system.
You can use Vulert's playground at Vulert Scanner to monitor and check for vulnerabilities in your application without needing to sign up.
Currently, there is no safe or patched version of the @oku-ui/slot package available.
Failing to address this vulnerability can lead to unauthorized access to sensitive data, potential data breaches, and complete system compromise.
Yes, vulnerabilities can be reported to the maintainers of the package or through platforms like GitHub to ensure they are addressed promptly.