Repository navigation
fix(deps): update nanoid past denial-of-service advisory - #120368
Conversation
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. |
|
Coordinator authorization note: this dependency change is approved under the operator's standing directive as the smallest critical main-owned blocker fix — a patch-level bump of |
|
Applied the exact-head ClawSweeper rank-up moves for
The reviewed head is unchanged, so no redundant re-review was requested. |
Co-authored-by: Copilot <[email protected]>
What Problem This Solves
Resolves a problem where required CI and downstream exact-head deployments were blocked by the newly updated HIGH NanoID advisory GHSA-2v37-7h3g-55p8. The production lock graph resolved
[email protected], whose custom generators can loop indefinitely for nonpositive sizes.The reachable graph is
@openclaw/qa-lab→@copilotkit/[email protected]→ optional peer[email protected]→[email protected]→[email protected]→[email protected].node-llama-cppis unaffected here; it resolves the already-safe NanoID 5.x line.Why This Change Was Made
The committed product lock now resolves PostCSS's declared
nanoid@^3.3.16range to3.3.18. This version completes the advisory repair for the React Native async entrypoint that3.3.17missed, while retaining the same Node engine contract.Because
3.3.18is intentionally fresh, its exact reviewed version is admitted throughminimumReleaseAgeExclude; the global 48-hour policy remains unchanged. This does not suppress the audit, reclassify runtime dependencies, or add a long-lived override.User Impact
Required security CI can pass again, and supported NanoID 3.x generator entrypoints terminate for zero or negative sizes. There is no OpenClaw API or configuration change.
Evidence
fb0812c857ffe409947296eebd30677fef4ec211failedsecurity-faston NanoID 3.3.16: https://github.com/openclaw/openclaw/actions/runs/31221372962/job/93007745550node scripts/pre-commit/pnpm-audit-prod.mjs --audit-level=highreports no HIGH-or-higher production advisories.pnpm audit --prod --audit-level=highexits 0 (remaining findings are below HIGH).pnpm install --lockfile-only --frozen-lockfile --ignore-scriptsaccepts the lock unchanged and passes all 1,611 supply-chain policy entries.pnpm deps:npm-lock:checkvalidates all 95 transient npm package locks.node scripts/run-vitest.mjs test/package-manager-config.test.ts test/scripts/pnpm-audit-prod.test.ts— 31/31 passed.node scripts/run-vitest.mjs test/scripts/transitive-manifest-risk-report.test.ts— 10/10 passed.pnpm format:check --no-error-on-unmatched-pattern -- pnpm-lock.yaml pnpm-workspace.yamlandgit diff --checkpass.patch is correct, confidence 0.99).sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==.gitHeadis9ad98052b316c5e707f8098ace509d2ae165e54d, matching the inspected upstream release commit: ai/nanoid@9ad9805async/index.native.jsnonpositive-size guard plus README/release metadata.AI-assisted: yes (Codex). I understand and reviewed the dependency graph, upstream contract, and exact lock/config changes.