NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

maplibre-gl-vue3npm

Advisory published Updated

maplibre-gl-vue3 is a confirmed malicious npm package (MAL-2026-6592) that executes malicious code on install (malicious versions 1.0.0, 5.24.1, 5.24.2…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in maplibre-gl-vue3 (npm)

MAL-2026-6592
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall maplibre-gl-vue3

What this malware does

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.

Malicious versions

4 flagged
1.0.05.24.15.24.25.24.3

Indicators of compromise (SHA-256)

a46347c152553bd008255683dd927e5f25233224d3c6f1df6ae87533350b5815
6e3b161473fd04c687b0de94bcbeca68901125281f8166e295c308da167d38e1
e0554b41a629091df72afc1730687b9af748668acfdd00ff539101203c49b31d
c97e73217b484cb7a1ab73c2633f695b16be42e84d7be80bd5c72ecb38982031

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for maplibre-gl-vue3 (4 malicious versions).

  2. If you installed it — respond

    Remove maplibre-gl-vue3 from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If maplibre-gl-vue3 was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. maplibre-gl-vue3 on npm has been identified as a malicious package (versions 1.0.0, 5.24.1, 5.24.2, 5.24.3 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-007784IN-MAL-2026-008996IN-MAL-2026-008972IN-MAL-2026-009418

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks maplibre-gl-vue3-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

maplibre-gl-vue3 (npm) malicious package — MAL-2026-6592 | O3 Security