The npm package vite-vue-path-map (versions 1.0.0, 1.0.1, and 1.0.2) contains malicious code that activates if a hidden license check fails. This code appends obfuscated JavaScript to the built application, which on page load sends a beacon to an attacker-controlled domain. If the beacon request fails or returns an unexpected response, the code replaces the entire web application with a defacement page in Chinese, controlled remotely by the attacker. This behavior is undocumented and allows remote defacement of any site built with this plugin.