Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency on compromised polyfill.js CDN via albertcht/invisible-recaptcha #191

Open
phizev opened this issue Jun 26, 2024 · 1 comment

Comments

@phizev
Copy link

phizev commented Jun 26, 2024

As reported in the media, the original polyfill.js CDN has been serving malware. While this Craft plugin does not directly have a dependency on poilyfill.js, a dependency of it does, namely albertcht/invisible-recaptcha.

I've filed a PR albertcht/invisible-recaptcha#173, and opened an issue albertcht/invisible-recaptcha#174 with the downstream project.

Unfortunately the project does not seem to be actively maintained, and has not had any PR's merged since 2022.

I'm not sure on the best path to resolving this issue, though the quickest might be to switch to a fork of albertcht/invisible-recaptcha with the polyfill.js either removed, or updated to an alternative.

@khalwat
Copy link

khalwat commented Jun 28, 2024

Thankfully, namecheap has revoked the DNS so this issue is less dire than it was initially:

Update June 27th: Cloudflare has implemented real-time rewrites of cdn.polyfill.io to their own version. A little later, Namecheap has put the domain on hold altogether, which eliminates the risk for now. However, you are still recommended to remove any polyfill.io references in your code.

https://sansec.io/research/polyfill-supply-chain-attack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants