News for hackers. Stuff that matters.
Re:jQuery.com Malware Attack Puts Privileged Enterprise IT A... by krapp on Tuesday September 23, 2014 @01:21PM (#8356538)
I really like this idea. Is this something browser plugins would be able to do?
Re:jQuery.com Malware Attack Puts Privileged Enterprise IT A... by aikah on Tuesday September 23, 2014 @02:31PM (#8357170)
I guess, but it would have to download the script before hand,check the hash,then append the script somewhere. I dont see any other technique."document.write" is only efficient while the page itself is loading.

It's an interesting problem nevertheless, and could be extended to any link or src attributes in tags.

In case the hash and the file dont match,the browser wouldnt load that file.

Re:jQuery.com Malware Attack Puts Privileged Enterprise IT A... by jimrandomh on Tuesday September 23, 2014 @02:07PM (#8356979)
I don't think a plugin could do it, but it's back- and forward-compatible enough that it makes sense to just go ahead and add it to a browser without waiting for standardization.