feat: add CVE vulnerability checks with pip-audit#89
Draft
Conversation
Introduce a new test to check for known CVE vulnerabilities in installed packages using pip-audit. Add `pip-audit` installation to the development setup process. The changes ensure that the project is free from known vulnerabilities by running a pip-audit test which fails on detection, providing a detailed report and actionable summary for any findings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This test is a simple check using
pip-auditto audit the imported packages for any CVE vulnerabilities and report them in the output. If there are any vulnerabilities found, then this should be caught during CI builds and shown as an error.Initial tests show this to flag certain packages (output below), which have not been addressed so that we can discuss this during the course of this MR being considered.
Note: I suspect some of these packages are from other packages and not directly part of the SDK, so we may need to consider the impact this has.