Skip to content

Harden deploy preview trust boundary - #60

Draft
magicmark wants to merge 10 commits into
graphql:magicmark-patch-6from
magicmark:fix/pr40-preview-security
Draft

Harden deploy preview trust boundary#60
magicmark wants to merge 10 commits into
graphql:magicmark-patch-6from
magicmark:fix/pr40-preview-security

Conversation

@magicmark

@magicmark magicmark commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

PR #40's privileged deploy path currently treats fork branch names as shell source and identifies pull requests by branch name alone, which lets untrusted input cross into the secret-bearing job.

This stack resolves pull requests using repository, branch, SHA, and base identity; rejects stale, ambiguous, and deployment-config artifacts; serializes deploys; and pins an exact Wrangler version. The focused regression coverage includes a Git-valid branch name containing shell metacharacters and now runs in the normal repository validation workflow.

Draft PR: This PR was sent by Claude and may not have yet been reviewed by mark.

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