Homebrew 6.0:開發者供應鏈走向明確信任
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
| Area | Decision | Why |
|---|---|---|
| Taps | Official, internal, or third-party | A tap can execute code on developer machines. |
| Brewfile | Reviewed environment state | Bootstrap is part of supply chain control. |
| Linux CI | Sandbox canary | Source builds may assume filesystem or network access. |
| Audit | brew vulns plus scanner policy | Workstation 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。