fix(deps): raise requests/sentry-sdk floors past CVEs, add Trivy scan, drop unused doc#104
Merged
Merged
Conversation
Also adds a Trivy dependency/secret scan and removes an unused doc stub. - requests >=2.31.0 -> >=2.33.0: the old floor permitted 2.31.0, affected by CVE-2024-35195, CVE-2024-47081, and CVE-2026-25645. - sentry-sdk >=2.2.1 -> >=2.8.0: the old floor permitted versions affected by CVE-2024-40647. Fresh installs already resolve above both floors; this stops a constrained resolve from reaching a vulnerable version. - Add .github/workflows/security.yaml: a Trivy fs scan (vuln + secret) that installs the package, freezes concrete versions, and uploads results to code-scanning as SARIF. Mirrors orb-agent's Trivy coverage, adapted for a Python library. Non-blocking; runs on push/PR/daily/dispatch. - Remove docs/entities.md: a stub pointing only at the README, unreferenced anywhere in the repo. Tests pass (213) on the updated floors. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
leoparente
requested review from
MicahParks,
davidlanouette,
jajeffries,
ltucker,
marc-barry and
mfiedorowicz
as code owners
July 22, 2026 14:40
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
Coverage Report
|
||||||||||||||||||||||||||||||||||||||||
mfiedorowicz
approved these changes
Jul 22, 2026
|
🎉 This PR is included in version 1.13.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Summary
Three related maintenance changes in one PR:
docs/entities.md, an unused stub.1. Dependency floors
Determined empirically by scanning the declared floor versions with Trivy:
>=2.31.0>=2.33.0>=2.2.1>=2.8.0certifi,grpcio,grpcio-status, andopentelemetry-protofloors were scanned too and are already clean, so they're left as-is (keeping compatibility floors low is good library hygiene). A freshpip installalready pulls versions well above both new floors.2. Trivy dependency scan
New
.github/workflows/security.yaml. Becausepyproject.tomluses open>=ranges (which Trivy can't evaluate — a plaintrivy fson the repo finds nothing), the job firstpip installs the package andpip freezes concrete versions into arequirements.txt(not committed), then runstrivy fsover the tree (scanners: vuln,secret, all severities,ignore-unfixed) and uploads SARIF to code-scanning. Same pinned action versions and settings as orb-agent; non-blocking; runs on push, PRs, a daily schedule, and manual dispatch.3. Doc removal
docs/entities.mdwas a two-line stub that only redirected to the README, with no references anywhere in the repo.Verification
actionlintclean; validated locally that the pip-freeze →trivy fsflow detects concrete-version advisories (and that the current resolved tree scans clean).🤖 Generated with Claude Code