Critical Malicious Code Vulnerability in mon-package-react-typescript
Summary
MAL-2025-190976: Malicious code in mon-package-react-typescript (npm). Affects mon-package-react-typescript versions 1.0.1. 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 package 'mon-package-react-typescript' is an npm package designed for use in React and TypeScript applications. It is intended to facilitate the development of web applications by providing reusable components and utilities. However, this package has been identified to contain malicious code, posing a significant security risk to any system utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the 'mon-package-react-typescript' package. This code can compromise the integrity of the host system, allowing unauthorized access and control by external entities. The ramifications of this vulnerability are severe, as any computer running this package should be considered fully compromised. Sensitive information, such as secrets and keys, may be at risk, necessitating immediate action to mitigate potential damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mon-package-react-typescript
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 workaround, it is recommended to immediately rotate all secrets and keys stored on the affected computer from a secure, unaffected system. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the 'mon-package-react-typescript' package poses a critical security threat. Immediate action is required to remove the package and secure any sensitive information. Users are encouraged to monitor their applications for vulnerabilities using tools like Vulert.
See every vulnerability recorded for mon-package-react-typescript →
FAQ
The malicious code is designed to compromise the host system, potentially allowing unauthorized access and control by external attackers.
If you have the 'mon-package-react-typescript' package installed, your system is likely affected. It is advisable to remove the package immediately.
Remove the package, rotate any sensitive information, and consider using alternative packages. Monitor your system for any unusual activity.
Currently, there is no patched version available. The best course of action is to remove the package entirely.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. It requires only the package-lock.json file for real-time alerts.