by Beldur · 11y ago · 0 comments
What if a website uses the technology to spread copyrighted material in the background without me knowing about it? Maybe the website had a simple XSS hole that allowed an attacker to do it?
So later I will get a fine for spreading copyrighted material and I don't even know where it came from?
After all, what if the JavaScript on a website makes an AJAX request to fetch illegal content and store it in your HTML5 LocalStorage?
Bam, you are now a criminal in possession of illegal content of some sort.
Even if you enjoy having JavaScript enabled for many sites, something like NoScript is still a good idea---it at least gives you a chance to question whether it's needed at all, or verify what it's doing yourself.
LibreJS will list every script and its contents if it's not marked with a free license, but since it will refuse to execute it, it will not load anything that is dynamically loaded at runtime. But a malicious script could just mark itself as free to get around that.
It's a bad situation all-around.
Chrome canary + uBlock *uMatrix (which lets you allow images / scripts / css / XHR selectively per-domain) is about as much as I can stand to maintain.
(Provided the page stayed open, of course)
There was a case in Germany recently where thousands of internet users got cease-and-desist letters and were asked to pay a fine based on an ad-injection. The people behind it made hundreds of thousands and ran off with the money.
On the other hand: If malicious driveby torrenting happens regularly, it will be harder to fine people for it, because it gives them a good excuse.
And when you pay, it's almost impossible to get the money back, because you basically admit your guilt, even when the claim was not legit.
There's more to this case, you can read about it here:
https://torrentfreak.com/viewing-pirated-streams-is-not-ille...
tl;dr: They got users' IPs through ads and misled the courts into thinking the users committed a crime by watching the videos. Courts ordered the ISPs to give out the users' info, the law firm CD'd the users and ran off when shit hit the fan.
The same thing can happen with JS torrenting and it's even easier to do.