The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Summer 2024: Our audit of Homebrew | Trail of Bits Blog

Posted by jpluimers on 2024/11/04

In the summer of 2024, something interesting happened in the Homebrew world: [Wayback/Archive] Our audit of Homebrew | Trail of Bits Blog.

This is really cool, while not only it caused some fixes of by then unknown issues, but also improved the various processes that already made Homebrew such a great tool by focusing on these aspects:

  • Can a local actor induce unexpected execution of a formula’s DSL, e.g. without an explicit invocation of brew install?
  • Can a local actor induce unexpected evaluation of a tap’s formulae, e.g. from just brew tap with no subsequent user actions?
  • Can a local actor induce namespace confusions or conflicts within brew, resulting in brew install foo installing an unexpected formula?
  • Can a locally installed formula surreptitiously subvert or bypass Homebrew’s build isolation mechanisms?
  • Can an unprivileged or low-privilege CI/CD actor (such as a third-party contributor) pivot to a higher privilege in Homebrew’s CI/CD?
  • Can an unprivileged or low-privilege CI/CD actor surreptitiously taint or compromise a bottle build?
  • Can an unprivileged or low-privilege CI/CD actor establish persistence in Homebrew’s CI/CD?

Via [Wayback/Archive] Trail of Bits: “Homebrew, the missing package …” – Infosec Exchange

Homebrew, the missing package manager for macOS, produces the binaries that millions of users download daily. Read about our audit of Homebrew’s CI/CD pipeline and brew.
blog.trailofbits.com/2024/07/3…

--jeroen

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.