Critical Malicious Code Vulnerability in react-icon-maker Package
Summary
MAL-2025-6370: Malicious code in react-icon-maker (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 react-icon-maker package is a tool designed for creating and managing icons in React applications. It offers developers a streamlined way to integrate custom icons into their projects, enhancing the visual appeal and user experience. However, this package has been identified as containing malicious code, posing significant security risks to any system that utilizes it.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the react-icon-maker package. This code can compromise the integrity of the system, allowing unauthorized access and control by external entities. Systems running this package are at high risk, as all secrets and keys stored on the affected computer should be considered compromised. The malicious nature of this code is classified under CWE-506, indicating that it appears to be intentionally harmful.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall react-icon-maker
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
Currently, the best workaround is to uninstall the react-icon-maker package entirely. You can do this by running the following command in your terminal: npm uninstall react-icon-maker. This action will help mitigate the risk until a secure alternative is found.
Conclusion
The react-icon-maker package has been identified as containing malicious code that poses serious security risks. Users are advised to uninstall the package immediately and take necessary precautions to secure their systems. Monitoring tools like Vulert can help in identifying such vulnerabilities in real-time.
See every vulnerability recorded for react-icon-maker →
FAQ
react-icon-maker is a tool for creating and managing icons in React applications, allowing developers to easily integrate custom icons.
The vulnerability involves embedded malicious code that compromises the security of any system running the package, potentially allowing unauthorized access.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Immediately uninstall the react-icon-maker package and rotate any sensitive information that may have been compromised.
As of now, there is no patched version available. It is recommended to remove the package until a secure alternative is found.