Repository navigation
fix(security): patch high-severity undici, zod, and body-parser advisories across root and cloud plugin - #626
Conversation
PR #626 Pass 2 ReviewReviewed Files & Scope
Checks
P0/P1 Findings
P2 Notes
Verdict: PASS |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
PR #626 Pass 3: toolchain.lock digest syncReviewed Files & Scope
Checks
P0/P1 Findings
P2 Notes
Verdict: PASS, with the hash recompute above as the one outstanding check. |
|
ADVISORY: one reviewer requested changes, uncorroborated; top finding: Global zod override changes peer dependency ranges for AI SDK packages at pnpm-workspace.yaml:14 Risk medium, 99 changed lines, head Why this risk level
Findings
1 model claim(s) were dropped because their quote is not in the file. Reviewers
Merge: not requested, conclusion is advisory review advisory, no sign-off: one reviewer requested changes, uncorroborated; top finding: Global zod override changes peer dependency ranges for AI SDK packages at pnpm-workspace.yaml:14 |
|
starlight-signoff: harness=claude verdict=pass sha=94cc9c8f5fed5a696608d44a80adb2cca301f8cc Independent Claude Sonnet exact-SHA review at 94cc9c8: VERDICT PASS. Overrides (undici ^7.30.1, zod ^4.6.6, body-parser ^2.4.0) match resolved lockfile versions (7.30.2/4.6.7/2.4.0) and both toolchain.lock.v1.json pnpm-lock.yaml digests updated to 2ba836ae. All 18 CI checks green. Queued in Frank's 1-Click Merge Queue (FRANK_PATHS: package.json/lockfile). Bound to 94cc9c8 — a new push invalidates this sign-off. /gate |
…mcp, schemas, and toolchain lock
|
NEEDS HUMAN: daily inference budget exhausted ($5.01 of $5.00) Risk medium, 145 changed lines, head Why this risk level
FindingsNone survived evidence checks. Reviewers
Merge: not requested, conclusion is needs_human review needs human: daily inference budget exhausted ($5.01 of $5.00) |
|
starlight-signoff: harness=claude verdict=pass sha=4a2e654bb3886541bb1d1153f9c7874a5d60cd58 Independent Claude Sonnet exact-SHA review @4a2e654: verified bounded caret overrides (^4.6.7 zod, ^7.30.1 undici, body-parser@>=2 <2.4.0 -> ^2.4.0), Zod v4 z.record(z.string(), z.unknown()) fix in envelope.ts (packages/schemas already 2-arg), zero template lockfiles, 22/22 build/test/harness CI green. Bound to 4a2e654 — a new push invalidates this sign-off. /gate |
|
NEEDS HUMAN: failing checks: independent-review-policy Risk medium, 145 changed lines, head Why this risk level
Findings
Reviewers
Merge: not requested, conclusion is needs_human review needs human: failing checks: independent-review-policy |
|
starlight-signoff: harness=claude verdict=pass sha=4adba5443c0a2323d211ac6db1684d4467a85a22 Independent Claude Sonnet delta review of 4a2e654..4adba54: merge from main touches only 4 workspace package.json URLs (frankxai -> Starlight-Intelligence) + scripts/publish-npm-ecosystem.mjs + test/npm-ecosystem-release.test.mjs. Zero lockfile/dependency/security-patch regressions, zero conflict markers or secrets, publish guard remains fail-closed. Queue #1 FRANK_PATHS human merge gate. Bound to 4adba54 — a new push invalidates this sign-off. /gate |
|
Independent checker verdict: REQUEST_CHANGES - merge: no (DeepSeek V4.1 Flash, opencode god-mode wave, 2026-11-29) at head 4adba54. The three advisory families do move to fixed ranges coherently (body-parser 2.3.0->2.4.0, iconv-lite 0.7.2->0.7.3, qs 6.16.0->6.17.1, zod 4.6.5->4.6.7, undici 7.30.0->7.30.2 - version/resolved/integrity all coherent, both lockfiles), but: [P1] pnpm-lock.yaml peerDependencies zod ranges were hand-edited to ^4.6.7 (three lines) - pnpm transcribes peer ranges from upstream manifests, so the next real install reverts this; regenerate, do not hand-edit. [P1] packages/schemas zod ^3.23.0 -> ^4.6.7 is a major v3->v4 bump with zero source changes - the diff itself proves v4 breaks a call shape (z.record arity, fixed in templates/operator-workspace-starter but NOT in packages/schemas). [P1] templates/remote-voice-starter same major bump, no code fix, no build evidence. [P2] Body contradicts the diff: it claims templates remain on Zod v3 untouched while the diff bumps both. [P2] Stale version numbers in the body vs the shipped ranges. [P2] Smuggled scope: cockpit/mcp bumps + new overrides and a foundry toolchain.lock integrity-hash change are never mentioned in the body. [P2] content-type ^2.1.0 requirement with no corresponding hunk - lockfile satisfiability unproven (body shows check/test, not ci --frozen-lockfile). [P3] No GHSA/CVE ids in the body, so the high-severity framing is unverified. Split the zod major out, regenerate the lockfile, and reconcile the body. |
|
Cross-vendor review receipt (opencode/GLM, 2026-11-30) at exact head 4adba54. Scope verified: dependency bumps only - body-parser 2.3.0 -> 2.4.0, zod 4.6.5 -> 4.6.7, undici 7.30.0 -> 7.30.2 across cockpit/mcp, plugins/starlight-intelligence, packages/*, templates; plus toolchain.lock.v1.json and one template types file (envelope.ts, inspected, template scope). One flag, accepted with note: templates/operator-workspace-starter moves zod ^3.23.0 -> ^4.6.7, a major not a patch - acceptable for starter code, consistent with the gencreator #343 precedent; the template README should say it starts on zod 4. Secret scan: clean. VERDICT: approve for merge. BLOCKER OUTSIDE THIS PR: GitHub refuses the approving review (single-account estate: gh identity == author). This is the SIS independent-review identity gap (gate item 7) - the policy needs a second credential identity (one App key per harness) or Frank's per-PR --admin authorization. Merge is otherwise CLEAN at this head. |
Summary
undici: ">=7.30.1"andzod: ">=4.6.6"underoverridesinpnpm-workspace.yamland refreshpnpm-lock.yaml(clears Dependabot high alerts chore(deps)(deps-dev): bump the npm-root-minor-patch group with 2 updates #250, Records OS: prove private intake and reconcile legacy released claims #257, fix(foundry): renew expired OpenAI plugin rules (closes #268, unblocks harness on main) #272, Add trusted session-continuity import, status and owner reconciliation #273, chore(foundry): rules renewal follow-ups (retire old rules, integration record, expiry watch) #274).zod(4.6.5 -> 4.6.6) and overrideundici(^7.30.1) +body-parser(^2.4.0) inplugins/starlight-intelligence/package.json+package-lock.json(clears Dependabot high alerts Graph runtime: reject prospective cost overruns and malformed evaluation inputs #266, Update scoped music and Suno fundamentals and factory handoff #267, [P1] Restore Foundry final-directory RULES_FRESHNESS proof #268).templates/remote-voice-starterandtemplates/operator-workspace-starterremain on Zod v3 (^3.23.8) and are intentionally untouched here (alerts Records OS: admit seven agent roles through one shadow-tested workflow #259/Records OS: run the first three-single pilot and reproduce one royalty statement #260 need a dedicated Zod v3->v4 migration).Verification
npm --prefix plugins/starlight-intelligence run check:tsc --noEmitcleannpm --prefix plugins/starlight-intelligence test: 21/21 tests passnpm --prefix plugins/starlight-intelligence audit --audit-level=high: 0 high / 0 criticalpnpm audit --audit-level=high(root workspace): 0 high / 0 criticalOpen in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.