Skip to content

Message Signing Warning#846

Draft
odudex wants to merge 1 commit intoselfcustody:developfrom
odudex:message_warning
Draft

Message Signing Warning#846
odudex wants to merge 1 commit intoselfcustody:developfrom
odudex:message_warning

Conversation

@odudex
Copy link
Copy Markdown
Member

@odudex odudex commented Mar 30, 2026

What is this PR for?

Add a warning screen when the input is a raw 32-byte hash or 64-char hex string, alerting the user before signing. This mitigates the risk of an attacker submitting a transaction sighash disguised as a message. Fixes C3 of #843

Changes made to:

  • Code
  • Tests
  • Docs
  • CHANGELOG

Did you build the code and tested on device?

  • Yes, build and tested on Amigo

What is the purpose of this pull request?

  • Bug fix
  • New feature
  • Docs update
  • Other

@odudex odudex changed the base branch from main to develop March 30, 2026 20:03
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.30%. Comparing base (e531811) to head (fa8e22f).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #846      +/-   ##
===========================================
- Coverage    97.31%   97.30%   -0.01%     
===========================================
  Files           83       83              
  Lines        10581    10586       +5     
===========================================
+ Hits         10297    10301       +4     
- Misses         284      285       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Add a warning screen when the input is a raw 32-byte hash or 64-char hex string, alerting the user before signing. This mitigates the risk of an attacker submitting a transaction sighash disguised as a message. Fixes C3 of selfcustody#843
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