Malicious Code Detected in native-component-list Package - Security Alert
Summary
MAL-2025-192345: Malicious code in native-component-list (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 native-component-list package is an npm library used for managing and listing native components in JavaScript applications. It is commonly utilized in projects that require integration with native modules. However, this package has been identified to contain malicious code, posing a significant security risk to applications that depend on it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the native-component-list package. This code can potentially compromise the security of applications by allowing unauthorized access or manipulation of data. The malicious nature of this code can lead to severe ramifications, including data breaches, loss of integrity, and unauthorized control over the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall native-component-list
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, consider removing the native-component-list package from your project until a secure version is released. You can do this by running the following command: npm uninstall native-component-list.
Conclusion
The native-component-list package has been identified to contain malicious code, posing a serious security threat to applications using it. It is essential to take immediate action by updating or removing the package to safeguard your application. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for native-component-list →
FAQ
The native-component-list package is an npm library used to manage and list native components in JavaScript applications.
The malicious code was discovered through an analysis conducted by Amazon Inspector, which identified the package as containing harmful elements.
The risks include unauthorized access to application data, potential data breaches, and loss of control over the affected systems.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
If immediate updates are not possible, consider removing the package temporarily as a workaround until a secure version is available.