rollup-plugin-polyfill-connect@1.0.1
Malicious code in rollup-plugin-polyfill-connect (npm)
Analysis
rollup-plugin-polyfill-connect@1.0.1 contains two exported functions (getPlugin and setPlugin) that act as remote code execution backdoors. When called, they make HTTPS requests to rest-icon-handler[.]store (endpoints /icons/903 and /icons/77) and pass the response body through JSON.parse() then eval(), enabling the C2 server to execute arbitrary code on the host. The functions also implement a retry mechanism (up to 3 attempts) to ensure payload delivery. The package is named to resemble a legitimate rollup build plugin but contains no actual plugin functionality — the backdoor is the only significant behaviour.
- analyzed by
- Leitwacht
- first seen
- Jun 13, 2026, 07:22 AM
- analyzed
- Jun 13, 2026, 07:25 AM
Related advisories
- ring-device-settings-library@45.0.0
- request-js-validator@1.0.2
- macos-ci-utils@1.0.1
- redirect-azlazy@1.0.0
- redeem-onchain-sdk@1.0.1
- react-svg-chunk@1.1.0
- react-schedule-it@4.0.0
- warp-dependency@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.