News for hackers. Stuff that matters.
Re:jQuery.com Malware Attack Puts Privileged Enterprise IT A... by maw on Tuesday September 23, 2014 @02:43PM (#8357268)
Yep, a lot of people have come up with this idea independently (I'm one of them). It's pretty obvious, after all.

But I don't think it will ever get much traction. Believe it or not, it's too far beyond the organizational and technical capacities of the people behind too many sites. The benefit, aside from slightly improved caching, will be minimal.

And if you're careful and meticulous you aren't doing braindead things like hotlinking javascript in the first place.

Re:jQuery.com Malware Attack Puts Privileged Enterprise IT A... by thomasfromcdnjs on Tuesday September 23, 2014 @03:18PM (#8357535)
Thomas chiming in from cdnjs.com here.

We are responsible for quite a lot of copy and paste script includes these days and could potentially push people in this direction.

If anyone is serious about investigating hash'ed includes shoot me an email with your thoughts, my email can be found on my HN profile.

Re:jQuery.com Malware Attack Puts Privileged Enterprise IT A... by acdha on Tuesday September 23, 2014 @02:53PM (#8357350)
The thing which will give it traction[1] is performance: if a browser starts letting you host locally but say “Yes, this is the same jQuery you have in your cache” that'll be a big win for a number of sites, particularly on mobile where it could reduce expensive network traffic and reduce cache duplication.

http://www.w3.org/TR/SRI/

Re:jQuery.com Malware Attack Puts Privileged Enterprise IT A... by Someone1234 on Tuesday September 23, 2014 @03:09PM (#8357476)
You assume that such people wouldn't just copy/paste a code fragment. If that code fragment happened to already come with a hash/CRC, they likely won't remove it.