Most people will avoid sticking things in their mouth by default. They don't wait for the microbial cultures to come back positive to say no.

We need a cultural shift toward code hygiene, which isn't really any different from the norms most cultures develop around food. It's a mix of crude heuristics but the sense of "eeew" is keeping billions of people alive.

The billions of burgers served by fast food franchises with long histories of poisoning people would argue that delicious convenience overrides the hygiene instinct.

Which is to say: Hiding the sausage-making is a core aspect of what makes supply chains profitable.

> They don't wait for the microbial cultures to come back positive to say no.

They dont wait for the cultures to come back negative to say yes either. They just eat what they are served.

Exactly! They rely heuristics like that they are being served in a clean public restaurant which is presumably following health code, and is staffed by people who follow standard norms on hygiene. In some countries the norm is for the kitchen to be visible so the patrons can take a peak themselves.

If the restaurant has a foul smell and the food is served by a twitchy waiter who insists that the food totally free, I think most people will think twice.

Most people start out as kids that does exactly that.

And kids do not decide what to buy and how to prefer that food for exactly that reason.

That means going back to disabling Javascript or only allowing widely used, well-maintained Javascript libraries.

> or only allowing widely used, well-maintained Javascript libraries.

That isn't a guarantee either, just last month someone compromised the Axios library.

They stole the axios's npm keys and they uploaded malicious artifacts. They did not takeover the axios's repo. The issue is with packaging and distribution, not with code.

What's the meaningful distinction between those two things? You imported axios, you got pwned. Same result either way.

Because the way npm works means that as soon as a developer key got stolen, a lot of people got pwned. The key is the only barrier.

Compare that with the average distro. You would have to compromise the developer infrastructure (repo or website) and publish a new version without them being aware while notifying the maintainer that’s its ok to merge the new package script in the distro repo. Hard to pull off in high profile projects.