Malicious Code Detected in alpha-gjs-project: A Critical Security Alert
Summary
MAL-2025-14360: Malicious code in alpha-gjs-project (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 alpha-gjs-project is an npm package designed for developers to create applications using GJS (GNOME JavaScript). It provides a set of tools and libraries that facilitate the development process. However, recent findings have revealed that this package contains malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the alpha-gjs-project originates from the inclusion of malicious code within the package. This code can potentially compromise the security of applications that utilize this package, leading to unauthorized access, data breaches, or other malicious activities. The issue affects all versions starting from 0 and highlights the importance of scrutinizing third-party packages for security vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall alpha-gjs-project
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 alpha-gjs-project package until a secure version is released. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the alpha-gjs-project npm package raises significant security concerns for developers. It is crucial to take immediate action by removing the package and monitoring for any updates or patches. Utilizing tools like Vulert can help ensure your applications remain secure against such vulnerabilities.
See every vulnerability recorded for alpha-gjs-project →
FAQ
The alpha-gjs-project is an npm package that allows developers to create applications using GNOME JavaScript, providing essential tools and libraries for development.
The malicious code found in the alpha-gjs-project can lead to unauthorized access and potential data breaches in applications that utilize this package.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By analyzing your package-lock.json file, Vulert can identify if your application is affected by this vulnerability.
The best way to mitigate the risk is to remove the alpha-gjs-project package from your project and look for alternative packages until a secure version is released.
Detailed information about this vulnerability can be found on the GitHub repository of the malicious packages project, which documents various security issues in open-source software.