3 ms·
Even seemingly trusted web sites are often pulling in JavaScript libraries from third party CDNs, analytics services, and advertising networks. It's almost impo
by nradov 9y ago
Even seemingly trusted web sites are often pulling in JavaScript libraries from third party CDNs, analytics services, and advertising networks. It's almost impossible to be certain that none of those are compromised.
- someperson 9y agoTrue, but at least the attack surface area will have been reduced by a large amount which is worth something. Disabling Javascript served over HTTP is such a good security improvement that I'm surprised no browser vendor has implemented yet, in the age of Let's Encrypt. It'll break a lot of websites, but better than compromised routers and ISPs serving JS malware.
- pietroglyph 9y agoDecentraleyes[0] is a great plugin that intercepts many popular 3rd party CDN requests and replaces them with local copies. It's not a silver bullet, but it reduces CDN-based tracking and the chance of the attack described in the parent comment. Subresource integrity[1] is a technology that's been available for a while that also mitigates this attack, if used properly by website owners. [0]: https://decentraleyes.org/ https://decentraleyes.org/ and https://github.com/Synzvato/decentraleyes https://github.com/Synzvato/decentraleyes [1]: https://www.w3.org/TR/SRI/ https://www.w3.org/TR/SRI/