audit: add new homebrew/core audits#6916
audit: add new homebrew/core audits#6916jonchang merged 3 commits intoHomebrew:masterfrom jonchang:new-audits
Conversation
MikeMcQuaid
left a comment
There was a problem hiding this comment.
Fantastic work here 👏. A few suggested changes but up to you.
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
|
Merging since tests are 🍏 . Thanks for the review @MikeMcQuaid! |
|
We're seeing this in Homebrew/homebrew-core#48770: But build-time checks are allowed in security software (unless we have changed our position on that). Should that audit be only for new formulas? |
|
I didn’t know we had that policy. Two options that I can think of:
I slightly prefer the latter. Thoughts? |
|
I'm generally against broad strokes of audit for things that we can have good reasons to ignore. And white lists need to be maintained, and new formulas added, etc. I like the "new formula" because once a maintainer decides that it's a valid use, then it's done. Simple. If you go with a whitelist, I'd say exclude:
|
brew stylewith your changes locally?brew testswith your changes locally?These homebrew/core audits check for:
make check# tag "xxx"comments from external tapsbuild.with?implying the presence of options