On September 24, 2014, the jQuery website was hacked. Although the public CDN-hosted libraries weren't modified (every writeup about the hack was very quick to mention that), it does raise the question... "What if the libraries were modified?" If the jQuery CDN were hacked and the library source modified, the millions of websites across the internet that use it would then be exposed to whatever the hacker had in mind. How can we detect modifications? prevent modified code execution? protect our users?
I have a working prototype that does everything within the page. I created my own