feat(analytics): add sanitized origin to sentinel metadata#39765
Merged
rarquevaux merged 2 commits intomainfrom Feb 5, 2026
Merged
feat(analytics): add sanitized origin to sentinel metadata#39765rarquevaux merged 2 commits intomainfrom
rarquevaux merged 2 commits intomainfrom
Conversation
Contributor
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
94d7691 to
c9c738f
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Contributor
✨ Files requiring CODEOWNER review ✨💸 @MetaMask/transactions (3 files, +71 -1)
|
Contributor
Builds ready [c9c738f]
UI Startup Metrics (1368 ± 99 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs
|
nthpool
approved these changes
Feb 4, 2026
Contributor
Builds ready [11196df]
UI Startup Metrics (1342 ± 112 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs
|
dan437
approved these changes
Feb 5, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Add sanitized origin to sentinel metadata
Description
Changelog
CHANGELOG entry: Add sanitized origin to sentinel metadata
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Adds a new
originfield to transaction/relay metadata and bumps@metamask/smart-transactions-controller, which could affect downstream analytics or any service expecting the prior metadata shape. Logic is small and guarded, but touches smart-transaction submission paths.Overview
Adds
sanitizeOriginand uses it to attach a privacy-preservingoriginvalue (URL hostname only, otherwise unchanged) to metadata sent with smart transaction submissions (single + batch) and EIP-7702 relay requests.Includes unit tests for origin sanitization behavior and bumps
@metamask/smart-transactions-controllerfrom^22.3.0to^22.4.0.Written by Cursor Bugbot for commit 11196df. This will update automatically on new commits. Configure here.