Repository navigation
Scan the dependencies for vulnerabilities with Trivy - #1808
Open
classiqdor wants to merge 2 commits into
Open
classiqdor wants to merge 2 commits into
classiqdor wants to merge 2 commits into
Conversation
The requirements files are unpinned, so pip resolves them first (`--dry-run`, metadata only), and Trivy scans the pinned list. Runs weekly, on PRs that change the requirements, and on demand; one scan per classiq extra. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Adds
Security-dependencies.yml: scans every dependency (direct and transitive) for known vulnerabilities with Trivy.pip install --dry-run --reportpins them first (metadata only, ~20s), and Trivy scans the pinned listclassiq,[chemistry],[qml],[qsp], all extras), since the notebooks!pip installthe extras, and they pin some packages to other versions (e.g.[chemistry]pinsopenfermion==1.7.1)requirements*.txtor this workflow, and on demand0.76.2, rather than throughaquasecurity/trivy-action, whose tags were hijacked in March 2026 (GHSA-69fq-xp46-6x23). The vulnerability database is downloaded fresh on every run, so the pin doesn't freeze itLocal run: all 5 scans pass. At any severity, the only finding is
requests==2.32.5(CVE-2026-25645, MEDIUM), viaclassiq[chemistry]→openfermion==1.7.1→requests~=2.32.2.🤖 Generated with Claude Code