Malicious Code Detected in react-jam-icons Package
Summary
MAL-2025-190991: Malicious code in react-jam-icons (npm). Affects react-jam-icons versions 1.0.1 – 1.0.2. 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 react-jam-icons package is a JavaScript library available on npm that provides a collection of icons for use in web applications. It is commonly used by developers to enhance user interfaces with visually appealing icons. However, recent investigations have revealed that this package contains malicious code, posing significant security risks to systems that utilize it.
Vulnerability Detail
The vulnerability originates from the discovery of embedded malicious code within the react-jam-icons package. This code can compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of the code means that simply removing the package may not eliminate all traces of the compromise, as full control of the affected system may have been granted to an external entity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall react-jam-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
As a temporary workaround, if you must continue using the package before a fix is applied, consider isolating the environment in which it runs. This can be done by using containerization tools like Docker to limit the package's access to sensitive resources.
Conclusion
The react-jam-icons package has been identified as containing malicious code, which poses a serious security threat to any system using it. Immediate action is required to remove the package and secure any potentially compromised information. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for react-jam-icons →
FAQ
Immediately uninstall the package and rotate any sensitive information that may have been compromised.
You can use Vulert to monitor and alert in real-time for open-source vulnerabilities. Visit Vulert Scanner to check if your application is affected without needing to sign up.
No, it is not safe to reinstall the package until a patched version is released and verified to be secure.
Leaving the package installed can lead to unauthorized access to your system, data theft, and potential further exploitation.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated on security advisories related to the packages you use.