@yossarian yes, I agree there’s a root of trust issue even with “checking hashes”. (Debian and some others solve that by shipping archive PGP keys on install media.)
Re HomeBrew “mostly” checking hashes, I agree every bottle is checked. And I think every source archive too. But there are definitely some patch diffs that don’t have sha256s on them, which stand out when building from source (there’s a warning). Those diffs I think default to HTTPS URL/API download now (not local git checkout).