Critical Malicious Code Vulnerability in @oku-ui/scroll-area Package
Summary
MAL-2025-191272: Malicious code in @oku-ui/scroll-area (npm). Affects @oku-ui/scroll-area 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/scroll-area package is a JavaScript library designed for creating scrollable areas in web applications. It provides developers with customizable scroll behavior and styling options, making it a popular choice for enhancing user interfaces. However, this package has recently been compromised, exposing users to significant security risks.
Vulnerability Detail
The vulnerability stems from a malicious code injection by the Sha1-Hulud: The Second Coming NPM worm. This worm is designed to steal sensitive tokens and credentials from users and publish them to GitHub. It can also propagate itself to other NPM packages owned by the user and establish persistence through GitHub actions. Additionally, the worm has the potential to destroy the user's home directory, leading to severe data loss.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @oku-ui/scroll-area
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 can remove the affected package from their project until a secure version is available. This can be done using the command: 'npm uninstall @oku-ui/scroll-area'. Additionally, users should review their GitHub repositories for any unauthorized changes or actions.
Conclusion
The @oku-ui/scroll-area package has been compromised by a malicious NPM worm, posing serious security risks to users. It is crucial to update to the latest version and monitor your projects for any unauthorized changes. Utilizing tools like Vulert can help in identifying vulnerabilities in your applications.
See every vulnerability recorded for @oku-ui/scroll-area →
FAQ
The malicious code is designed to steal tokens and credentials, potentially leading to unauthorized access to user accounts and data.
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 version 0.6.2 of @oku-ui/scroll-area, you should uninstall it immediately and update to the latest patched version.
Yes, the worm can propagate itself to other NPM packages owned by the user, increasing the risk of widespread compromise.
The consequences include unauthorized access to sensitive information, potential data loss, and damage to your development environment.