Critical Security Breach in @oku-ui/collapsible: Malicious Code Detected
Summary
MAL-2025-191253: Malicious code in @oku-ui/collapsible (npm). Affects @oku-ui/collapsible 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/collapsible package is a JavaScript library designed for creating collapsible UI components in web applications. It is widely used in various projects for its simplicity and effectiveness in enhancing user interfaces. However, it has recently been compromised, exposing users to severe security risks.
Vulnerability Detail
The vulnerability stems from a malicious payload introduced by the Sha1-Hulud: The Second Coming NPM worm. This worm is capable of stealing sensitive tokens and credentials from users and publishing them to GitHub. Furthermore, it can propagate itself to other NPM packages owned by the user and establish persistence through GitHub actions. The worm also poses a risk of destroying the user's home directory, making it a critical threat to both data integrity and security.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @oku-ui/collapsible
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 are advised to remove the @oku-ui/collapsible package from their projects until a secure version is confirmed. This can be done using the command: npm uninstall @oku-ui/collapsible. Additionally, avoid using any packages that may have been compromised by the same worm.
Conclusion
The @oku-ui/collapsible package has been compromised by a malicious worm that poses serious security risks. Users must take immediate action to update or remove the package to protect their sensitive information and maintain the integrity of their projects.
See every vulnerability recorded for @oku-ui/collapsible →
FAQ
The malicious code is part of the Sha1-Hulud NPM worm, which steals sensitive information and can destroy user data.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.
Immediately uninstall the compromised version and update to the latest patched version of the package.
Yes, the worm can potentially destroy the user's home directory, leading to significant data loss.
Yes, the worm can propagate itself to other NPM packages owned by the user, increasing the risk of widespread compromise.