Malicious Code Detected in bric-gis Package - Security Alert
Summary
MAL-2025-16162: Malicious code in bric-gis (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 bric-gis package is an npm library designed for geographic information system (GIS) applications. It provides functionalities for mapping and spatial data manipulation. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the bric-gis package originates from the inclusion of malicious code that can compromise the integrity of applications using this library. This malicious code can lead to unauthorized access, data breaches, or other harmful actions within the affected systems. It is crucial for developers to understand the implications of using this package and the potential risks associated with it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bric-gis
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 bric-gis package altogether and explore alternative libraries that provide similar GIS functionalities without the associated risks.
Conclusion
The bric-gis package has been flagged for containing malicious code, which poses serious security risks to applications. It is essential for developers to take immediate action by removing the package and considering secure alternatives. Regular monitoring of dependencies is vital to maintain application security.
See every vulnerability recorded for bric-gis →
FAQ
The bric-gis package is an npm library used for geographic information system applications, providing mapping and spatial data manipulation functionalities.
The specific nature of the malicious code has not been disclosed, but it poses risks such as unauthorized access and potential data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By analyzing your package-lock.json file, it can help identify if your application is at risk.
The best mitigation strategy is to remove the bric-gis package and replace it with a secure alternative. Regularly updating your dependencies is also crucial.
You can visit Vulert's playground at Vulert Scanner to check if your application is affected by known vulnerabilities without requiring a signup.