MAL-2026-13465 Malicious code in vite-vue-path-map (npm)
Malicious package
Published
MAL-2026-13465 is a malicious package: vite-vue-path-map (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-13465/ (Markdown: https://insights.sbomify.com/MAL-2026-13465/index.md)
- Package
- vite-vue-path-map
- Registry
- npm
What is MAL-2026-13465?
MAL-2026-13465 is a malicious package in vite-vue-path-map, published on 6 Aug 2026.
Official description
The package is advertised as a Vite plugin that generates a local pathInfo.json map, but its generateBundle hook appends obfuscated JavaScript to the largest/entry JS chunk of the developer's build when a hidden MD5 license check (global['gva-project-name'] vs global['gva-secret']) fails. The appended code is stored as base64 constants (G, v, O) decoded via atob() at runtime. On every page load of the resulting production site it creates an invisible 0x0 off-screen <img> whose src decodes to https://plugin.gin-vue-admin.com/api/shopImage/view?name=logo.svg, sending a per-visitor beacon to an author-controlled domain. If that request fails or the server returns a non-image response, the onerror handler invokes document.open() and document.write() with a base64-decoded Chinese-language 'project unauthorized, contact WeChat shouzi_1994' HTML page, replacing the developer's application in every visitor's browser. The injection, beacon, and defacement behavior are not documented in the README and are activated at server-side discretion of the author's domain, giving whoever controls plugin.gin-vue-admin.com a remote switch to deface any site that shipped a build produced with this plugin.
What should I do about MAL-2026-13465?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.