Skip to content

chore(deps): patch zod, Sentry, DOMPurify and toml advisories - #6430

Merged
OmarMcAdam merged 2 commits into
devfrom
chore/dependabot-security-261023
Oct 23, 2026
Merged

OmarMcAdam merged 2 commits into
devfrom
chore/dependabot-security-261023

Conversation

@OmarMcAdam

@OmarMcAdam OmarMcAdam commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

What is this about?

Patches the open Dependabot security alerts that #6416 (Next.js) does not cover: zod, @sentry/nextjs, DOMPurify, toml, ip-address and @vitest/mocker.

What problem does it solve?

Dependabot reports critical and high advisories for these packages (Sentry tunnel middleware bypass, DOMPurify sanitizer bypasses, zod/toml/ip-address denial of service, Vitest mock injection). Its own PRs (#6423, #6426) fail CI because their lockfiles break minimumReleaseAge, and they also bump Next.js, which overlaps #6416.

What was the situation before?

39 open Dependabot alerts. Both Dependabot PRs were red on install.

How is this implemented?

  • zod moves to ^4.6.6 in every manifest, plus a zod@<4.6.6 override for transitive copies. den-admin-mcp and openwork-ui-mcp move from zod 3 to 4. z.record(value) becomes z.record(z.string(), value) so it works on zod 4.
  • @sentry/nextjs 10.64.0 → 10.75.2 in den-web. dompurify goes to ^3.4.17, with its override raised to match.
  • New overrides: toml@<5.0.1 (pulled in by effect) and ip-address 10.7.4.
  • evals: vitest and @vitest/coverage-v8 move to 4.1.12, plus a zod override for Remotion's pinned 4.4.3.
  • .opencode/package-lock.json: zod 4.6.6, toml 5.0.1. The lockfile was regenerated with npm, using overrides only for that run.

What else changed?

  • Regenerated packages/docs/openapi.json for zod 4.6: nullable unions are now written as type arrays, and date-time patterns require seconds (RFC 3339). Den API inputs like 2026-09-03T17:00+02:00 are now rejected; …T17:00:00+02:00 still works.

Release note

none

Evidence

No E2E; typecheck, unit tests and the existing core journeys only. I checked a zod-4 MCP tool schema with an in-memory MCP client.

@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Oct 23, 2026 10:15pm UTC
openwork-den Ready Ready Preview Oct 23, 2026 10:15pm UTC
openwork-diagnostics Ready Ready Preview Oct 23, 2026 10:15pm UTC
openwork-landing Ready Ready Preview, v0 Oct 23, 2026 10:15pm UTC

Request Review

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

OpenWork evidence

Status Commit Preview Updated
🟢 Ready · evidence passed f5e5682 Open preview 2026-10-23 22:24:51 UTC

Run details · Open the preview to inspect evidence and sandbox options.

diff-warden[bot]
diff-warden Bot previously approved these changes Oct 23, 2026

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Warden clearance. Complete security and confidentiality review of 72de9d60e090161ead86f6ef002e54b600139a5e found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run

@diff-warden

diff-warden Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Warden: approved

No high or medium security findings and no confidentiality findings.

Reviewed f5e5682eab4d · Warden run · Updates after every Warden run.

@github-actions
github-actions Bot temporarily deployed to Evidence / PR 6430 October 23, 2026 19:43 Inactive
@mintlify

mintlify Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
differentai 🟢 Ready View Preview Oct 23, 2026, 10:13 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

diff-warden[bot]
diff-warden Bot previously approved these changes Oct 23, 2026

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Warden clearance. Complete security and confidentiality review of baf02cf51b3b73df11d4cc81ec934063969343c1 found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run

diff-warden[bot]
diff-warden Bot previously approved these changes Oct 23, 2026

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Warden clearance. Complete security and confidentiality review of 2b32e8fd81ebc2613c382feab75a005abe4e13f0 found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run

…t advisories

Bumps zod to 4.6.6 everywhere (including the two MCP servers still on
zod 3), @sentry/nextjs to 10.75.2, dompurify to 3.4.17, and pins toml
5.0.1 and ip-address 10.7.4 through overrides. Evals move to vitest
4.1.12. The .opencode npm lockfile picks up the patched zod and toml.

Next.js is handled separately in #6416.
zod 4.6 emits nullable unions as type arrays and requires seconds in
ISO date-time patterns (RFC 3339).

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Warden clearance. Complete security and confidentiality review of f5e5682eab4d3687c06adbbfe411f5472701f8e2 found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run

@OmarMcAdam
OmarMcAdam merged commit b9b9052 into dev Oct 23, 2026
53 checks passed
reachjalil added a commit that referenced this pull request Oct 24, 2026
…date (#6457)

A dependency bump (#6430) changed a package the desktop guest bundles, so
the runner deployed from that push expected a new desktop identity while
CELLD_RUNNER_VARS still named the old snapshot. Every computer then
reported out of date, and rebuilding one could not help: a rebuild starts
again from that same snapshot.

The deploy now compares the snapshot slug (named after the guest identity
by snapshot:build:freestyle-desktop) with the identity it just built, and
stops before the fleet changes when they differ.

Signed-off-by: Jalil <reachjalil@gmail.com>

This branch was successfully deployed

6 active and 1 inactive deployments
Evidence / PR 6430 — f5e5682e Deployed Oct 23, 2026 by github-actions[bot]
Preview – openwork-den — f5e5682e Deployed Oct 23, 2026 by vercel[bot]
Preview – openwork-landing — f5e5682e Deployed Oct 23, 2026 by vercel[bot]
Preview – openwork-app — f5e5682e Deployed Oct 23, 2026 by vercel[bot]
Preview – openwork-diagnostics — f5e5682e Deployed Oct 23, 2026 by vercel[bot]
staging - packages/docs — f5e5682e Deployed Oct 23, 2026 by mintlify[bot]
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.

1 participant