Homebrew security on macOS
A developer Mac accumulates software the way a garage accumulates tools. Most of it was installed for one job, years ago, and has not been looked at since. Homebrew is very good at putting that software on your machine. It has nothing to say about what happens to it afterwards — some of it now has published CVEs, and nothing would tell you if something had changed it.
What the brew CLI covers
brew outdated tells you what has a newer version. brew doctor tells you when your installation itself is unhealthy. Both are genuinely useful, and neither is a security check — "newer exists" and "what you have is vulnerable" are different questions with different urgency.
What it doesn't
brew audit is the command people reach for and the one that misleads most: it validates that a formula is well-formed for submission to Homebrew. It is a check on the recipe, not on the software sitting on your disk. Nothing in the default toolchain compares your installed versions against an advisory database.
What EasyHomebrew actually does when it scans
1Collect
Installed formulae and casks are gathered with their versions — the same list brew list --versions would give you, without the copy-paste.
2Match
Each package is looked up at your installed version in OSV, through the security advisories of the Linux distributions that build the same software and of the project itself. The lookup is live, so a scan reflects the advisories published up to the moment you run it.
3Rank
Each finding shows how serious it is, worked out from the advisory's own score. The worst finding for a package is what shows on the package row.
4Act
Every finding names its CVE, links to it and gives the version that fixes it — usually the fix is simply the upgrade already waiting in Updates.
The database: OSV
Findings come from OSV, the open-source vulnerability database maintained by Google, queried live rather than shipped as a snapshot inside the app — a database baked in at release time is already stale by the time you install the app.
What it can't check
Not everything Homebrew installs is followed by an advisory database — most Mac apps, and many small tools, have no published advisories at all. A scan lists those as not tracked, says whether you have the newest release, and never counts them as safe.
Whether anything changed what Homebrew installed
A known vulnerability is one risk. A package changed after it was installed is another. Homebrew checks a download when it installs it, then never looks at the package again — so a file swapped later, by a setup script or anything else running as you, goes unnoticed. EasyHomebrew's Integrity page looks again, every time the app opens and whenever you ask.

- Your packages
- Every file inside every installed package is compared with the moment it was installed. A file changed afterwards is flagged, with the date it changed, and Reinstall puts back Homebrew's own copy.
- Homebrew itself
- Homebrew's own files and its taps are checked against the repositories they came from. A setting that sends Homebrew's downloads somewhere else is pointed out, and taps from outside Homebrew are listed, so you know whose code you install.
- Your apps
- Every app Homebrew installed is checked for a valid signature from an identified developer, notarized by Apple. If an app turns up signed by a different developer than before, you're told, and nothing changes until you choose to trust the new one.
When something has changed
Each finding says what changed and when, and offers what to do: reinstall, show the file in the Finder, or mark it as expected if you made the change yourself — then it stays quiet unless something changes again. The menu-bar agent checks too, and tells you when a package has changed since it was installed.
Safeguards for every download
Homebrew can check more than it does by default. EasyHomebrew lets you turn three of those checks on, from Settings → Package Security or the Integrity page, and applies them to every Homebrew command it runs — and so does the menu-bar agent. Homebrew in Terminal stays as you set it.
Check downloads against their build records
Before installing, Homebrew confirms with GitHub that the download was built by Homebrew's own build service, and refuses one that wasn't. It needs a GitHub sign-in; the app tells you how to set one up.
Refuse insecure redirects
A download that starts on a secure connection and is sent on to an insecure one is refused instead of installed.
Refuse apps without a checksum
A few apps skip the checksum because they change with every download, so nothing checks what arrived. With this on, those apps can't be installed or updated.
All of it runs on your Mac and sends nothing anywhere. Software running as you can still hide its tracks from any check on the same Mac; what these checks catch is a change that didn't try to hide, like a setup script swapping a program inside a package.
What the severities mean in practice
- Critical
- Remotely exploitable, or trivially so. Worth acting on today.
- High
- Serious, usually with conditions attached. Worth this week.
- Moderate / Low
- Real but narrow — often needs local access or an unusual configuration.
Severity comes from each advisory's own score. A package showing several findings is ranked by its worst one, so the row you see in the list is the row you should judge it by.
And when the problem is the installation itself
Brew Doctor covers the other half of machine hygiene — the state of Homebrew rather than the packages in it. It splits into two kinds of warning, and the difference is deliberate:
Runnable
Unlinked kegs, missing dependencies, deprecated formulae, invalid cask metadata — brew offers a command for these, so Doctor gives you a "Run fix" button and re-runs the check afterwards.
Copy-only
A sudo command, a PATH change, an xcode-select call — these belong in your shell, not in an app running commands on your behalf. Doctor surfaces them as copyable commands and leaves the decision to you.
A scan you have to remember to run is a scan you won't run
This is the part that decides whether any of it works. Scanning on demand answers the question "am I exposed right now" — but advisories are published continuously, and the gap between publication and discovery is where the exposure lives. A vulnerability you learn about three months late is not meaningfully different from one you never learned about at all.
So the scan runs at startup by default, and a menu-bar agent re-checks on the interval you set and marks itself when something turns up. You do not have to remember anything. That is the whole design: the alert finds you, rather than waiting for you to go looking for it.
Questions about Homebrew security
- Is Homebrew safe to use on a Mac?
- Homebrew itself is open source and widely used, and the formulae and casks in its own repositories are reviewed by its maintainers; a third-party tap is only as trustworthy as whoever publishes it. What Homebrew does not do is look after what it installed: it will not tell you that a version on your disk has since had a CVE published, or that something has changed its files. Those are the two checks EasyHomebrew adds.
- Does brew audit check for security vulnerabilities?
- No. brew audit validates that a formula is well-formed for submission to Homebrew — style, licensing, and packaging rules. It is a check on the recipe, not on the software you installed, and it will not tell you that the version on your disk has a published CVE.
- How do I check which installed Homebrew packages have known vulnerabilities?
- You need to compare what you have installed against a vulnerability database. EasyHomebrew does it automatically: it collects your installed packages and their versions, looks each one up in the OSV database, and lists what comes back by severity, with the version that fixes it. Packages no advisory database follows are listed as not tracked. Doing it by hand means running brew list --versions and looking each package up yourself.
- How do I know if an installed Homebrew package has been tampered with?
- Homebrew checks a download when it installs it, but never looks at the package again. EasyHomebrew's Integrity page compares every file in your installed packages with the moment each was installed, checks Homebrew and its taps against their sources, and checks that your apps are still signed by the same developer. If something has changed, it tells you and can put back Homebrew's own copy in one click.
- What does checking a download against its build record do?
- Using the record GitHub keeps of each build, Homebrew can confirm that a download was made by Homebrew's own build service, and refuse one that wasn't — so a download swapped on its way to you never gets installed. Homebrew leaves it off by default, and it needs a GitHub sign-in. EasyHomebrew can turn it on for every Homebrew command it runs, and tells you how to sign in if you haven't.
- Which vulnerability database does EasyHomebrew use?
- OSV (osv.dev), the open-source vulnerability database maintained by Google, which gathers the security advisories of Linux distributions and of the projects themselves. It is queried live, so a scan reflects what is published at the moment you run it rather than a list baked into the app at release time.
- How often does it re-check?
- A scan runs at app startup by default, and the menu-bar agent re-checks on the interval you choose and marks the status item when something turns up. You can also scan on demand from the Security screen at any time.
- Does my package list get sent to a server?
- Package names and versions are sent to the OSV API to be matched against advisories — that is what a live lookup requires. Nothing is sent to Wizhut.tech, there is no account, and the scanning is not tied to any profile of you. The privacy policy has the specifics.
Find out what you're running