MAL-2026-13464 Malicious code in vite-svg-parse (npm)
- Package
- vite-svg-parse
- Registry
- npm
What is MAL-2026-13464?
MAL-2026-13464 is a malicious package in vite-svg-parse, published on 6 Aug 2026.
Official description
The package's exported API (getPlugin/setPlugin) decodes two base64 string literals at runtime: the first decodes to npm install node-internal-svg-loader --no-save --silent --no-audit --no-fund, which is passed to child_process.spawn; the second decodes to the module name node-internal-svg-loader, which is then require()'d and whose getPlugin()/setPlugin() are invoked. The fetched package is not declared in package.json dependencies, and both the shell command and the require target are concealed in base64 to evade static inspection. Any consumer that imports this library and calls its documented API causes an undeclared, hidden third-party npm package to be installed and its code executed in the installer's Node.js process.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
What should I do about MAL-2026-13464?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-v7x8-w6xp-6mv4.