Malicious Code Detected in generator-kraken-react Package
Summary
MAL-2025-21290: Malicious code in generator-kraken-react (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 generator-kraken-react package is an npm tool designed for scaffolding React applications using the Kraken framework. It provides developers with a streamlined way to set up their projects, offering features such as templating and configuration options. However, this package has been identified to contain malicious code, posing significant risks to users who integrate it into their applications.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the generator-kraken-react package. This code can potentially compromise the security of applications that utilize this package, 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 users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall generator-kraken-react
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 using alternative packages for scaffolding React applications that do not have known vulnerabilities. Always ensure to review the package's security history before integrating it into your project.
Conclusion
The generator-kraken-react package has been identified to contain malicious code, which poses a significant risk to applications that utilize it. Users are strongly advised to uninstall the package and consider alternative solutions. Regular monitoring for updates and vulnerabilities is crucial for maintaining application security.
See every vulnerability recorded for generator-kraken-react →
FAQ
It is an npm package used for scaffolding React applications with the Kraken framework.
The specific nature of the malicious code has not been disclosed, but it poses security risks to applications using the package.
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.
Immediately uninstall the package and consider using alternative solutions for your React application scaffolding.
As of now, there is no patched version available. It is advisable to monitor the package repository for updates.