Malicious Code Detected in geospatial-example Package: Version 2.0.0 Vulnerability Summary
Summary
MAL-2025-6874: Malicious code in geospatial-example (npm). Affects geospatial-example versions 2.0.0. 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 'geospatial-example' package is an npm library designed for handling geospatial data and operations. It provides functionalities that allow developers to manipulate and analyze geographic information. However, version 2.0.0 of this package has been flagged for containing malicious code that poses significant security risks to applications utilizing it.
Vulnerability Detail
The vulnerability originates from the package's communication with a domain linked to malicious activities. Additionally, it executes commands that are associated with harmful behavior, potentially compromising the integrity and security of the systems that use this package. This could lead to unauthorized access, data breaches, or further exploitation of the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall geospatial-example
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 measure, you can remove the 'geospatial-example' package from your project until a secure version is released. This can be done with the following command: npm uninstall geospatial-example.
Conclusion
The 'geospatial-example' package version 2.0.0 has been identified as malicious, posing significant security risks. It is essential to update or remove the package to protect your application from potential threats. Utilize tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for geospatial-example →
FAQ
The package communicates with a domain associated with malicious activities and executes harmful commands.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring signup.
As a workaround, consider uninstalling the package until a secure version is available.
Yes, using Vulert, you can monitor your project for vulnerabilities in real-time by analyzing your package-lock.json file.
You can visit the package's repository on npm or GitHub for documentation and updates.