Skip to content

fix(deps): clear the four high advisories that block ci-cli - #109

Merged
yeouchien-wego merged 1 commit into
mainfrom
devin/1794471749-audit-fix
Nov 12, 2026
Merged

yeouchien-wego merged 1 commit into
mainfrom
devin/1794471749-audit-fix

Conversation

@yeouchien-wego

@yeouchien-wego yeouchien-wego commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Unblocks ci-cli on every open PR. No ticket.

Why

ci-cli is green again on every pull request in wego/cli. The step "Audit the installed dependency tree (bun.lock)" runs bun audit --audit-level=high before lint and tests, and fails on main's lockfile (run 43181047244, job 131056816043), so no PR reaches a test result.

What changed

  • zod 4.6.2 to 4.6.6 (the shipped dependency): clears GHSA-mrhx-c7xc-m3w5.
  • overrides.zod = 4.6.6: @vercel/cli-config@0.2.6 (dev only, via @vercel/blob > @vercel/oidc) pins zod@4.1.11 exactly, and no @vercel/oidc 3.x that @vercel/blob's ^3.6.1 accepts depends on a fixed cli-config. The override collapses it onto the same 4.6.6.
  • undici 6.28.1 to 6.29.1 in bun.lock only, inside @vercel/blob's existing ^6.23.0 range: clears GHSA-xjj6-f33q-929c, GHSA-2m5v-pch6-74hx, GHSA-qrxm-fqhp-jwvm.
  • The audit step is unchanged: same command, same --audit-level=high.

Verification

Check Result
bun audit --audit-level=high on main 4 high, exit 1
bun audit --audit-level=high on this branch, Bun 1.3.14 (CI's packageManager) and 1.4.0 ✅ no vulnerabilities, exit 0
bun install --frozen-lockfile with Bun 1.3.14 ✅ no changes
bun run test:integration (compiled binary) ✅ 508 pass, 0 fail

QA plan

Check Expected How to verify
ci-cli on main after merge green, audit step passes Actions, latest ci-cli run on main
ci-cli on an open PR after it merges main (for example #108) audit step passes, lint and tests run the PR's checks tab

Notes for reviewers

  • The override can be dropped once @vercel/blob accepts @vercel/oidc 4.x (4.0.8 ships @vercel/cli-config@0.3.8, which needs zod ^4.6.6). Bumping to 4.x now would mean a major change outside @vercel/blob's range.
  • Signed commits are required to merge to main; this commit may need re-signing by a maintainer.

Details for AI and humans who like to read everything

Files

File Change
package.json dependencies.zod 4.6.2 to 4.6.6; new top-level overrides: { "zod": "4.6.6" }
bun.lock zod@4.6.6, overrides block, drops the nested @vercel/cli-config/zod@4.1.11, undici@6.29.1

Evidence

  • main: bun audit --audit-level=high lists undici@6.28.1 (3 advisories, via @vercel/blob) and zod@4.6.2, 4.1.11 (1 advisory, direct and via @vercel/cli-config), 4 vulnerabilities (4 high), exit 1.
  • bun audit fix alone fixes undici and the direct zod, and reports blocked by a dependent's range: @vercel/cli-config@0.2.6 depends on zod@4.1.11. The override clears that last one.
  • Branch: No vulnerabilities found (checked 98 packages), exit 0. bun run check: 1416 pass, 0 fail, exit 0. bun run test:integration: 508 pass, 0 fail, exit 0.

🤖 Generated with Devin

Open in Devin Desktop: https://app.devin.ai/desktop/session/5e026cb52fa14ada936e7ad92f4a57a7?variant=devin
Requested by: @yeouchien-wego

Summary by CodeRabbit

  • Chores
    • Updated the app’s underlying data-validation support to a newer version. This is a behind-the-scenes maintenance change; no new user-facing features or changes to exported functionality are included.

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

Original prompt from YC

Use @skills:wego-mode . Repo: @wego/cli .

Goal: ci-cli is green again on every pull request in wego/cli.

Problem: the step "Audit the installed dependency tree (bun.lock)" runs bun audit --audit-level=high and fails on main's lockfile. It runs before lint and tests, so no PR gets a test result.

Evidence (run https://github.com/wego/cli/actions/runs/43181047244/job/131056816043, 2026-11-12):

  • zod <4.6.6, direct and through @vercel/blob > @vercel/oidc > @vercel/cli-config: GHSA-mrhx-c7xc-m3w5.
  • undici >=6.23.0 <6.29.1, through @vercel/blob: GHSA-xjj6-f33q-929c, GHSA-2m5v-pch6-74hx, GHSA-qrxm-fqhp-jwvm.
  • The same step failed on a Dependabot PR on 2026-11-09. PR 108 fails on it and changes no dependency file.

Done when:

  • bun audit --audit-level=high exits 0.
  • bun run check and bun run test:integration are clean.
  • A pull request against main is open, with a conventional-commit title, and its ci-cli job is green.

Constraints:

  • Smallest dependency change that clears the 4 advisories. No unrelated upgrades.
  • Do not weaken, skip or lower the level of the audit step.
  • Follow the repo AGENTS.md and CONTRIBUTING.md: Bun only, no --no-verify, no em-dash in user-facing text.
  • Do not merge. Report the PR link and the proof output, then stop.

@devin-ai-integration devin-ai-integration Bot added dependencies Pull requests that update a dependency file devin Authored by Devin labels Nov 12, 2026
@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

package.json updates the direct zod dependency from 4.6.2 to 4.6.6 and adds an override for 4.6.6.

Changes: Zod version update

Layer / File(s) Summary
Update Zod version
package.json
The direct zod dependency is updated to 4.6.6. An override pins zod to the same version.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Merge Risk: Minimal · previous review e1f7e

This is a dependency patch update that addresses reported security advisories. No concrete risk was found, and the author reports passing audit, unit and integration checks. The post-merge CI check on main is still pending.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title uses the Conventional Commits form with type fix and scope deps, which matches the dependency-only change. It names the four high advisories and the ci-cli goal. The subject is imperative an…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title uses the Conventional Commits form with type fix and scope deps, which matches the dependency-only change. It names the four high advisories and the ci-cli goal. The subject is imperative and lowercase. The change touches only package.json (zod override and version bump), and the scope deps is on the approved list. No breaking change is involved, so no '!' is needed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 9bfd567 and e1f7ea3.

Files ignored due to path filters: 1

  • bun.lock is excluded by !**/*.lock, !bun.lock
Files selected for processing: 1

  • package.json

Included review availability: This review used your included allowance. 3 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

@yeouchien-wego
yeouchien-wego enabled auto-merge (squash) November 12, 2026 08:48
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@yeouchien-wego
yeouchien-wego force-pushed the devin/1794471749-audit-fix branch from e1f7ea3 to 9991ba9 Compare November 12, 2026 09:00
@yeouchien-wego
yeouchien-wego merged commit 7483163 into main Nov 12, 2026
2 checks passed
@yeouchien-wego
yeouchien-wego deleted the devin/1794471749-audit-fix branch November 12, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file devin Authored by Devin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants