Malicious Code Detected in geomnet Package - Security Alert
Summary
MAL-2025-21350: Malicious code in geomnet (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 geomnet package is a JavaScript library used in the npm ecosystem for various geometric computations and visualizations. It is designed to facilitate the manipulation and analysis of geometric data structures. However, this package has been found to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the geomnet package originates from the inclusion of malicious code that can compromise the security of applications using this library. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious nature of this code was identified by security researchers, highlighting the importance of scrutinizing third-party packages for integrity and safety.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall geomnet
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 geomnet package from your project until a secure version is available. You can uninstall it using the command: 'npm uninstall geomnet'. This will prevent any potential exploitation of the malicious code while you seek a safer alternative.
Conclusion
The discovery of malicious code in the geomnet package underscores the importance of maintaining vigilance when using third-party libraries. By updating to the latest secure version or removing the package, developers can protect their applications from potential threats.
See every vulnerability recorded for geomnet →
FAQ
The geomnet package is a JavaScript library used for geometric computations and visualizations in the npm ecosystem.
The malicious code found in geomnet can lead to unauthorized access and potential data breaches in applications that utilize this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If immediate updates are not feasible, consider removing the geomnet package from your project as a temporary measure to mitigate risks.
Utilize tools like Vulert, which can monitor your package-lock.json file for vulnerabilities and provide real-time alerts.