Guide
Check Homebrew for vulnerabilities
Homebrew 7 added brew vulns. It checks your installed formulae against the OSV.dev database of known vulnerabilities.
Scan everything you have installed
brew vulnsWith no arguments it checks every installed formula. It sends each formula's name and version to OSV.dev and lists any advisories that match.
Casks aren't scanned, and neither is anything installed by another package manager.
Check particular formulae
brew vulns openssl@3 curlAdd --deps to check their dependencies too.
Only show what matters
Hide low and medium findings:
brew vulns --severity=highOnly show issues that already have a fixed release, so an upgrade will sort them out:
brew vulns --fix-availableCheck a Brewfile
Scan the formulae a Brewfile lists, before you install them:
brew vulns --brewfile=~/dotfiles/BrewfilePatched formulae
Homebrew sometimes patches a formula to fix a vulnerability before the project releases a new version. brew vulns skips findings a patch resolves. To see them anyway:
brew vulns --no-ignore-patchesFixing what it finds
Usually it's an upgrade:
brew update
brew upgrade openssl@3If a fix hasn't been released yet, check the advisory to see whether it affects how you use the package.
In mead
- The Security page runs
brew vulnson everything installed and lists each affected package with its advisories and severity. - It counts findings resolved by a formula patch separately.
- On Homebrew older than 7, mead asks OSV.dev directly with the same name and version.
- Before installing an app, mead checks its code signature and notarization.
Install
Get mead
Free and open source. Needs Homebrew already installed. Apple Silicon and Intel.
brew tap DaKiLloTh/mead
brew install --cask mead