Malicious Code Detected in admithub-react-diagrams Package
Summary
MAL-2025-14104: Malicious code in admithub-react-diagrams (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 admithub-react-diagrams package is a library designed for creating interactive diagrams in React applications. It provides developers with tools to visualize and manipulate data through graphical representations. 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 admithub-react-diagrams package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected applications. The malicious code was introduced in version 0 and has been confirmed by security experts.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall admithub-react-diagrams
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 replacing the admithub-react-diagrams package with an alternative library that provides similar functionality without the associated risks. Review your application to identify any dependencies on this package and refactor your code accordingly.
Conclusion
The discovery of malicious code in the admithub-react-diagrams package highlights the importance of maintaining secure dependencies in software development. Developers are urged to remove this package and monitor for updates or alternatives to ensure the safety of their applications.
See every vulnerability recorded for admithub-react-diagrams →
FAQ
The malicious code can lead to unauthorized access and potential data breaches within applications that use the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By checking your package-lock.json file, Vulert can help you identify if your application is affected by this vulnerability.
Currently, there is no patched version available. It is recommended to remove the package until a secure version is released.
Consider using an alternative library that offers similar functionality without the security risks associated with admithub-react-diagrams.
Utilize tools like Vulert to monitor your dependencies in real-time for any vulnerabilities and receive alerts for necessary updates.