Skip to content

[codex] Fix high severity dependency alerts#18167

Merged
caseysilver-oai merged 1 commit intomainfrom
codex/dependabot-high-critical
Apr 20, 2026
Merged

[codex] Fix high severity dependency alerts#18167
caseysilver-oai merged 1 commit intomainfrom
codex/dependabot-high-critical

Conversation

@caseysilver-oai
Copy link
Copy Markdown
Contributor

Summary

  • Pin vulnerable npm dependencies through the existing root resolutions mechanism so the lockfile moves only to patched versions.
  • Refresh pnpm-lock.yaml for @modelcontextprotocol/sdk, handlebars, path-to-regexp, picomatch, minimatch, flatted, rollup, and glob.
  • Bump quinn-proto from 0.11.13 to 0.11.14 and refresh MODULE.bazel.lock.

Testing

  • corepack pnpm --store-dir .pnpm-store install --frozen-lockfile --ignore-scripts
  • corepack pnpm audit --audit-level high (passes; remaining advisories are low/moderate)
  • corepack pnpm -r --filter ./sdk/typescript run build
  • corepack pnpm exec eslint 'src/**/*.ts' 'tests/**/*.ts'
  • cargo check --locked
  • cargo build -p codex-cli
  • bazel --output_user_root=/tmp/bazel-codex-dependabot --ignore_all_rc_files mod deps --lockfile_mode=error
  • just fmt

Note: corepack pnpm -r --filter ./sdk/typescript run test was also attempted after building codex; it is blocked on this workstation by host-managed Codex MDM/auth state (approval_policy restrictions and ChatGPT/API-key mismatch), not by this dependency change.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 16, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@caseysilver-oai
Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Apr 16, 2026
@caseysilver-oai caseysilver-oai marked this pull request as ready for review April 16, 2026 19:00
Copy link
Copy Markdown
Contributor

@rreichel3-oai rreichel3-oai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this!

Comment thread package.json
"minimatch@3.1.2": "3.1.4",
"minimatch@9.0.5": "9.0.7",
"path-to-regexp": "8.4.0",
"picomatch@2.3.1": "2.3.2",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any idea why we needed to add these to package.json for this bump?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of these are transitive deps so we need to force the resolution to fix versions

@caseysilver-oai caseysilver-oai merged commit fe04d75 into main Apr 20, 2026
38 of 40 checks passed
@caseysilver-oai caseysilver-oai deleted the codex/dependabot-high-critical branch April 20, 2026 18:59
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants