News for hackers. Stuff that matters.
Re:jQuery.com Malware Attack Puts Privileged Enterprise IT A... by thirsteh on Tuesday September 23, 2014 @01:27PM (#8356601)
And what happens when it's patched to fix a real issue? Your site will just break.

Just don't trust so many third parties with your site's security: Host jQuery (and other things) yourself.

Re:jQuery.com Malware Attack Puts Privileged Enterprise IT A... by Drakim on Tuesday September 23, 2014 @01:37PM (#8356699)
Nah, the new version is hosted at a new url.

Even if we ignore the hash suggestion, you don't want to have some dev on the other side of the planet suddenly update one of your libraries on your live website.

That should never be a thing in the first place, so it won't be a problem.

Re:jQuery.com Malware Attack Puts Privileged Enterprise IT A... by johnduhart on Tuesday September 23, 2014 @01:31PM (#8356635)
>And what happens when it's patched to fix a real issue? Your site will just break.

No, they will release a new version with a new URL.

Re:jQuery.com Malware Attack Puts Privileged Enterprise IT A... by 0x0 on Tuesday September 23, 2014 @01:31PM (#8356636)
Then you update the version number and the hash, just like you have to update the version number today already :)
Re:jQuery.com Malware Attack Puts Privileged Enterprise IT A... by Igglyboo on Tuesday September 23, 2014 @02:45PM (#8357283)
The URL will change along with the version and hash number, unless you're using jquery-latest.min.js which is a bad idea in general and wouldn't make sense to use with the hash attribute anyways.