Repository navigation
fix(deps): 升级 authlib 至 1.9.1 修复七项安全告警 - #168
Merged
Merged
Conversation
3 tasks done
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.
Closes #166(authlib 部分;与 #167 叠栈,#167 合并后本 PR rebase 到 main)
改动
authlib1.6.12 → 1.9.1(修复 GHSA-6v38-4h7w-rj9h / fch4-3c6x-j4gc / 7vr2-2fgp-9w7p / c5mf-xmp2-59rc / x4rv-c3wx-4cr8 / jj7h-c3hg-m23x,以及升级期间新披露的 GHSA-8m4g-j4wp-wgcg——1.9.0 不含此修复,故取 1.9.1)Verification(按 AGENTS 高风险变更流程)
backend/data/backups/pre_authlib_upgrade_20261028_085649.sql,本地留存)DATABASE_URL='postgresql+asyncpg://dummy:dummy@localhost:5432/never_connect' uv run --no-sync python -m pytest tests_oauth_patch/→ 33 passed(Google/GitHub 登录链路全 mock)bash scripts/test_full_local.shexit 0uv run pip-audit(A+B 叠加后):No known vulnerabilities found —— CI security-scan 红:authlib/litellm/msgpack 新披露漏洞需升级 #166 三个包全部清零CI 预期
base 为 #167 分支(叠栈),本 PR 的树包含全部三个升级 → security-scan 应全绿。#167 合并后将 base 切回 main(或 rebase),即可走常规合并,无需 admin 通道。