Repository navigation
fix(deps): clear high-severity pnpm-audit-prod advisories - #302
Merged
Merged
Conversation
security-fast's pnpm-audit-prod step flags 7 high-severity advisories in production dependencies: - @modelcontextprotocol/sdk 1.31.0 (GHSA-22jm-h49p-29qw, GHSA-46jr-4wx8-v453) -> bump to 1.32.1 in root + browser/codex-supervisor/qa-lab extensions. - follow-redirects override was pinned at 1.16.0, itself inside the vulnerable range (GHSA-q3jh-wrc6-jgq8, GHSA-8r9p-f939-6h3c) -> 1.16.1. - vite override was pinned at 8.0.16, also inside the vulnerable range (GHSA-587h-7wmj-h5pm) -> 8.1.6. - markdown-it had no override and resolved to 14.3.1 (GHSA-gfr2-rv44-r23c, GHSA-r7fv-28h4-cvq7) -> add override at 14.3.3, staying on the 14.x line. Regenerated pnpm-lock.yaml via pnpm install --no-frozen-lockfile. Verified scripts/pre-commit/pnpm-audit-prod.mjs --audit-level=high now reports no high or higher advisories. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes notedThis PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin or a member of
Security review is still recommended before merge when the dependency graph change is intentional. |
There was a problem hiding this comment.
All reported issues were addressed across 6 files
Heads up: you’re close to your included review allowance. Set a flex budget so reviews don’t pause.
View guided diff | Turn on auto-fix | Re-trigger cubic
… fix Addresses cubic review feedback on #302: the overrides-based pnpm-lock.yaml regeneration left several direct manifests and publishable shrinkwraps pinned to the vulnerable versions, so npm-installed users (and a --frozen-lockfile install) wouldn't actually receive the fixes. - ui/package.json, packages/markdown-core/package.json, extensions/oc-path/package.json, extensions/matrix/package.json: bump direct markdown-it pin 14.3.1 -> 14.3.3 to match the override. - ui/package.json: bump direct vite pin 8.0.16 -> 8.1.6 to match the override. - npm-shrinkwrap.json (root): regenerate so npm installs get @modelcontextprotocol/sdk 1.32.1 instead of the vulnerable 1.31.0. - extensions/{feishu,msteams,slack}/npm-shrinkwrap.json: regenerate so npm-installed plugins get follow-redirects 1.16.1 instead of 1.16.0. - extensions/matrix/npm-shrinkwrap.json: regenerate for the markdown-it bump. Verified `pnpm install --frozen-lockfile` is clean (no stale-lockfile error) and scripts/pre-commit/pnpm-audit-prod.mjs --audit-level=high still reports no high-or-higher advisories. Co-Authored-By: Claude Sonnet 5 <[email protected]>
checks-node-core-tooling was failing on test/package-manager-config.test.ts > keeps npm shrinkwrap package versions inside the pnpm lock graph: the prior root npm-shrinkwrap.json regeneration picked up an unrelated @sentry/node nested @opentelemetry/resources / @opentelemetry/sdk-trace-base bump (2.11.0 -> 2.12.0) that the live npm registry now resolves to, but which isn't the version pnpm-lock.yaml pins. Restored those two entries verbatim to the 2.11.0 metadata (exact hashes from the prior committed shrinkwrap), keeping only the intended @modelcontextprotocol/sdk 1.31.0 -> 1.32.1 change. Also found and fixed a second, separately-stale shrinkwrap the test caught: extensions/acpx/npm-shrinkwrap.json pulls in @modelcontextprotocol/sdk transitively via @zed-industries/codex-acp's ^1.29.0 range and was still locked to the vulnerable 1.31.0. Regenerated it so npm installs of the acpx plugin get 1.32.1 too. Verified test/package-manager-config.test.ts (all 12 tests) now passes, `pnpm install --frozen-lockfile` is clean, and pnpm-audit-prod.mjs --audit-level=high still reports no high-or-higher advisories. Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
Dependency Security Review and Approval
Reviewed Commit: b0ad2e2c9ad103297bb0d6ca59afbea20f008408
Verification Summary
- Scope and Files:
- Changes are strictly manifests (
package.json,pnpm-workspace.yaml) and lockfiles/shrinkwraps (pnpm-lock.yaml,npm-shrinkwrap.json). No application code modified.
- Changes are strictly manifests (
- Advisory Resolutions and Pins:
@modelcontextprotocol/sdk: bumped1.31.0->1.32.1(GHSA-22jm-h49p-29qw, GHSA-46jr-4wx8-v453).follow-redirects: override bumped1.16.0->1.16.1(GHSA-q3jh-wrc6-jgq8, GHSA-8r9p-f939-6h3c).vite: override bumped8.0.16->8.1.6(GHSA-587h-7wmj-h5pm).markdown-it: override plus package pins set to14.3.3(GHSA-gfr2-rv44-r23c, GHSA-r7fv-28h4-cvq7).
- Lockfile and Registry Vetting:
- All package downloads resolve strictly to
https://registry.npmjs.org. Zero unvetted git or external URLs. - All 28 updated package resolution SHA-512 integrity hashes (
@modelcontextprotocol/sdk,vite,rolldown,@emnapi/*,markdown-it, etc.) independently verified against npm registry tarball metadata. - No unexpected major version jumps; all pins remain on their active release branches.
- All package downloads resolve strictly to
- CI State:
- 128 of 128 GitHub Actions check-runs completed green (0 failures) at head
b0ad2e2c9ad103297bb0d6ca59afbea20f008408.
- 128 of 128 GitHub Actions check-runs completed green (0 failures) at head
LGTM!
inassjunus
approved these changes
Oct 21, 2026
ayusudi
approved these changes
Oct 21, 2026
This was referenced Oct 25, 2026
convyusboy
added a commit
that referenced
this pull request
Oct 26, 2026
* fix(deps): clear high-severity pnpm-audit-prod advisories security-fast's pnpm-audit-prod step flags 7 high/critical advisories in production dependencies, newly disclosed since PR #302's last audit fix: - dompurify 3.4.16 -> 3.4.17 (GHSA-cg2g-xh64-v4q7, GHSA-mrv2-3pqr-j5jr) - undici 8.x line 8.10.2 -> 8.12.3, 7.x line 7.29.1 -> 7.30.1 (GHSA-xjj6-f33q-929c, unhandled-error DoS on excessive content-encodings) - zod 4.x line 4.4.3 -> 4.6.7 (GHSA-mrhx-c7xc-m3w5, oversized-collection memory exhaustion) - body-parser (transitive via express) -> 2.4.0 override (GHSA-27r3-jxmh-p828, trailing-bytes DoS) - @azure/msal-node (transitive via @azure/identity, msteams cert-auth) 5.2.3 -> 7.1.1 scoped override (GHSA-xcx6-jx8p-x3h5, auth-code-flow parameter disclosure). This is a 2-major jump beyond what @azure/identity itself currently supports (its latest only tracks msal-node ^6.0.0, which is still inside the vulnerable range) -- needs live Teams cert-auth verification before this ships. Also suppresses a false positive: GHSA-mrhx-c7xc-m3w5's published range ("< 4.6.6") is written against zod's v4-only $ZodArray/handleArrayResult bug but also matches [email protected] (a2ui/web_core's pin, which predates the v3->v4 rewrite entirely and never shipped that code path). Regenerated pnpm-lock.yaml and the 26 affected npm-shrinkwrap.json files. Manually reverted an unrelated @sentry/node -> @opentelemetry/{resources, sdk-trace-base} registry-drift bump (2.11.0 -> 2.12.0) that the shrinkwrap generator's live npm resolution picks up independent of this fix (same class of drift as PR #302's third commit). Verified scripts/pre-commit/pnpm-audit-prod.mjs --audit-level=high reports no high-or-higher advisories, pnpm install --frozen-lockfile is clean, and test/package-manager-config.test.ts plus test/scripts/pnpm-audit-prod.test.ts pass. Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix(config,deps): fix CI fallout from zod 4.4.3 -> 4.6.7 security bump Two checks went red after the zod bump landed: - checks-node-core-runtime-infra-process: zod 4.6.7's toJSONSchema() now collapses a union of two-or-more bare primitive types (e.g. z.union([z.string(), z.number()])) into the compact `type: ["string", "number"]` JSON Schema shorthand instead of `anyOf`. config-form union handling (Control UI and CLI form renderers) only recognizes `anyOf`/ `oneOf` as a multi-type field, so fields like meta.lastTouchedAt, sandbox.docker.memory, and memorySwap would silently collapse to their first listed type in the UI, losing the other accepted type. Added expandMultiTypeUnions() in schema-base.ts to expand that shorthand back into an equivalent anyOf before it reaches any consumer. The common `[T, "null"]` nullable shape (exactly one non-null type) is left untouched -- that's already handled directly by existing nullable checks. - checks-node-core-tooling: zod's own package added 21 new exports (14 callable) between 4.4.3 and 4.6.7, all surfaced through src/plugin-sdk/zod.ts's `export * from "zod"` wildcard re-export. This pushed the plugin SDK surface past its hardcoded budgets in scripts/plugin-sdk-surface-report.mjs. Re-measured and bumped the affected budgets (publicExports, publicFunctionExports, publicDeprecatedExports, and the zod per-entrypoint deprecated budget) to the new real counts, following the same re-measure-and-bump pattern already documented in that file for the prior upstream-merge surface change. Verified: src/config/schema.base.generated.test.ts (6/6), all of src/config/ (161 files / 2018 tests), test/scripts/plugin-sdk-surface- report.test.ts (7/7), ui/src/ui/views/config-form* suite, and node scripts/plugin-sdk-surface-report.mjs --check now exits 0. Co-Authored-By: Claude Sonnet 5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5 <[email protected]>
convyusboy
added a commit
that referenced
this pull request
Oct 26, 2026
* chore(release): bump version 2026.6.35-boon.1 -> 2026.6.35-boon.2 Cuts the fork release covering the 9 PRs merged to boon since v2026.6.35-boon.1: #298 (ENG-21265) stuck-generation cut-off retry + sub-agent spawn backstop, #299 workspaceDir threading through outbound channel media adapters, #304 (ENG-19208) real inbound media path in the system prompt, #301 (ENG-21585) forced sessions_yield on narrated sub-agent turns, #305 message-tool source reply observed outside message_tool_only, #306 (ENG-19103) reasoning-stream callbacks honor message_tool_only, #303 sub-agent/completion-turn usage attribution, #302 clears 7 high-severity pnpm-audit-prod advisories, #300 (ENG-21588) boon-estimation trajectory label detail. Bump root package.json/npm-shrinkwrap.json, all bundled plugin manifests, and the version + openclaw peer floor in every extension npm-shrinkwrap.json. Add the 2026.6.35-boon.2 CHANGELOG.md section. No additional dependency or source changes beyond what already shipped in #299 and #302. Co-Authored-By: Claude Sonnet 5 <[email protected]> * docs(changelog): fold PR #309's advisory fixes into the 2026.6.35-boon.2 entry --------- Co-authored-by: Claude Sonnet 5 <[email protected]>
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.
What Problem This Solves
CI's
security-fastjob (pnpm-audit-prod) was failing with 7 high-severity advisories in production dependencies, blocking every open PR, not just one branch's diff. Two of the flagged packages already hadpnpm-workspace.yamloverrides, but those overrides were themselves pinned to vulnerable versions.Why This Change Was Made
@modelcontextprotocol/sdk1.31.0(direct dep in root +extensions/browser,extensions/codex-supervisor,extensions/qa-lab) — GHSA-22jm-h49p-29qw, GHSA-46jr-4wx8-v453 → bumped to1.32.1.follow-redirectsoverride was1.16.0, inside the vulnerable range — GHSA-q3jh-wrc6-jgq8, GHSA-8r9p-f939-6h3c → bumped to1.16.1.viteoverride was8.0.16, also inside the vulnerable range — GHSA-587h-7wmj-h5pm → bumped to8.1.6.markdown-ithad no override and resolved to14.3.1— GHSA-gfr2-rv44-r23c, GHSA-r7fv-28h4-cvq7 → added override at14.3.3(stays on the 14.x line, no major bump).pnpm-lock.yamlregenerated viapnpm install --no-frozen-lockfile.User Impact
No behavior change for users; this only moves transitive/direct dependency versions to patched releases to keep CI green and close real advisories in shipped production dependencies.
Evidence
Re-ran the exact
security-fastaudit step locally after the bump:Original failure (for reference), from the
ridho/eng-21588-boon-estimation-fee-loaded-labelbranch'ssecurity-fastrun against this same base commit (8384739): https://github.com/getboon/openclaw/actions/runs/39550295764/job/119058123537Confirmed a separate
deps:shrinkwrap:changed:checkwarning about@sentry/node's nested@opentelemetry/resources/@opentelemetry/sdk-trace-baseversions is pre-existing drift, unrelated to this change (reproduces identically against the unmodified base commit) and out of scope here.🤖 Generated with Claude Code
Summary by cubic
Clears the 7 high-severity production dependency advisories that were failing the
security-fastCI job and blocking every open PR. This bumps dependency versions to patched releases; no user-facing behavior changes.Dependency Updates
@modelcontextprotocol/sdkfrom1.31.0to1.32.1in the root and the browser, codex-supervisor, qa-lab, and acpx extensions (the last via@zed-industries/codex-acp's transitive range).follow-redirectsoverride to1.16.1and theviteoverride to8.1.6; both were pinned to versions inside the vulnerable ranges.markdown-itoverride at14.3.3(previously resolved to vulnerable14.3.1); stays on the 14.x line.markdown-itpins in ui, markdown-core, oc-path, and matrix, plus the directvitepin in ui, so npm-installed users get the fixes too.pnpm-lock.yamland the root, acpx, feishu, matrix, msteams, and slacknpm-shrinkwrap.jsonfiles.Verification
pnpm-audit-prod.mjs --audit-level=highreports no high or higher advisories.pnpm install --frozen-lockfileis clean andtest/package-manager-config.test.tspasses.@opentelemetryentries to the lock graph's 2.11.0 versions so they don't drift from the pnpm lock.Written for commit b0ad2e2. Summary will update on new commits.