Repository navigation
chore(ci): add dependency audit and Dependabot - #176
Open
jeffdupont wants to merge 3 commits into
Open
jeffdupont wants to merge 3 commits into
jeffdupont wants to merge 3 commits into
Conversation
- Add `make audit` (pip-audit 2.9.0 over `uv export` of the committed uv.lock) and a CI job that runs it. - Add dependabot.yml: uv daily at the workspace root, github-actions weekly, 7-day cooldown, matching go-ai-sdk. - Upgrade the locked versions that pip-audit flagged (26 advisories): anyio 4.15.1, langgraph-sdk 0.4.7, mcp 1.30.0, pyjwt 2.15.1, urllib3 2.8.0, virtualenv 21.14.7. No pyproject ranges changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit bcc3de1. Configure here.
make runs /bin/sh, which has no pipefail, so piping uv export into pip-audit took pip-audit's exit code: a failed export audited an empty list and passed. Export to a temp file and chain the steps instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
directory '/' covers .github/workflows only, so astral-sh/setup-uv in the ci composite action never got update PRs. List .github/actions/* as well. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jeffdupont
force-pushed
the
chore/ci-dependency-audit-dependabot
branch
from
October 20, 2026 22:36
91c6752 to
cac7f68
Compare
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.

What
make audittarget that runspip-audit(pinned 2.9.0) overuv export --frozenof the committeduv.lock, and aDependency auditCI job that runs it. It audits the lock as committed (nouv lockfirst), so a vulnerable pin fails the job..github/dependabot.ymlwithuvdaily at the workspace root andgithub-actionsweekly, both with a 7-day cooldown — same shape as go-ai-sdk (go-ai-sdk#3).pyproject.tomlranges changed:These cover all 25 open Dependabot alerts on
main(2 critical, 12 high, 11 moderate), plus onemcpadvisory (GHSA-84m7-p3x7-pcfv) that pip-audit reports and GitHub doesn't.Verified locally
make audit→No known vulnerabilities foundpyjwt==2.13.0exits 1 with 14 advisories, so the job fails on a vulnerable pinuv lock --check,ruff check,ruff format --check,mypy packages/*/srcclean;pytest2536 passed, 14 skippedNot verified: the CI run itself (this PR's checks will show it).
🤖 Generated with Claude Code
Note
Overview
Adds automated dependency security via a new
make audittarget (uv export --frozen+ pinnedpip-audit) and a Dependency audit CI job that runs it against the committeduv.lockwithout regenerating the lock first, so vulnerable pins fail CI.Introduces Dependabot for the uv workspace (daily) and GitHub Actions (weekly), each with a 7-day cooldown.
uv.lockis bumped (e.g.urllib3,pyjwt,mcp,anyio,langgraph-sdk,virtualenv) so the new audit job passes; nopyproject.tomlversion range changes.Reviewed by Cursor Bugbot for commit 91c6752. Bugbot is set up for automated code reviews on this repo. Configure here.