fix(ci): 修复 1.x.x 特性列车两处安全门——perceives Security Audit 新披露漏洞与 influence fast-uri HIGH - #1125
Merged
Merged
Conversation
…9856 有据 ignore; - uv lock 定向升级:aiohttp 3.14.3 / cryptography 50.0.1 / pip 26.2.1 / pyasn1 0.6.4 / pypdf 6.17.0(新披露 advisory,OSV 验证新版本零漏洞) - transformers CVE-2026-9856(save_pretrained 路径穿越任意写文件)修复版 5.10.0 受 marker-pdf/surya <5.0.0 硬锁制约,按既有威胁模型(仅加载第一方模型 artifact、不加载不可信 HF 仓库)入 ignore 清单 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
…复 Dependency Review 门 4 项 HIGH; - GHSA-jqff-g426-hqxp / GHSA-fph4-wmhf-6fwf / GHSA-f65p-4m7j-42xc / GHSA-5jgf-p345-68v8(host confusion 与 SSRF)均在 3.1.6 修复 - 3.1.7 满足 ajv@8.20.0 的 ^3.0.1 依赖范围,纯 lockfile 定向升级;模板 lockfile 经临时物化 manifest 由 pnpm 规范生成,根 pnpm-lock.yaml 零变更 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
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.
背景
negentropy-perceives-ci.yml→ pip-audit):aiohttp / cryptography / pip / pyasn1 / pypdf 五包各有新披露漏洞(均有修复版本);transformers CVE-2026-9856 修复版 5.10.0 不可达。fast-uri@3.1.5,命中 4 项 GHSA HIGH(host confusion / SSRF)。核心变更
1. perceives Security Audit 门(c0e84445)
uv lock定向升级 5 包(解析零冲突):aiohttp 3.14.1→3.14.3(PYSEC-2026-3545/3546/3547)、cryptography 49.0.0→50.0.1(PYSEC-2026-3552)、pip 26.1.2→26.2.1(PYSEC-2026-3721)、pyasn1 0.6.3→0.6.4(PYSEC-2026-3455/3456/3457)、pypdf 6.13.3→6.17.0(PYSEC-2026-3610..3613/3655/3656 + CVE-2026-84309/84310/84311/82398)。save_pretrained路径穿越任意写文件,修复版 5.10.0;transformers 被 pyproject 硬锁>=4.56.1,<5.0.0(marker-pdf 1.10.2 / surya-ocr 0.17.1 在 5.x 运行时崩),与文件内既有 PYSEC-2025-211..218 / CVE-2026-4372 同约束、同威胁模型(本项目仅加载第一方模型 artifact,攻击向量不可达),注释完整落档。2. influence Dependency Review 门(ff0d8527)
pnpm-lock.yaml将 fast-uri 3.1.5→3.1.7(GHSA-jqff-g426-hqxp / GHSA-fph4-wmhf-6fwf / GHSA-f65p-4m7j-42xc / GHSA-5jgf-p345-68v8 均在 3.1.6 修复);3.1.7 满足 ajv@8.20.0 的^3.0.1依赖范围,纯 lockfile 定向升级、无 manifest 变更。package.json.tmpl、无实体 manifest」的约定:经临时物化 manifest 由 pnpm 规范生成后移除临时文件,与 8 个分集 diff 逐字节同构。风险与回滚
git revert两个提交即可,均为纯依赖锁/ignore 清单变更,无代码与 schema 变更。验证证据
uv lock --check通过(313 包解析成功);5 个升级包经 OSV API 逐一验证新版本 0 已知漏洞。git status确认根pnpm-lock.yaml不在变更集(遵循「嵌套工程须--ignore-workspace」既有约束)。影响范围
uv.lock(5 包)+.github/workflows/negentropy-perceives-ci.yml(+1 条有据 ignore)。pnpm-lock.yaml(8 分集 + 骨架模板),每文件仅 fast-uri 相关 4 行。Next Best Action
pnpm-lock.yaml的 fast-uri@3.1.2 亦在 GHSA-7p8r-x3mc-p8w7 受影响范围(>=3.0.0,<3.1.5),因不在本次 review delta 未触发门控;可在下次触碰根锁的 PR 顺手升级。