Sharing a pre-install CVE gate for brew install / upgrade — feedback welcome #6826
Unanswered
sharkyger
asked this question in
Everyday usage
Replies: 2 comments 5 replies
-
|
Seems like something that would be better served as an audit. That way it would stop updates with a CVE from getting merged. Interesting idea though, I've shared it with other maintainers who might be interested in it. |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
@sharkyger would you be interested in contributing that kind of functionality into brew-vulns itself as ruby code instead of shell? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all — I've been working on
homebrew-safe-upgrade, a small set of wrappers (brew safe-install,brew safe-upgrade) that check incoming and transitive packages against OSV.dev, GitHub Advisory, and NVD before the install/upgrade runs. If a known CVE is found, the run is held and you decide whether to proceed.It's deliberately a different scope from
brew-vulns, which audits what's already installed. The two are complementary:brew-vulnstells you what's vulnerable on your system today;safe-upgradetries to stop a known-vulnerable version from landing in the first place.A few things I'd genuinely like input on from people closer to Homebrew than I am:
brew-vulnsitself), or is it better as an external tap?brew upgradebatches this is the practical bottleneck. Are there patterns the Homebrew side already uses I should look at?brewitself?Not trying to promote — just want to know if I'm solving a problem the community actually has, and whether I should be opening a PR somewhere instead of running it as a separate tap.
Happy to take "this overlaps too much with X, close it" as an answer.
Beta Was this translation helpful? Give feedback.
All reactions