Critical Malicious Code Vulnerability in @oku-ui/alert-dialog Package
Summary
MAL-2025-191248: Malicious code in @oku-ui/alert-dialog (npm). Affects @oku-ui/alert-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/alert-dialog package is a component library for building alert dialogs in user interfaces. It is widely used in web applications to provide users with notifications and confirmations. However, this package has been compromised, making it susceptible to a severe security threat that can lead to unauthorized access to sensitive information.
Vulnerability Detail
The vulnerability originates from a malicious code injection by the Sha1-Hulud: The Second Coming NPM worm. This worm is designed to steal tokens and credentials from users and publish them to GitHub. Additionally, it can propagate itself to other NPM packages owned by the user and establish persistence through GitHub actions. The malicious payload poses a significant risk as it may also destroy the user's home directory, leading to data loss and further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @oku-ui/alert-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 workaround, you can remove the @oku-ui/alert-dialog package from your project until a secure version is released. Use the following command to uninstall it: npm uninstall @oku-ui/alert-dialog.
Conclusion
The @oku-ui/alert-dialog package has been compromised by a malicious worm that poses serious security risks. It is essential to update the package to the latest version or remove it from your project to protect sensitive information. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for @oku-ui/alert-dialog →
FAQ
The vulnerability involves malicious code that can steal sensitive tokens and credentials and potentially destroy user data.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If immediate updates are not possible, consider uninstalling the package as a temporary measure to mitigate risks.
Yes, the malicious payload can publish stolen credentials to GitHub and propagate to other NPM packages, posing a significant security threat.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, and ensure to keep your packages updated to their latest secure versions.