Critical Malicious Code Vulnerability in @fronteg/react Package
Summary
MAL-2025-4671: Malicious code in @fronteg/react (npm). Affects @fronteg/react versions >= 99.9.0. 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 @fronteg/react package is a JavaScript library designed for building user interfaces in React applications. It provides various components and utilities that streamline the development process. However, this package has been identified as containing malicious code, posing significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability originates from the package being compromised with malicious code, as reported by the GitHub Security Advisory (GHSA). Any system running this package is considered fully compromised, potentially allowing unauthorized access to sensitive information such as secrets and keys. The malicious code can lead to severe ramifications, including data breaches and loss of control over the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @fronteg/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 measure, you can prevent the package from being used in your project by removing it from your dependencies. Use the following command to uninstall the package: npm uninstall @fronteg/react.
Conclusion
The @fronteg/react package has been identified as containing malicious code, posing significant risks to any system utilizing it. Immediate action is required to remove the package and secure sensitive information. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for @fronteg/react →
FAQ
The malicious code can compromise the entire system, allowing unauthorized access to sensitive data.
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 package and rotate any sensitive information stored on the affected system.
Currently, there is no patch available. The best course of action is to remove the package entirely.
Vulert monitors and alerts for open-source vulnerabilities in your software by analyzing the package-lock.json file, providing real-time insights.