Critical Malicious Code Vulnerability in graphlink Package
Summary
MAL-2025-192631: Malicious code in graphlink (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 graphlink package is a Node.js library designed for creating and managing graph data structures. It is commonly used in applications that require efficient data representation and manipulation. However, this package has been identified as containing malicious code, posing significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the graphlink package, which has been confirmed by security researchers. This code can compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The implications of this vulnerability are severe, as it can lead to complete system compromise and data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall graphlink
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 and securing your system. It is advisable to monitor your system for any unauthorized access or changes following the removal of the package.
Conclusion
The graphlink package has been identified as containing malicious code that poses a significant threat to system security. Immediate action is required to remove the package and secure any sensitive information. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for graphlink →
FAQ
You should uninstall the graphlink package immediately and rotate any sensitive information stored on your system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring any signup.
Failing to address this vulnerability can lead to unauthorized access to your system, data breaches, and potential loss of sensitive information.
Currently, there is no patched version available for the graphlink package, and the recommendation is to remove it entirely.
It is highly discouraged to use the graphlink package due to its malicious nature. The safest approach is to remove it and seek alternative packages.