Skip to content

fix(deps): update compatible vulnerable dependencies - #1919

Merged
lizhengfeng101 merged 1 commit into
mainfrom
fix/dependency-security
Nov 13, 2026
Merged

lizhengfeng101 merged 1 commit into
mainfrom
fix/dependency-security

Conversation

@lizhengfeng101

Copy link
Copy Markdown
Contributor

Description

Update compatible transitive dependencies in the shared frontend, VS Code extension, and OpenCode plugin to address known security advisories.

  • Update fast-uri, markdown-it, qs, undici, brace-expansion, and ip-address within their existing major-version lines.
  • Raise four existing VS Code resolution minimums and regenerate the three existing lockfiles. Preserve the separate undici 6/8 and brace-expansion 2/5 dependency lines in the OpenCode plugin.
  • Keep the change limited to four dependency files; no source changes, new overrides, SDK upgrades, or unrelated dependency updates.

Local comparison against the original 38-alert Dependabot snapshot shows that 28 alerts no longer match the lockfiles: 12 high, 11 medium, and 5 low. Actual GitHub closure requires a default-branch rescan after merge.

The other 10 original alerts remain intentionally deferred: minimatch, @azure/msal-node, effect, and toml need upstream or compatibility work, while deepmerge has no published fix in the original advisory. Broader npm/Yarn audits also report pre-existing glob, pinned OpenTelemetry/zod, and additional TOML findings; these are not newly introduced by this PR. Before/after audit comparison found no new package/advisory pairs.

Type of Change

  • Bug fix (non-breaking security maintenance)
  • CI / Build / Tooling

How Has This Been Tested?

Validated on the latest main base with Node.js 22.23.3 and Go 1.27.2:

  • Frontend typecheck, 62 tests, and production webview builds for VS Code and IDEA.
  • VS Code lint, all 99 tests, and production VSIX packaging.
  • OpenCode typecheck/build/tests: 36 passed, 1 skipped.
  • Strict-engine npm installs and frozen-lockfile Yarn installation; lockfile hashes remain unchanged after verification and packaging.
  • make check and make test with repository-local temporary directories and a Git discovery ceiling for isolated test fixtures.
  • git diff --check and LF verification.
  • Required ocr review --audience agent --background ...: completed with zero findings on the selected manifest. Generated lockfiles are excluded by OCR's default selection and were inspected separately for scope, versions, integrity metadata, and reproducibility.

The earlier VS Code baseline failure was caused by an unrelated merge-commit HEAD. It no longer occurs after basing this branch directly on main; no tests were changed or excluded.

AI/LLM Disclosure

Codex CLI (gpt-6-astra) was used to investigate the advisories, prepare the dependency updates, run validation, and draft this PR. OpenCodeReview v1.13.8 (gpt-6-astra) was used for the required automated review. No AI attribution or co-author trailers are included in the commit.

Author Confirmations

These confirmations are left for the human author rather than asserted by automation:

  • I have reviewed the generated changes and PR content and understand the changes before requesting human review.
  • I have satisfied the repository's CLA requirements.
  • I will answer maintainer questions from my own understanding, using AI/LLM only for translation or wording assistance.

@github-actions

Copy link
Copy Markdown
Contributor

✅ OpenCodeReview: Review complete: 0 finding(s) across 1 selected item(s).

@css521 css521 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@lizhengfeng101
lizhengfeng101 merged commit e24b6c7 into main Nov 13, 2026
17 checks passed
@lizhengfeng101
lizhengfeng101 deleted the fix/dependency-security branch November 13, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants