Critical Malicious Code Vulnerability in @lessondesk/material-icons Package
Summary
MAL-2025-191030: Malicious code in @lessondesk/material-icons (npm). Affects @lessondesk/material-icons versions 1.0.3. 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 @lessondesk/material-icons package is an npm library designed to provide a set of material design icons for web applications. It is commonly used by developers to enhance the visual appeal of their applications with scalable vector icons. However, this package has been identified as containing malicious code that poses a significant security risk to any system where it is installed.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within the @lessondesk/material-icons package, specifically in version 1.0.3. This code can compromise the entire system, allowing unauthorized access to sensitive information such as secrets and keys stored on the affected computer. The malicious nature of this code is classified under CWE-506, indicating that it appears to be intentionally harmful. Users are advised to treat any system with this package installed as fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @lessondesk/material-icons
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
There are no effective workarounds for this vulnerability other than removing the package entirely. Users should ensure that they do not use any features provided by the package after its removal.
Conclusion
The @lessondesk/material-icons package has been identified as containing malicious code that compromises system security. Immediate action is required to uninstall the package and secure any sensitive information. Regular monitoring for vulnerabilities, such as through Vulert, can help prevent future incidents.
See every vulnerability recorded for @lessondesk/material-icons →
FAQ
You should immediately uninstall the package using npm uninstall @lessondesk/material-icons and rotate any sensitive information stored on the affected system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
No, there is currently no patched version available for the @lessondesk/material-icons package. The only solution is to uninstall it.
Failing to remove the package could lead to unauthorized access to sensitive data, system compromise, and potential data breaches.
It is advisable to review other packages from the same author for similar vulnerabilities before using them, as they may also pose security risks.