Malicious Code Detected in gempak Package - Security Alert
Summary
MAL-2025-21260: Malicious code in gempak (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 gempak package is an npm library designed for data visualization and analysis, particularly in meteorology and atmospheric sciences. It provides tools for processing and displaying meteorological data. 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 gempak package arises from the inclusion of malicious code that can compromise the security of applications utilizing this library. This code may lead to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 of the package, making all versions vulnerable. Users of gempak should be aware of the potential ramifications, including loss of data integrity and exposure to further attacks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gempak
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, consider removing the gempak package from your project until a secure version is released. You can do this by executing the command: 'npm uninstall gempak'. This will help mitigate the risks associated with the malicious code.
Conclusion
The discovery of malicious code in the gempak package highlights the importance of regularly monitoring and updating open-source dependencies. Users should take immediate action to secure their applications by updating or removing the affected package. Utilizing tools like Vulert can help in identifying vulnerabilities in real-time.
See every vulnerability recorded for gempak →
FAQ
The gempak package is primarily used for data visualization and analysis in meteorology and atmospheric sciences.
You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without any signup.
If immediate updates are not possible, consider removing the gempak package from your project as a temporary measure to avoid exposure to the malicious code.
Detailed information about the vulnerability can be found on the GitHub repository of the malicious packages project: https://github.com/ossf/malicious-packages.
Using the gempak package with this vulnerability can lead to unauthorized access, data breaches, and other malicious activities that can compromise your application's security.