Login
You're viewing the code4lib.social public feed.

Replies

  • 💬 1🔄 0⭐ 0
  • Nov 3, 2026, 12:22 AM

    @glyph this is the correct reaction, and yet only like 6 people are having it! I feel like I'm taking crazy pills!

    💬 1🔄 0⭐ 0
  • Nov 3, 2026, 2:13 AM

    @yossarian it’s a reasonable reaction! But it requires knowing that Apple (and Microsoft aka GitHub) haven’t prioritised addressing the issue.

    Any ecosystem that treats the network as untrusted (eg checks sha256 hashes on everything downloaded, or was built in the days of only plain text HTTP) is probably okay.

    But a lot of “modern” ecosystems placed their trust in HTTPS, and thus the unaddressed TLS issue is a major supply chain issue.

    (HomeBrew *mostly* does sha256 checks.)

    CC @glyph

    💬 1🔄 0⭐ 0
  • Nov 3, 2026, 2:23 AM

    @ewenmcneill @glyph

    I’m one of Homebrew’s maintainers and it’s still a huge concern for us: even if we check hashes on installation, we need to deliver those hashes to users. And that delivery goes over TLS. Same for bootstrapping builds from random forges/hosts on the internet, to get to the hashes in the first place

    (As far as I know we check hashes on every single bottle. It’s a hard requirement. The place where we don’t check hashes is on casks, since we don’t control their contents and they’re already code-signed with their upstream’s developer identity)

    💬 1🔄 0⭐ 0
  • Nov 3, 2026, 2:28 AM

    @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).

    💬 1🔄 0⭐ 0
  • Nov 3, 2026, 3:06 AM

    @ewenmcneill ah yeah, if you build from source then the patches are not covered by the hashes (whereas they are transitively for bottles). That’s a good callout!

    (And yeah ultimately a root of trust is the solution here. Until the root stops being trustworthy :-))

    💬 1🔄 0⭐ 0
  • Nov 3, 2026, 6:12 AM

    @yossarian *many* of the diffs do have hashes on them in the Formula (and the build warning, if they’re missing, even says what to put in the Formula). At a guess just oversights missed in the CI noise, but I’ve seen it several times on macOS Intel (which is now build-from-source).

    Since Apple / GitHub have not yet fixed the builders, I’m not sure if those missing diff hashes impact CI (and thus bottles). Possibly not if the portable ruby is already safe, and securely installed to the builder.

    💬 0🔄 0⭐ 0
  • Nov 3, 2026, 12:19 AM

    @yossarian How would a MITM actually occur on a device like this, though? Like malicious code could edit /etc/hosts but it could also edit the tls keys the same way.

    💬 0🔄 0⭐ 0
  • Nov 3, 2026, 12:22 AM

    @cinebox the roots in question are *already* present. the attacker doesn't need code execution, they just need to be on the network path.

    💬 0🔄 0⭐ 0
  • Nov 3, 2026, 12:23 AM

    @yossarian
    How much you wanna bet Apple's gonna pretend this vulnerability doesn't exist, gaslight any users whose computers got compromised into thinking it was something they did wrong, and then only address the issue after being legally forced to do so through a class action lawsuit?

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 3, 2026, 12:25 AM

    @yossarian
    Huh, they seem to be getting better about this sort of thing. Did Tim Cook retire yet? Maybe it's a result of new management, kinda like how Microsoft started embracing Linux after Satya Nadella took over.

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0