Development toolchain includes an audited vulnerable Zod version

未关闭 适合新手
#3,725 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

@ppcvote 已经在做这个了。

开始于 2026年11月1日。

  • #3801 来自 @ppcvote —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
70/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
javascript, node.js
领域
security, tooling

调研方向

首先找到前端工具链的包清单和锁定文件,然后检查 Zod 的解析方式。将兼容的依赖解析更新到 Zod 4.6.6 或更高版本,并运行 lint 和测试。完成标准是这些检查均通过,且锁定文件解析到已修复的版本。

由索引模型根据 Issue 内容生成。

描述

help wanted
Is your feature request related to a problem? Please describe.

The frontend development toolchain resolves a Zod version below the audited patched version. The package is dev-only and absent from the production audit; no production exposure is claimed.

Describe the solution you'd like

Update the compatible toolchain/lockfile so Zod resolves to 4.6.6 or newer, then verify lint and tests.

Describe alternatives you've considered, if relevant.

If an immediate update is incompatible, document the blocker and track the update; do not describe the advisory as browser-app exploitation.

Additional context

Full npm audit identified high advisory GHSA-mrhx-c7xc-m3w5 (<4.6.6, oversized constrained collection validation memory exhaustion). Production-only audit did not include this Zod finding. Tested commit d3446e045960b5ebee4641aa70fdeb03af186587, PyRIT 1.2.0.dev0, offline dependency audit. Evidence: files/evidence/round4/npm-audit.json; local path is not an attachment.

主要语言
Python
星标
4.7k
派生
1k
平均合并
2 天 2 小时
30 天内合并 PR
439

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/PyRIT 的其他 Issue

查看 microsoft/PyRIT 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。