GithubHelp home page GithubHelp logo

homebrew / brew-pip-audit Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 7.0 3.22 MB

:clipboard: Bulk auditing Python dependencies in Homebrew with pip-audit

License: BSD 2-Clause "Simplified" License

Ruby 71.99% Python 28.01%

brew-pip-audit's Introduction

Homebrew (Legacy)

This repository was deprecated and split into two repositories:

brew-pip-audit's People

Contributors

alex avatar branchvincent avatar dependabot[bot] avatar issyl0 avatar nandahkrishna avatar p-linnane avatar woodruffw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

brew-pip-audit's Issues

Consider switching back to `pip-audit`

We switched to osv-scanner because of a significant performance regression in pip-audit. That regression has now been fixed with the 2.6.0 release, so we should consider switching back.

Low priority since the performance of osv-scanner is probably good enough, and the data quality should be similar.

Attempt to auto-send PRs to brew

Ideally for any formula that we identify vulnerabilities in we'd:

  • Bump dependencies (brew update-python-resources)
  • Verify that this fixes vulnerabilities
  • Bump revision
  • Send a PR to homebrew

This would significantly reduce the burdens of keeping the ecosystem secure

PR automation: follow-ups

Some things we should do:

  • Bump the revision as well, so that auto-bumped formulae are automatically pushed to users who brew upgrade (#44);
  • Issue PRs in alphabetical order, so that we have a rough idea of how much progress the automation has made;
  • Look into throttling the PR automation when triggered periodically to avoid spamming the homebrew-core maintainers.
  • Look into replacing pipgrip within Homebrew for dep upgrades, since it uses Poetry's resolver and is slow/does different resolutions than pip
  • Don't send a PR if it doesn't actually fix a vulnerability. This happens when version constraints don't allow upgrading the vulnerable dep, but there are other packages to be updated (example: Homebrew/homebrew-core#122902).
  • Include the list of fixed vulnerabilities in the PR message.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.