Malicious Code Detected in gojs-artisan Package - Security Alert
Summary
MAL-2025-21634: Malicious code in gojs-artisan (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 gojs-artisan package is a JavaScript library designed for creating interactive diagrams and visualizations using the GoJS framework. It provides developers with tools to build complex, data-driven applications with ease. 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 gojs-artisan package originates from the inclusion of malicious code that can compromise the security of applications using this library. This malicious code can lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The issue affects all versions of the package starting from its introduction, making it critical for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gojs-artisan
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 gojs-artisan package in your project until a secure version is released. Consider using alternative libraries that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the gojs-artisan package highlights the importance of regularly monitoring and updating dependencies in software projects. Users are advised to take immediate action to mitigate risks associated with this vulnerability.
See every vulnerability recorded for gojs-artisan →
FAQ
The gojs-artisan package is a JavaScript library used for creating interactive diagrams and visualizations with the GoJS framework.
The malicious code can lead to unauthorized access and data breaches, posing significant security risks to applications using the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
You should remove the gojs-artisan package from your project and consider using a secure alternative until a patched version is available.
Currently, there is no patched version available. It is recommended to remove the package until a secure update is released.