Malicious Code Detected in create-react-kit Package
Summary
MAL-2025-17663: Malicious code in create-react-kit (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 create-react-kit package is a popular tool in the npm ecosystem designed to streamline the development of React applications. It offers a set of pre-configured components and utilities that help developers build applications more efficiently. However, recent findings have revealed that this package contains malicious code, posing a significant risk to users who integrate it into their projects.
Vulnerability Detail
The vulnerability in the create-react-kit package stems from the inclusion of malicious code that can compromise the security of applications using it. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to take immediate action to mitigate potential risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall create-react-kit
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 measure, users can avoid using the create-react-kit package altogether and consider using alternative libraries that provide similar functionality without the associated risks. For example, developers can use 'create-react-app' or other well-maintained React component libraries.
Conclusion
The discovery of malicious code in the create-react-kit package highlights the importance of vigilance when using open-source libraries. Users should take immediate action to remove the affected package and consider alternatives to ensure the security of their applications.
See every vulnerability recorded for create-react-kit →
FAQ
create-react-kit is a package in the npm ecosystem designed to help developers build React applications more efficiently by providing pre-configured components and utilities.
The malicious code found in create-react-kit can potentially lead to unauthorized access and data breaches within applications that utilize this package.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in real-time. By simply uploading your package-lock.json file, you can check if your application is affected by this vulnerability.
Currently, there is no patched version of the create-react-kit package available. Users are advised to remove the package until a secure alternative is found.
If you have already integrated create-react-kit into your project, it is recommended to remove it immediately and replace it with a secure alternative to mitigate any potential risks.