feat: incoming mesage origin validation for web - #474
Merged
tiagocandido merged 4 commits intoAug 3, 2026
Conversation
Contributor
Author
This was referenced Jul 15, 2026
tiagocandido
force-pushed
the
07-15-feat_incoming_mesage_origin_validation_for_web
branch
from
July 31, 2026 11:43
44efc78 to
6c5a9ad
Compare
tiagocandido
changed the base branch from
main
to
kieran-osgood/e2e-checkout-hardcoded-buyer-identity
July 31, 2026 11:45
tiagocandido
marked this pull request as ready for review
July 31, 2026 11:49
Package Size
Web file breakdown
Measured from the PR base SHA and PR head SHA. The file breakdown shows uncompressed sizes within each package artifact, so individual files do not sum to the compressed artifact total. This comment reports package artifact sizes only; it is not a final app binary-size report. |
tiagocandido
force-pushed
the
kieran-osgood/e2e-checkout-hardcoded-buyer-identity
branch
from
August 3, 2026 12:12
4538a43 to
ec85833
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_mesage_origin_validation_for_web
branch
from
August 3, 2026 12:12
6d7f99f to
73497e5
Compare
tiagocandido
force-pushed
the
kieran-osgood/e2e-checkout-hardcoded-buyer-identity
branch
from
August 3, 2026 14:42
ec85833 to
200f651
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_mesage_origin_validation_for_web
branch
from
August 3, 2026 14:42
73497e5 to
081459d
Compare
This was referenced Aug 3, 2026
kiftio
approved these changes
Aug 3, 2026
tiagocandido
changed the base branch from
kieran-osgood/e2e-checkout-hardcoded-buyer-identity
to
graphite-base/474
August 3, 2026 15:40
tiagocandido
force-pushed
the
graphite-base/474
branch
from
August 3, 2026 15:40
200f651 to
29e1b84
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_mesage_origin_validation_for_web
branch
from
August 3, 2026 15:40
081459d to
1c51e83
Compare
Assisted-By: devx/b6c5d227-73eb-46ef-8749-52f1bd6779d2
tiagocandido
approved these changes
Aug 3, 2026
tiagocandido
deleted the
07-15-feat_incoming_mesage_origin_validation_for_web
branch
August 3, 2026 16:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What changes are you making?
Validate incoming checkout messages against the checkout URL origin,
shop.app, and optional exact or wildcard origins configured throughallowed-origins/allowedOrigins.Rejected messages are surfaced through
onMessageRejected. Origin parsing normalizes default ports and works in browsers withoutURL.canParse.How to test
From
platforms/web:pnpm lint pnpm test