What AuditX checks
The scan reads the HTML the server sends for the page you scanned, and looks at every script with a src. Stylesheets are not checked. Relative addresses are resolved against the page address. It compares the host of each script with a short, fixed list of two domains with a publicly reported supply chain compromise: polyfill.io and bootcss.com. A host matches when it is one of these or a subdomain of one. The check fails when at least one script matches. The message names the domain, up to 3 script addresses per domain and a short summary of the reported incident. Otherwise it is an info note, which does not lower the score, saying no script uses a domain on the list. It never passes or warns. The match is on the host name only. The scan does not read the script and does not test whether the script is harmful today. The list is short on purpose, so an info note does not mean every script on the page is safe. The scan reads only the page you scanned. A fail lowers the security score. This check never caps the overall score.
Why it matters
The Cloudflare blog explains that after the polyfill.io domain changed owner, any website embedding it relied on the new owner to maintain and secure it. A supply chain attack happens when such a third party is compromised or changes the code it serves.
MDN says that a library developed by a third party has the ability to compromise your site, and that a software supply chain covers all the software and tools used to build and run a product.
How to fix it
- Remove the script tags the report names. Look in your theme, plugins and tag manager, because the tag is often added from there.
- Replace what the script did with a library from a source you trust, or copy the file to your own site after checking the code. Test the page afterwards.
- Search the rest of the site for the same domain. This check reads only the page you scanned, so other pages may still load it.
- If you cannot find where the tag comes from, ask your web developer, and scan again after the change.
<!-- Remove tags like this one -->
<script src="https://cdn.polyfill.io/v3/polyfill.min.js"></script>
Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.
Scan my site