Skip to content

Backport #5612: fix: redact private Workflow backend URLs from CI diagnostics - #5617

Merged
VaguelySerious merged 1 commit into
stablefrom
backport/pr-5612-to-stable
Nov 19, 2026
Merged

VaguelySerious merged 1 commit into
stablefrom
backport/pr-5612-to-stable

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated backport of #5612 to stable (backport job run).

AI recommendation: This is a security fix that stops the private backend URL from leaking through debug curl output and CI failure reports. stable has the same vulnerable code: logCurlRepro in packages/world-vercel/src/http-core.ts strips only the authorization header while x-vercel-workflow-api-url is still set, and packages/core/e2e/utils.ts still passes --verbose and DEBUG: '1' and echoes raw subprocess output.

Merge conflicts were resolved by AI (opencode with anthropic/claude-opus-5.5). Please review the conflict resolution carefully before merging.

Strip `x-vercel-workflow-api-url` alongside authorization from curl
diagnostics, and stop enabling DEBUG/verbose output for E2E CLI calls.
Sanitize the configured private backend URL from complete captured
stdout/stderr before logging or returning them, including URLs split
across subprocess chunks, so serialized errors cannot retain it.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
example-nextjs-workflow-turbopack Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
example-nextjs-workflow-webpack Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
example-workflow Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
workbench-astro-workflow Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
workbench-express-workflow Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
workbench-fastify-workflow Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
workbench-hono-workflow Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
workbench-nestjs-workflow Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
workbench-nitro-workflow Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
workbench-nuxt-workflow Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
workbench-python-workflow Error Error v0 Nov 19, 2026 6:15pm UTC
workbench-sveltekit-workflow Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
workbench-tanstack-start-workflow Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
workbench-vite-workflow Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
workflow-docs Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
workflow-swc-playground Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
workflow-tarballs Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC
workflow-web Ready Ready Preview, v0 Nov 19, 2026 6:15pm UTC

@changeset-bot

changeset-bot Bot commented Nov 19, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 119a904

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 17 packages
Name Type
@workflow/world-vercel Patch
@workflow/core Patch
@workflow/cli Patch
@workflow/web Patch
@workflow/builders Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/vitest Patch
@workflow/web-shared Patch
workflow Patch
@workflow/world-testing Patch
@workflow/astro Patch
@workflow/nest Patch
@workflow/rollup Patch
@workflow/sveltekit Patch
@workflow/vite Patch
@workflow/nuxt Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@VaguelySerious
VaguelySerious merged commit ad3cc9e into stable Nov 19, 2026
24 of 25 checks passed
@VaguelySerious
VaguelySerious deleted the backport/pr-5612-to-stable branch November 19, 2026 18:48

This branch was successfully deployed

1 active deployment
Preview – workflow-docs — 119a904c Deployed Nov 19, 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