MAL-2026-10482 Malicious code in react-icons-svgo (npm)
- Package
- react-icons-svgo
- Registry
- npm
What is MAL-2026-10482?
MAL-2026-10482 is a malicious package in react-icons-svgo, published on 13 Jul 2026.
Official description
index.js stores base64-encoded literals (svgValidateKey, svgValidatePattern) that decode to the shell command npm install rollup-plugin-polyfill-handler --no-save --silent --no-audit --no-fund and to the module name rollup-plugin-polyfill-handler. When the package's advertised API (getPlugin/setPlugin, or any SVG validation path via ValidateSvgModule/ValidateSvgModuleB) is invoked, the code atob-decodes those literals, spawns the install command (suppressing output via --silent --no-audit --no-fund and skipping persistence via --no-save), then require()s the decoded module name and immediately invokes its exported getPlugin(). The fetched package is undeclared in dependencies, its name is hidden behind base64, and its contents are fully controlled by a third-party publisher who can change them at any time — yielding arbitrary remote code execution in the installer's Node process on first use of the advertised SVG utilities. The package name react-icons-svgo further impersonates the popular react-icons and svgo ecosystems while shipping no real functionality beyond a thin CDN helper plus this covert install/require channel.
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-10482?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-m78v-9w6f-xwf2.