Critical Malicious Code Vulnerability in @oku-ui/dialog Package
Summary
MAL-2025-191255: Malicious code in @oku-ui/dialog (npm). Affects @oku-ui/dialog 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/dialog package is a JavaScript library used for creating dialog components in web applications. It is part of the Oku UI framework, which aims to provide accessible and customizable UI components. However, this package has been compromised, making it susceptible to a severe security threat that can affect users' credentials and system integrity.
Vulnerability Detail
The vulnerability originates from a malicious NPM worm known as Sha1-Hulud: The Second Coming. This worm embeds malicious code within the @oku-ui/dialog package, which can steal sensitive tokens and credentials from users. Furthermore, it can publish this stolen information to GitHub, propagate itself to other NPM packages owned by the user, and establish persistence through GitHub actions. The worm poses a significant risk as it may also delete the user's home directory, leading to potential data loss.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @oku-ui/dialog
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 @oku-ui/dialog package from their project until a secure version is confirmed. This can be done using the command: npm uninstall @oku-ui/dialog. Additionally, users should review their GitHub repositories for any unauthorized changes or actions that may have occurred due to the worm.
Conclusion
The @oku-ui/dialog package has been compromised by a malicious worm that poses serious security risks, including credential theft and potential data loss. Users are advised to update their packages immediately and monitor their projects for any unauthorized changes. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities effectively.
See every vulnerability recorded for @oku-ui/dialog →
FAQ
The Sha1-Hulud worm is a malicious NPM package that compromises other packages to steal credentials and tokens, propagating itself across user-owned NPM packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By checking your package-lock.json file, Vulert can help identify if your application is affected by this vulnerability.
If you have installed the compromised version of @oku-ui/dialog, it is essential to uninstall it immediately and update to the latest secure version.
Yes, the malicious code has the potential to delete the user's home directory, which could result in significant data loss.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.