Homebrew 6.0:开发者供应链走向显式信任

Dev
Diagram showing Homebrew 6 tap trust, Linux sandbox, brew vulns, and brew bundle metadata flowing into team supply chain policy
Homebrew 6.0 makes the trust decision behind a simple install command visible to laptops and CI.

Homebrew 6.0 增加 tap trust、Linux sandbox、brew vulns 和 Brewfile 改进。Laptop 和 CI 都应被视为供应链表面。

Supply-chain read

风险:approval fatigue 和 bootstrap script 破坏。只使用官方 taps 的个人变化较小。

What happened

Homebrew 6.0.0 于 2026 年 6 月 11 日发布,包含 tap trust、默认 JSON API、Linux sandboxing、brew bundle 改进、性能优化和 macOS 27 初始支持。

Why it matters

Tap 可以包含 formulae、casks 和 commands。第三方 tap 可能执行 Ruby,因此 trust 应成为团队策略。

Community signal

社区信号显示 Intel Mac 时间线和 trust UX 有摩擦。uninstall/cleanup 也说明 trust 覆盖整个生命周期。

Checklist

Checklist:盘点 brew tap,优先 specific trust,review Brewfile,测试 CI prompt,定期运行 brew vulns。

Risks

风险:approval fatigue 和 bootstrap script 破坏。只使用官方 taps 的个人变化较小。

Team policy map

AreaDecisionWhy
TapsOfficial, internal, or third-partyA tap can execute code on developer machines.
BrewfileReviewed environment stateBootstrap is part of supply chain control.
Linux CISandbox canarySource builds may assume filesystem or network access.
Auditbrew vulns plus scanner policyWorkstation risk needs a lightweight signal.

Checklist:盘点 brew tap,优先 specific trust,review Brewfile,测试 CI prompt,定期运行 brew vulns。

Checklist:盘点 brew tap,优先 specific trust,review Brewfile,测试 CI prompt,定期运行 brew vulns。

来源