← Back to context

Comment by sublinear

21 days ago

Quote from TFA:

> Supply chain - a third-party script file that a site loads is infected with malware, and is then loaded on to the site, exposing all visitors.

I already know many will disagree, but this is far too vague for your answer to make much sense. The list of 15k websites isn't given.

Most websites have at least one analytics script. Some of the biggest vendor names in that space have known XSS issues via nonce reuse that they aren't going to fix because it threatens their entire business model.

You usually get the whole clown car as soon as you allow one 3rd-party script for relatively innocent use cases like wanting a heatmap of user interaction.

You should fully expect that such a blacklist would take out most, if not all, of the websites you use every day. The security model for 3rd party scripts tends to be "trust me bro, we're $bigname"

If a site is using a third-party analytics site that brings in malware, they can stop bringing in that analytics script.

  • Yes, exactly! I'm saying the surface area to audit is much bigger than any particular or group of websites. All websites have problems like this that are out of their hands. What if all 3rd-party script vendors are like this (spoiler: they are)?

    The blame game isn't going to solve this. Blaming it entirely on the website owners/maintainers is only treating the symptoms instead of the disease.

Are you replying to something else? I don't see the connection to a problem affecting a small number of websites or the suggestion of reporting them all to a browser maker to indirectly inform them.

  • No. This is a very old debate I'm bringing up. The criteria for being listed as an "infected site" is not clear enough.

    • If I’m about to enter my credit card information on a site that’s compromised, I don’t care if it’s because of infected first party code or infected third party code. I want my browser to say “bro this site is fishy, maybe don’t”.

      1 reply →

They aren't saying "analytics script = infection"

I'm not sure what point you're trying to make here.

  • How about "Using third party analytics scripts is a bad idea in general, because they can and frequently do have vulnerabilities and your trust in $BigCompany is misplaced"?

    I would agree with that.

    • Exactly. This is what website operators need to learn. People generally don't learn lessons like this without experiencing some pain first, so in my mind skipping straight to the blocklist is the most efficient.

      3 replies →