3 ms·
SRI won't protect you from: * Someone injecting malicious JS code into your checkout page * Non-static JS includes like Google Analytics But it works well fo
by brightfire 8y ago
SRI won't protect you from:
* Someone injecting malicious JS code into your checkout page
* Non-static JS includes like Google Analytics
But it works well for static assets like jQuery or other static JS resources.
- 0xferruccio 8y agoI was working with OP on a static asset integrity tool and testing I found out google analytics and facebook change their code multiple times a day!
- brightfire 8y agoIt's been interesting working with teams that have well-defined release management workflows and continuous integration with snapshotted npm/mvn dependencies, but still allow a third party like GA to inject JS that skips the QA queue. Likewise with CloudFlare: Allowing a third party to proxy all your traffic is a huge liability. CloudBleed should have been a wake-up call, but it doesn't seem to have had much effect.