Malicious Code Detected in ch-react-listselector Package
Summary
MAL-2025-16753: Malicious code in ch-react-listselector (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
The ch-react-listselector package is an npm library designed for creating interactive list selectors in React applications. It provides developers with a user-friendly interface to manage selections within lists. However, this package has been found to contain malicious code, posing a significant risk to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the ch-react-listselector 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 introduced in version 0 and affects all subsequent versions, making it critical for developers to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ch-react-listselector
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 workaround, consider using alternative libraries that provide similar functionality without the associated risks. Research and select a well-maintained package that meets your needs while ensuring it has no known vulnerabilities.
Conclusion
The discovery of malicious code in the ch-react-listselector package highlights the importance of vigilance in open-source software management. Developers must take immediate action to remove the affected package and consider alternatives to safeguard their applications.
See every vulnerability recorded for ch-react-listselector →
FAQ
ch-react-listselector is an npm library for creating interactive list selectors in React applications.
The package contains malicious code that can compromise the security of applications using it.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.
You should uninstall the package immediately and consider using alternative libraries until a secure version is released.
Vulert monitors and alerts in real-time for open-source vulnerabilities in your software using just the package-lock.json file.