feat: incoming message origin validation for ios - #476
Merged
tiagocandido merged 5 commits intoAug 5, 2026
Conversation
Contributor
Author
This was referenced Jul 15, 2026
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_android
branch
from
July 31, 2026 11:43
57afe11 to
825a6b0
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_ios
branch
3 times, most recently
from
July 31, 2026 13:41
f3cbfbc to
a23236f
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_android
branch
from
August 3, 2026 11:55
1b210de to
2a954f9
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_ios
branch
from
August 3, 2026 11:55
a23236f to
7a8303d
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_android
branch
from
August 3, 2026 12:12
2a954f9 to
5ae10a2
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_ios
branch
2 times, most recently
from
August 3, 2026 12:16
194c4cb to
9b666d9
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_android
branch
from
August 3, 2026 14:42
fb43646 to
d05a9dd
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_ios
branch
from
August 3, 2026 14:42
9b666d9 to
a989701
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_android
branch
from
August 3, 2026 15:40
d05a9dd to
6a1430d
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_ios
branch
from
August 3, 2026 15:40
a989701 to
3f57e0a
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_android
branch
from
August 3, 2026 15:43
6a1430d to
0470e12
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_ios
branch
from
August 3, 2026 15:43
3f57e0a to
11a49d2
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_android
branch
from
August 4, 2026 11:45
0470e12 to
bf89479
Compare
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_ios
branch
from
August 4, 2026 11:45
11a49d2 to
3c28064
Compare
Base automatically changed from
07-15-feat_incoming_message_origin_validation_for_android
to
main
August 5, 2026 10:16
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_ios
branch
from
August 5, 2026 10:27
3c28064 to
2110ba0
Compare
tiagocandido
marked this pull request as ready for review
August 5, 2026 12:00
Install this buildOpen Tophat, select your target device, then click Install. Links open on the Mac running Tophat.
Checkout Kit E2E results
|
tiagocandido
force-pushed
the
07-15-feat_incoming_message_origin_validation_for_ios
branch
from
August 5, 2026 12:44
2110ba0 to
c94b042
Compare
kiftio
approved these changes
Aug 5, 2026
tiagocandido
approved these changes
Aug 5, 2026
tiagocandido
deleted the
07-15-feat_incoming_message_origin_validation_for_ios
branch
August 5, 2026 13:31
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?
Add incoming message origin validation to Swift, including exact origins, wildcard subdomains, default-port normalization, IPv6 support, and child-frame rejection. The cart origin and
shop.appremain implicitly trusted when validation is enabled.The SDK rejects non-HTTPS checkout loads and main-frame redirects and reports rejected messages through an optional
onMessageRejectedclosure.How to test
From
platforms/swift:./Scripts/lint ./Scripts/xcode_run test ShopifyCheckoutKit-Package