Critical Malicious Code Vulnerability in @oku-ui/provide Package
Summary
MAL-2025-191269: Malicious code in @oku-ui/provide (npm). Affects @oku-ui/provide 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/provide package is a utility library within the npm ecosystem designed to facilitate UI component sharing and state management in applications. It is widely used for its simplicity and effectiveness in providing context to components. However, this package has been compromised, making it susceptible to malicious attacks that can severely impact users' security.
Vulnerability Detail
The vulnerability originates from a compromise by the Sha1-Hulud: The Second Coming NPM worm, which has infected the @oku-ui/provide package. This malicious code is designed to steal sensitive tokens and credentials from users and publish them to GitHub. Additionally, the worm 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 lead to the destruction of the user's home directory, resulting in data loss.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @oku-ui/provide
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, users should consider removing the @oku-ui/provide package from their projects until a secure version is released. You can uninstall the package using the command: 'npm uninstall @oku-ui/provide'. Additionally, monitor your GitHub repositories for any unauthorized changes or actions.
Conclusion
The @oku-ui/provide package has been compromised by a malicious worm that poses serious security risks to users. Immediate action is required to mitigate the potential damage by updating or removing the package. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for @oku-ui/provide →
FAQ
The malicious code is designed to steal sensitive information such as tokens and credentials and can also propagate itself to other npm packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
If you have installed the compromised version, you should uninstall it immediately and update to a secure version as soon as it is available.
Yes, the malicious payload may lead to the destruction of your home directory, which can result in significant data loss.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions to minimize risks.