Repository navigation
fix(deps): clear fast-uri and nodemailer release gate advisories - #136700
Conversation
Resolve GHSA-58mr-gqgx-xq4g and GHSA-qw65-cvwx-89v3 with fast-uri 4.1.4 in the product graph and 3.1.7 in the pinned Vercel CLI. Refresh the materializer's lock SHA without changing the CLI version. Resolve GHSA-2x7j-588g-ccc2 with Nodemailer 9.1.1. mailauth 5.0.2 and mailparser 3.9.15 pin 9.0.4 and 9.0.5 exactly, so scope the overrides to those parents. Verify their shared addressparser contract. Exclude only [email protected] and [email protected] from the strict seven-day release cooldown. Remove the exclusions after 2026-09-09 and 2026-09-08 respectively. No vulnerability policy exception. Proof commands: - pnpm install - npm --prefix .github/release/vercel-cli install --package-lock-only --ignore-scripts --no-audit --no-fund (workflow-pinned Node 24.19.0 / npm 11.17.0) - bash scripts/materialize-vercel-cli.sh "$PWD/.github/release/vercel-cli" "$PWD/.local/rel-deps/vercel-cli-node24" (same pinned toolchain; real npm ci and checksum/integrity checks) - OPENCLAW_VITEST_MAX_WORKERS=4 pnpm test test/scripts/vercel-container-registry-publish.test.ts - GH_TOKEN=$(gh auth token) node --import ./scripts/tsx.mjs scripts/dependency-vulnerability-gate.mts -- --root "$PWD" --json /tmp/vuln-gate.json --markdown /tmp/vuln-gate.md - pnpm deps:npm-lock:check - pnpm check:changed - OPENCLAW_VITEST_MAX_WORKERS=4 pnpm test extensions/imap - node .local/nodemailer-contract/probe.cjs - .agents/skills/autoreview/scripts/autoreview --mode local --max-priority P2 --prompt-file .local/rel-deps/review-context.md --dataset .local/rel-deps/review-evidence.txt - git diff --check Gate: 2045 resolved versions, 0 hard blockers, 8 total advisories; public upstream coverage partial (981/1020 repositories fully read). This is not comprehensive vulnerability clearance. Compatibility probes use synthetic mail and DNS fixtures, not a live mailbox. Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. |
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, a member of
Security review is still recommended before merge when the dependency graph change is intentional. |
|
Codex review: blocked before merge. Reviewed September 2, 2026, 6:53 PM ET / 22:53 UTC. ClawSweeper reviewWhat this changesThis PR updates fast-uri and Nodemailer resolutions, adds temporary exact release-age exclusions, and refreshes the locked Vercel CLI checksum to clear dependency advisories. Merge readiness⛔ Blocked before merge - 4 items remain No introduced correctness defect was found in this focused dependency update. Keep this maintainer-owned, security-sensitive PR open for one direct upstream compatibility check that this reviewer could not perform because outbound GitHub access failed. Priority: P2 Review scores
Verification
How this fits togetherWorkspace dependency policy selects the product’s resolved packages, including the IMAP plugin’s mail parser and sender-authenticator dependencies. A separate locked Vercel CLI graph is materialized and checksum-verified before release automation uses credentials. flowchart LR
A[Workspace dependency policy] --> B[Product lockfile]
B --> C[IMAP mail parsing and sender authentication]
D[Vercel CLI manifest] --> E[Locked release tool]
E --> F[Checksum verification]
C --> G[Dependency vulnerability gate]
F --> H[Release automation]
G --> H
Before merge
Findings
Agent review detailsSecurityNeeds attention: The diff introduces no new execution route, and the Vercel materializer retains lock and lifecycle-script protections, but upstream compatibility of the forced IMAP dependency update could not be independently verified. PR surfaceConfig +7, Other -4. Total +3 across 5 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the narrow, parent-qualified overrides and temporary exact cooldown exclusions after a maintainer directly confirms the upstream package compatibility contract for the IMAP mail path. Do we have a high-confidence way to reproduce the issue? No independent current-main gate run was performed. Source confirms current main still resolves the listed older versions, but the online advisory result could not be reproduced while network access was unavailable. Is this the best way to solve the issue? Unclear: the scoped overrides and checksum update are the narrowest apparent repair, but direct upstream source/API inspection for the forced Nodemailer resolution remains unavailable. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 7818c524d350. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
…nclaw#136700) Resolve GHSA-58mr-gqgx-xq4g and GHSA-qw65-cvwx-89v3 with fast-uri 4.1.4 in the product graph and 3.1.7 in the pinned Vercel CLI. Refresh the materializer's lock SHA without changing the CLI version. Resolve GHSA-2x7j-588g-ccc2 with Nodemailer 9.1.1. mailauth 5.0.2 and mailparser 3.9.15 pin 9.0.4 and 9.0.5 exactly, so scope the overrides to those parents. Verify their shared addressparser contract. Exclude only [email protected] and [email protected] from the strict seven-day release cooldown. Remove the exclusions after 2026-09-09 and 2026-09-08 respectively. No vulnerability policy exception. Proof commands: - pnpm install - npm --prefix .github/release/vercel-cli install --package-lock-only --ignore-scripts --no-audit --no-fund (workflow-pinned Node 24.19.0 / npm 11.17.0) - bash scripts/materialize-vercel-cli.sh "$PWD/.github/release/vercel-cli" "$PWD/.local/rel-deps/vercel-cli-node24" (same pinned toolchain; real npm ci and checksum/integrity checks) - OPENCLAW_VITEST_MAX_WORKERS=4 pnpm test test/scripts/vercel-container-registry-publish.test.ts - GH_TOKEN=$(gh auth token) node --import ./scripts/tsx.mjs scripts/dependency-vulnerability-gate.mts -- --root "$PWD" --json /tmp/vuln-gate.json --markdown /tmp/vuln-gate.md - pnpm deps:npm-lock:check - pnpm check:changed - OPENCLAW_VITEST_MAX_WORKERS=4 pnpm test extensions/imap - node .local/nodemailer-contract/probe.cjs - .agents/skills/autoreview/scripts/autoreview --mode local --max-priority P2 --prompt-file .local/rel-deps/review-context.md --dataset .local/rel-deps/review-evidence.txt - git diff --check Gate: 2045 resolved versions, 0 hard blockers, 8 total advisories; public upstream coverage partial (981/1020 repositories fully read). This is not comprehensive vulnerability clearance. Compatibility probes use synthetic mail and DNS fixtures, not a live mailbox. Co-authored-by: Claude Fable 5.1 <[email protected]>
What Problem This Solves
Resolves a problem where Full Release Validation cannot pass “Check npm dependencies” because the product and pinned Vercel release-tool dependency graphs contain vulnerable fast-uri and Nodemailer versions. The failing release job reports five HIGH hard blockers.
Why This Change Was Made
Update the existing product fast-uri override from 4.1.3 to 4.1.4 and the Vercel CLI's fast-uri resolution from 3.1.6 to 3.1.7 for GHSA-58mr-gqgx-xq4g and GHSA-qw65-cvwx-89v3. Keep [email protected] and [email protected] pinned, retain the other overrides/integrity checks, and refresh the materializer's whole-lock SHA-256.
For GHSA-2x7j-588g-ccc2, [email protected] and [email protected] pin Nodemailer exactly to 9.0.4 and 9.0.5: 9.1.1 is outside both declared ranges. Two exact-parent overrides are the narrowest repair without updating unrelated parent dependencies. Direct source inspection and installed compatibility probes verify their shared
nodemailer/lib/addressparsercontract, including actual mail parsing and DKIM/DMARC authentication.Keep
minimumReleaseAge: 10080and strict enforcement unchanged. Add only exact-version security-fix exclusions:[email protected], remove after 2026-09-09;[email protected], remove after 2026-09-08. These are cooldown exceptions, not vulnerability-gate exceptions. No gate policy, runtime code, plugin configuration, or changelog changes.User Impact
Release maintainers can clear these five dependency blockers. IMAP mail processing uses the patched address parser, and URI handling rejects the malformed hosts/ports covered by the upstream fixes. No operator configuration or migration is required. Vercel remains a separate release-tool graph; its findings do not imply product runtime exposure.
Evidence
Before: the linked release job reports five hard blockers. After, the authenticated local scan reports:
Validation:
pnpm install— passed; semantic lock comparison confirms unchanged workspace importers and no unrelated dependency updates.npm install --package-lock-only --ignore-scripts --no-audit --no-fundfrom.github/release/vercel-cli; the only npm-lock entry changed isnode_modules/fast-uri.bash scripts/materialize-vercel-cli.sh "$PWD/.github/release/vercel-cli" "$PWD/.local/rel-deps/vercel-cli-node24"with the same pinned toolchain — passed; realnpm ci, CLI/sandbox executables, version/integrity/checksum checks, andvercel --version(59.5.0).OPENCLAW_VITEST_MAX_WORKERS=4 pnpm test test/scripts/vercel-container-registry-publish.test.ts— 18 tests passed.GH_TOKEN=$(gh auth token) node --import ./scripts/tsx.mjs scripts/dependency-vulnerability-gate.mts -- --root "$PWD" --json /tmp/vuln-gate.json --markdown /tmp/vuln-gate.md— passed, summary above.pnpm deps:npm-lock:check— all 94 transient npm locks validated.pnpm check:changed— passed, including all typecheck/lint lanes and runtime import-cycle checks.OPENCLAW_VITEST_MAX_WORKERS=4 pnpm test extensions/imap— 53 tests passed in five files.simpleParser; realauthenticateDMARC none/temperror/pass and synthetic RSA DKIM signing/verification. Both patched fast-uri lines reject malformed brackets and injected ports while preserving valid IPv6/ports; the worktree's AJV compiles and validates relative schema references with 4.1.4.git diff --checkpassed.After the rebase,
OPENCLAW_VITEST_MAX_WORKERS=4 pnpm test test/scripts/vercel-container-registry-publish.test.ts extensions/imappassed both shards again (18 Vercel + 53 IMAP tests) once38a7dbbb2022918ce00a54df898bde021453bc.The final mechanical rebase onto current
mainpreserved the reviewed patch byte-for-byte; both dependency lock inputs, the advisory gate source, and the IMAP surface are unchanged from the locally validated commit.Scope: five files; runtime production LOC delta 0, test LOC delta 0. The pnpm lock changes only fast-uri/Nodemailer overrides, resolutions, and dependent snapshot references; two Nodemailer resolutions consolidate to one. Vercel lock SHA-256:
e0dfc23d8bc7d5739dd25b70359a0db456099a2bda4914223136e094e3d7bede. No Bun lock or relevant dependency patches exist.Limitations: upstream advisory coverage remains partial (550 reported coverage issues); zero blockers is not comprehensive vulnerability clearance. No live mailbox/SMTP transport, full upstream package suites, or full release validation rerun was performed. The synthetic authentication probe uses local DNS fixtures, not live DNS. Follow-up: remove the exact cooldown exclusions after the dates above; unrelated upstream mailauth signing-type/runtime mismatch was observed only in the synthetic signing helper, not OpenClaw's
authenticatepath.🤖 Generated with Claude Code