Malicious Code Detected in Lusha UI Components Package
Summary
MAL-2026-294: Malicious code in lusha-ui-components (npm). Affected versions are not published. 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
Lusha UI Components is a JavaScript library designed for building user interfaces in web applications. It provides a set of reusable components that help developers create visually appealing and functional UIs efficiently. However, recent findings have revealed that this package contains malicious code, posing a significant risk to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the lusha-ui-components package. This code can potentially compromise the security of applications that depend on this library, leading to unauthorized access, data breaches, or other malicious activities. The issue was identified by Amazon Inspector, which detected the malicious code in the package's source.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lusha-ui-components
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
If immediate updating is not feasible, consider removing the lusha-ui-components package from your project until a secure version is released. You can do this by running the command: 'npm uninstall lusha-ui-components'. This will prevent any potential exploitation of the malicious code.
Conclusion
The discovery of malicious code in the lusha-ui-components package highlights the importance of regularly monitoring and updating dependencies in software projects. By following the recommended steps to fix or work around the vulnerability, developers can protect their applications from potential threats.
See every vulnerability recorded for lusha-ui-components →
FAQ
The exact nature of the malicious code has not been disclosed, but it poses a risk of unauthorized access and potential data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By checking your package-lock.json file with Vulert's playground, you can determine if your application is impacted.
Currently, there is no specific safe version mentioned. It is recommended to monitor the package repository for updates and patches.
If you cannot update the package right away, consider removing it from your project to mitigate risks until a secure version is available.
The vulnerability was discovered by Amazon Inspector, which is a security assessment service that helps identify vulnerabilities in applications.