Repository navigation
fix(solana): preserve original bytes when signing messages - #507
Open
notorious-d-e-v wants to merge 5 commits into
Open
notorious-d-e-v wants to merge 5 commits into
notorious-d-e-v wants to merge 5 commits into
Conversation
notorious-d-e-v
force-pushed
the
fix/solana-preserve-message-bytes
branch
from
October 23, 2026 06:23
9b7fec7 to
396b692
Compare
4 tasks done
notorious-d-e-v
force-pushed
the
fix/solana-preserve-message-bytes
branch
from
October 24, 2026 11:05
396b692 to
c374e06
Compare
This branch has not been deployed
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.
Summary
MetaMask can change binary Solana messages before signing, then return the original bytes with a signature that does not match. This signs the exact requested bytes, blocks transaction messages from message-only signing, and shows binary data accurately so applications and users can check what was signed.
Changes
Validation
mainrelease commit80b21f6; all five PR commits are SSH-signed.Review
Claude Fable 5.1 was rerun at
xhigheffort after the transaction guard and display fixes. The final read-only review found no remaining actionable P0–P3 findings. All prior findings and follow-up regressions were addressed; tests and builds were run separately by the author.References
Fixes #506. Its browser evidence independently verifies the wallet-returned signature against converted bytes rather than the returned message. The regression tests use software keys; patched-extension and payment lifecycle testing remain separate.
Checklist