Thousands of websites told to ditch Polyfill service after Chinese hackers hijacked it to spread malware

Website administrators are urged to immediately remove the Polyfill.io service after it was found to be providing malware to site visitors.

A polyfill is a piece of code (usually JavaScript) used to provide modern functionality in older browsers that do not support it natively. The term comes from the idea of ​​”filling” the gaps in a browser’s features, allowing developers to use modern web standards and APIs without worrying about compatibility issues. Polyfills allows developers to write code according to the latest standards, while ensuring it still works in legacy environments.