3 ms·
That would not necessarily prevent attacks like the GitHub attack, which used embedded analytics JS from Baidu, IIRC.
by nitrogen 12y ago
That would not necessarily prevent attacks like the GitHub attack, which used embedded analytics JS from Baidu, IIRC.
- acdha 12y agoActually, it would have stopped this particular variant because Baidu serves the script from baidu.com: http://www.netresec.com/?page=Blog&month=2015-03&post=China%27s-Man-on-the-Side-Attack-on-GitHub http://www.netresec.com/?page=Blog&month=2015-03&post=China%... That said, it would only matter if Baidu was doing something like serving the script only over HTTPS using HSTS which I imagine would incur a non-trivial backlash for them. I'd also be surprised if they couldn't relatively easily move on to another similarly insecure script requested by many people outside of China.