Malicious Code Detected in mui-wrapper-styles Package - Version 99.99.1
Summary
MAL-2025-192542: Malicious code in mui-wrapper-styles (npm). Affects mui-wrapper-styles versions 99.99.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 mui-wrapper-styles package is a utility library in the npm ecosystem designed to assist developers in styling Material-UI components. It provides a set of wrapper styles that enhance the appearance and functionality of UI elements. However, the package has been flagged for malicious behavior, specifically in version 99.99.1, which poses a significant risk to applications utilizing it.
Vulnerability Detail
The vulnerability in the mui-wrapper-styles package arises from the execution of commands that are associated with malicious behavior. This can lead to unauthorized access, data breaches, or the execution of harmful scripts within the user's environment. The OpenSSF Package Analysis project identified this issue, highlighting the potential for severe ramifications for any application that incorporates this compromised package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mui-wrapper-styles
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, you can avoid using the mui-wrapper-styles package altogether and implement custom styles directly in your application. This will prevent any risk associated with the malicious code while maintaining the desired UI functionality.
Conclusion
The mui-wrapper-styles package version 99.99.1 has been identified as malicious, posing significant risks to applications that utilize it. It is essential to remove this version and update to a secure alternative. Monitoring tools like Vulert can assist in keeping your projects safe from such vulnerabilities.
See every vulnerability recorded for mui-wrapper-styles →
FAQ
mui-wrapper-styles is an npm package designed to provide styling utilities for Material-UI components.
The malicious behavior was identified by the OpenSSF Package Analysis project, which monitors and analyzes packages for security vulnerabilities.
Using the compromised version can lead to unauthorized access, data breaches, or the execution of harmful scripts, compromising the security of your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just the package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.
If immediate updates are not possible, consider removing the package and implementing custom styles as a temporary measure to mitigate risks.