Comment by gruez

11 days ago

If it's criminal for sites to accidentally serve malware, what does it mean for open source projects to accidentally get hit by supply chain attacks, or for them to get compromised by a rogue contributor (eg. xz)?

Those website operators include third-party code willingly and explicitly. There was never an accident. There is no supply-chain attack here: you cannot seriously claim that unaudited, unauthenticated terminal with root security principal getting used is an attack.

If your website is making any requests outside of the original domain, there's no "accidental" in anything the website does.

A business in the US has legal liability if they fail to do their due diligence in their supply chain and it turns out their suppliers are involved in human trafficking, child labor, forced labor, etc. or is using hazardous materials in the product.

There should be standards that people have to live up to if they are going to provide a product, even for free, to others.

Malware is malware. People shouldn’t be offering software that they can’t stand behind.

I see no way to distinguish between huge megacorps and individuals.

One could distinguish between criminal negligence and forgivable negligence in court. Unfortunately for GP that probably means you can't actually stick charges on anybody who serves malware via an ad network like this.

  • > One could distinguish between criminal negligence and forgivable negligence in court.

    Open source is already expensive from a time standpoint, you wanna make it expensive from a monetary standpoint too?

  • Easy solution: Don't use ad networks. That'll likely free your site from illegal tracking, as well as ad trash, and will even improve your lIgHtHoUsE score!