rollup-packages-node-polyfills@0.0.1
Malicious code in rollup-packages-node-polyfills (npm)
Analysis
rollup-packages-node-polyfills is a combosquat of the legitimate rollup-plugin-polyfill-node. At require-time, dist/index.js decodes a base64 payload that silently runs "npm install ambera --no-save --silent --no-audit --no-fund" via child_process.spawn with stdio:ignore and windowsHide:true, then requires the installed "ambera" package and calls its getPlugin() method. This is a remote-package downloader: the ambera package is not currently on the registry, but any future publish would be silently installed and executed on every require of this package. The package has no lifecycle hooks — the payload runs on module load.
- analyzed by
- Leitwacht
- first seen
- Jul 23, 2026, 08:09 PM
- analyzed
- Jul 23, 2026, 08:11 PM
Related advisories
- tick-forge@11.5.2
- ambera@1.0.0
- gekko-trading-bot@4.2.0
- fastify-client-bundler@1.4.0
- react-tabulix-ui@0.1.2
- encryptstringadmin@1.2.1
- poly-provider-api@4.6.1
- async-mutex-lock@5.3.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.