BSD licensed community fork of mapbox-gl, a WebGL interactive maps library
This report shows the evidence for maplibre-gl-vue3@5.24.3. 4 of 4 known versions are blocked or flagged.
Blocked by malware advisory
OpenSSF/OSV malware advisory MAL-2026-6592 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as clean; the assessments disagree.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
OpenSSF/OSV malicious advisory
published · by OpenSSF/OSV
OpenSSF/OSV advisory MAL-2026-6592 confirms this npm version as malicious.
Advisory
MAL-2026-6592
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in maplibre-gl-vue3 (npm)
Details
The package advertises itself as MapLibre GL bindings for Vue 3 and re-exports the upstream maplibre-gl API, but on import it unconditionally injects a <script> tag into document.head pointing at http://121.199.166.250:19527/myApi/pipesnetwork.js. src/index.ts calls loadGuardScript() at module top level; src/license.ts defines GUARD_SCRIPT_URL and appends the script element to document.head. Any Vue 3 application that imports this package will fetch and execute attacker-controlled JavaScript from a hardcoded bare-IP, plaintext-HTTP endpoint in the consumer's browser context — giving the operator of that endpoint full access to cookies, localStorage, session tokens, and user input in the host application. The endpoint is unpinned (no SRI, no version), served over HTTP (mutable in transit), and unrelated to mapping functionality. A source comment ('改这里:发布给第三方前换成你托管的 guard 脚本地址' — 'change this before releasing to third parties: replace with your hosted guard script address') indicates the loader is intended to deliver third-party-controlled code to downstream consumers. The package name also shadows the maplibre-gl ecosystem (legitimate Vue bindings are published as vue-maplibre-gl), increasing the chance of accidental installation.
LPM's AI review found this version clean. That disagrees with the OpenSSF/OSV advisory, which supplies the block.
The published entry is a MapLibre GL mapping bundle, and the scanner-flagged dynamic imports and filesystem write belong to a Unicode data build generator. Network requests use the resource URLs provided to the map library; no lifecycle hook or unrelated collection behavior was found.
Static reason
No blocking static signals were detected.
Trigger
Map-resource requests occur when the application uses the library; Unicode generation is an explicit build script.
Impact
No suspicious data collection, credential handling, or unrelated file changes were identified.
Mechanism
The request helper uses its supplied resource URL. The generator writes generated Unicode data within the package source tree.
Independent scan evidence
public snapshot
AI called this Clean at 94.0% confidence as Benign with low false-positive risk.
Evidence for AI clean decision
The manifest describes a WebGL mapping library and points its main entry to dist/maplibre-gl.js.
No install, preinstall, or postinstall lifecycle hook is declared; the listed scripts are build and development tasks.
The fetch helper requests the URL supplied in requestParameters, consistent with loading map resources.
The Unicode generator writes generated Unicode properties to src/util/unicode_properties.g.ts.
* @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v5.24.3/LICENSE.txt
*/
(function (global, factory) {
typeof exports ===
Affected versions and remediation
This report applies to maplibre-gl-vue3@5.24.3.
The versions list below shows the verdict for each recorded version.
Avoid installing maplibre-gl-vue3@5.24.3. Remove it from direct dependencies and check your lockfile for transitive copies.
Choose an independently verified alternative or release. This report does not establish that other versions are safe.
If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.