目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

maplibre-gl-vue3

MAL-2026-6592
2026-07-09 22:04:36
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in maplibre-gl-vue3 (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
10
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmmaplibre-gl-vue3*
npmmaplibre-gl-vue31.0.0
npmmaplibre-gl-vue35.24.1
npmmaplibre-gl-vue35.24.2
npmmaplibre-gl-vue35.24.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T22:04:36Z","published":"2026-06-29T09:11:39Z","schema_version":"1.7.4","id":"MAL-2026-6592","summary":"Malicious code in maplibre-gl-vue3 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a46347c152553bd008255683dd927e5f25233224d3c6f1df6ae87533350b5815)\nThe 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.\n","affected":[{"package":{"ecosystem":"npm","name":"maplibre-gl-vue3"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0","5.24.2","5.24.1","5.24.3"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"src/license.ts","sha256":"d7174b570716bf6f79dce63b66c4cf0f450cd4ab840431db127b411771eb7d15","tlsh":"38f0a6a43ce5d92f603a26a3517ad588762026123412a09e7b8c5d761962fd52e01d6e"},{"path":"src/index.ts","sha256":"0a7262584f2fb7704275a3f03be4403fec4dd180f23e23f6025221f7f688d613","tlsh":"cac08cc30247d00b30f896c9001bd0afa3b0005f3a21702323030b3c8093ca02a0128c"}],"package_integrity":[{"filename":"maplibre-gl-vue3-1.0.0.tgz","hashes":{"sha1":"e59faa2636b3d36b1959a4751950568be80fda34","sha512_sri":"sha512-RYuIC2iJyU5SfTkXespzK7QXbcPOe544DW+B6ndaZX5PnHzLDZ0qmteTG5+h1zNxmPeot8YOOVm3RgKf3PEqdA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/maplibre-gl-vue3/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/maplibre-gl-vue3/v/5.24.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/maplibre-gl-vue3/v/5.24.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/maplibre-gl-vue3/v/5.24.3"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"a46347c152553bd008255683dd927e5f25233224d3c6f1df6ae87533350b5815","import_time":"2026-06-29T11:17:08.86340683Z","id":"IN-MAL-2026-007784","modified_time":"2026-06-29T09:11:39Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"]},{"source":"amazon-inspector","sha256":"6e3b161473fd04c687b0de94bcbeca68901125281f8166e295c308da167d38e1","import_time":"2026-07-08T23:27:58.181459554Z","id":"IN-MAL-2026-008996","modified_time":"2026-07-08T23:03:35Z","versions":["5.24.2"]},{"source":"amazon-inspector","sha256":"e0554b41a629091df72afc1730687b9af748668acfdd00ff539101203c49b31d","import_time":"2026-07-08T23:27:56.661258742Z","id":"IN-MAL-2026-008972","modified_time":"2026-07-08T23:00:11Z","versions":["5.24.1"]},{"source":"amazon-inspector","sha256":"c97e73217b484cb7a1ab73c2633f695b16be42e84d7be80bd5c72ecb38982031","import_time":"2026-07-09T22:02:29.367679459Z","id":"IN-MAL-2026-009418","modified_time":"2026-07-09T21:53:05Z","versions":["5.24.3"]}]}}

数据来源:OpenSSF Malicious Packages · Apache-2.0