Skip to content

chore(desktop): update the bundled OpenCode v1 engine to 1.18.33 - #6414

Merged
reachjalil merged 1 commit into
devfrom
chore/opencode-v1-1-18-33
Oct 23, 2026
Merged

reachjalil merged 1 commit into
devfrom
chore/opencode-v1-1-18-33

Conversation

@reachjalil

Copy link
Copy Markdown
Member

What is this about?

Update the OpenCode v1 engine bundled with the desktop app and server from 1.18.30 to 1.18.33.

What problem does it solve?

A malicious remote MCP server could put a crafted OAuth authorization_endpoint in its metadata. OpenCode passed it to open, which hands the target to a shell on Windows and WSL, so the server could run commands on a user's computer when they connected to it.

What was the situation before?

Every desktop build and openwork-server runtime still on the v1 engine used 1.18.30. That version opened any authorization URL it was given, including non-web schemes.

How is this implemented?

What else changed?

  • Also included from upstream 1.18.31–1.18.33: bugfixes only (ACP session options, Bedrock/Together usage, Gemini thinking defaults, redacted debug config, Cloudflare AI Gateway timeouts).

Release note

The desktop app now bundles OpenCode 1.18.33, which only opens web links when a remote MCP server asks you to sign in.

Evidence

No E2E; engine pin only. Release v1.18.33 has every asset prepare-sidecar.mjs downloads. The darwin-arm64 binary reports 1.18.33. node apps/server/scripts/build-opencode-plugin-deps.mjs builds opencode-plugin-deps-1.18.33.tgz and passes its portable-code check.

OpenCode 1.18.33 (anomalyco/opencode#51414) only launches http/https
URLs from its browser opener, and the MCP OAuth provider rejects any
other authorization URL before forwarding it. Before that, a remote MCP
server's `authorization_endpoint` reached `open`, which hands the target
to a shell on Windows and WSL.

The pinned OpenCode v2 engine (2.0.26) already includes the matching v2
change (anomalyco/opencode#51412), so only the v1 pin moves.

Signed-off-by: Jalil <[email protected]>
@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 6:26pm UTC
openwork-den Ready Ready Preview Oct 23, 2026 6:26pm UTC
openwork-diagnostics Ready Ready Preview Oct 23, 2026 6:26pm UTC
openwork-landing Ready Ready Preview, v0 Oct 23, 2026 6:26pm UTC

Request Review

@reachjalil
reachjalil temporarily deployed to pr-internal-specs October 23, 2026 18:25 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

OpenWork evidence

Status Commit Preview Updated
🟢 Ready · evidence passed 434e7dc Open preview 2026-10-23 18:35:19 UTC

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

@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 434e7dc05c28ea20dc327a57fa5d64fc5e8d68e2 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 434e7dc05c28 · Warden run · Updates after every Warden run.

This branch was successfully deployed

5 active and 1 inactive deployments
Evidence / PR 6414 — 434e7dc0 Deployed Oct 23, 2026 by github-actions[bot]
Preview – openwork-landing — 434e7dc0 Deployed Oct 23, 2026 by vercel[bot]
Preview – openwork-app — 434e7dc0 Deployed Oct 23, 2026 by vercel[bot]
Preview – openwork-den — 434e7dc0 Deployed Oct 23, 2026 by vercel[bot]
Preview – openwork-diagnostics — 434e7dc0 Deployed Oct 23, 2026 by vercel[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