Malicious Code Detected in edx-icon Package - Security Alert
Summary
MAL-2025-19228: Malicious code in edx-icon (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 edx-icon package is a library used in web development, primarily for providing icons related to the edX platform. It is designed to enhance user interfaces by offering a variety of icons that can be easily integrated into applications. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the edx-icon package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code may allow unauthorized access to sensitive data, facilitate data exfiltration, or enable other malicious activities. The issue originates from version 0 and affects all subsequent versions, making it critical for developers to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall edx-icon
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, consider using alternative icon libraries that do not have known vulnerabilities. Some popular alternatives include Font Awesome or Material Icons. You can install Font Awesome by running: 'npm install font-awesome'.
Conclusion
The discovery of malicious code in the edx-icon package highlights the importance of regularly monitoring and updating dependencies in software projects. Developers should take immediate action to remove the affected package and consider alternatives to ensure the security of their applications.
See every vulnerability recorded for edx-icon →
FAQ
The edx-icon package is a library used for integrating icons related to the edX platform into web applications.
The malicious code can compromise application security, potentially leading to unauthorized access and data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
You should uninstall the edx-icon package immediately and consider using alternative libraries that do not have known vulnerabilities.
Currently, there is no patched version available. It is recommended to uninstall the package until a secure alternative is found.