Question
(Handle Polyfill.io Security-Alert) How do you detect if a big npm Codebase uses Polyfill.io somewhere?
Polyfill.io is malicious: https://dev.to/snyk/polyfill-supply-chain-attack-embeds-malware-in-javascript-cdn-assets-55d6
I now need to find it my codebase:
I used: grep -r "polyfill.io" to quickly find the obvious and I checked the Network Traffic of the website.
Network Traffic is however not an exhaustive method to find every polyfill.
How do I efficiently check:
- npm subdependencies
- dynamically loaded polyfills?
- What about other polyfill suppliers like bootcss.com bootcdn.net & staticfile.org? It seems Polyfill.io is not the only one? https://socket.dev/blog/namecheap-takes-down-polyfill-io-service-following-supply-chain-attack
15 5794
15