fix(deps): upgrade pyjwt, urllib3 and anyio for security advisories - #74
Merged
Merged
Conversation
- pyjwt 2.13.0 -> 2.15.1 (13 Dependabot alerts, incl. GHSA-ffc3-869f-jxw9, GHSA-8wjv-2p76-3863, GHSA-42vr-xj54-vc7v) - urllib3 2.7.0 -> 2.8.0 (GHSA-vxq7-64xx-v4gw, GHSA-8988-9cw3-xx77, GHSA-gh4c-6fx4-qh6g) - anyio 4.13.0 -> 4.15.1 (GHSA-82r6-8w77-94w6, GHSA-5p39-cfhj-2xmp) - typing-extensions 4.15.0 -> 4.16.0, pulled in by anyio - uv.lock only; pyproject.toml constraints unchanged Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
🟢 Coverage ∅ diff coverage · +0.00% coverage variation
Metric Results Coverage variation ✅ +0.00% coverage variation (-1.00%) Diff coverage ✅ ∅ diff coverage Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (9796e21) 4891 4681 95.71% Head commit (bb1ebdf) 4891 (+0) 4681 (+0) 95.71% (+0.00%) Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#74) 0 0 ∅ (not applicable) Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
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 and why
Resolves all 18 open Dependabot alerts (2 critical, 7 high, 9 medium). They all come from three indirect dependencies, so this is a lockfile-only upgrade. Our SimpleJWT setup (HS256 with
SECRET_KEY, no JWKS) isn't hit by the PyJWT key-confusion advisories, but the nested-headerRecursionErrorones were reachable by anyone with a craftedAuthorizationheader.Changes
uv.lockonly;pyproject.tomlconstraints unchangedHow it was verified
ruff check,ruff format --check,ty checkpass;pytest: 811 passedalg=none, a bad refresh token or a deeply nested JWT header all get a 401 (the nested header no longer causes a 500)🤖 Generated with Claude Code