Critical Malicious Code Vulnerability in gambas Package
Summary
MAL-2025-21165: Malicious code in gambas (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 gambas package is a JavaScript library available through the npm ecosystem, primarily used for building web applications. It offers various functionalities that enhance the development process. However, it has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The gambas package has been found to contain malicious code that can compromise the security of applications using it. This vulnerability originated from the package's codebase, which was intentionally altered to include harmful scripts. The ramifications of this vulnerability can include unauthorized access to sensitive data, data corruption, and potential exploitation of the affected systems. It is crucial for developers to address this issue promptly to mitigate risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gambas
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 remove the gambas package from your project until a secure version is released. You can do this by executing the command: 'npm uninstall gambas'. This will prevent any malicious code from executing in your application.
Conclusion
The gambas package has been identified as containing malicious code, posing significant risks to applications that utilize it. It is essential for developers to take immediate action by updating or removing the package to safeguard their applications.
See every vulnerability recorded for gambas →
FAQ
The gambas package is a JavaScript library used in web development, providing various functionalities to enhance application development.
The malicious code found in gambas can lead to unauthorized access and exploitation of applications that utilize this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application's package-lock.json file using the Vulert playground at Vulert Scanner.
It is recommended to check the npm repository for any patched versions of the gambas package that address the vulnerability.
As a temporary measure, you can uninstall the gambas package from your project to prevent any potential exploitation until a secure version is available.