rollup-runtime-polyfill-core@0.13.5
Malicious code in rollup-runtime-polyfill-core (npm)
Analysis
Package named to impersonate a legitimate rollup polyfill plugin. At require-time (no install hook needed), dist/index.js spawns a hidden child process to silently install a second-stage npm package "2fa-exe" (command is base64-encoded and decoded at runtime: npm install 2fa-exe --no-save --silent --no-audit --no-fund). After installation, the package requires 2fa-exe and executes its getPlugin() function. The malicious code is appended below legitimate polyfill code to evade casual inspection. All network IOCs are mediated through the npm registry for the second-stage package 2fa-exe.
- analyzed by
- Leitwacht
- first seen
- Jun 13, 2026, 07:35 AM
- analyzed
- Jun 13, 2026, 11:41 AM
Related advisories
- react-next-dom@1.1.7
- pino-sdk-v2@9.9.0
- paasprint-sdk@9.9.9
- otto-git-cli@4.0.4
- bubblestring@1.1.4
- express-initial@12.1.7
- node-env-resolver-nextjs@7.4.2
- node-env-resolver-vite@2.4.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.