Malicious Code Detected in custom-get-org-chart Package - Immediate Action Required
Summary
MAL-2025-17833: Malicious code in custom-get-org-chart (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 custom-get-org-chart package is an npm library designed to facilitate the creation and management of organizational charts in web applications. It provides developers with tools to easily visualize hierarchical data. 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 custom-get-org-chart 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 systems. The issue was introduced in version 0 and has been flagged as a critical security concern that requires immediate attention from developers and users of the package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall custom-get-org-chart
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 custom-get-org-chart package until a secure version is released. Consider using alternative libraries that offer similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the custom-get-org-chart package highlights the importance of vigilance in managing open-source dependencies. Developers should take immediate action to remove the affected package and seek alternatives to safeguard their applications.
See every vulnerability recorded for custom-get-org-chart →
FAQ
The custom-get-org-chart package is an npm library used for creating and managing organizational charts in web applications.
The exact nature of the malicious code has not been disclosed, but it poses significant security risks, including unauthorized access and potential data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
You should remove the package from your project immediately and look for alternative libraries until a secure version is released.
As of now, there is no patched version available. It is crucial to monitor the package repository for updates.