AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Low 38 Bitcoin

fix(core/ethereum): fix SLIP-24 payment request for ERC-20 tokens

Public commit record

What the developer wrote

Authored by Roman Zeyde

62/100 · Adequate
fix(core/ethereum): fix SLIP-24 payment request for ERC-20 tokens
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
The short version

What changed, and why it matters

This commit fixes a bug in the Trezor hardware wallet's Ethereum transaction signing flow. When using SLIP-24 payment requests with ERC-20 token transfers, the device could incorrectly skip the user-confirmation step for the transaction details. The fix ensures that 'clear signing' mode (which bypasses some confirmations) is checked before the payment-request path, so users still see and approve the token transfer details.

Recommended action

Review the full `confirm_tx_data` function and related payment-request tests to ensure no other token-specific fields are mishandled. Add regression tests for ERC-20 token transfers with SLIP-24 payment requests. Verify that the fix does not suppress legitimate confirmations in non-payment-request clear-signing scenarios.

Security signals we found

01

User confirmation bypass for ERC-20 token transfers when combined with SLIP-24 payment requests

02

Control-flow reordering in transaction signing path

03

Potential mismatch between transaction type and confirmation screen shown to user

Risk score

Why this scored 38/100

Our methodology →
Potential impact 8/30
Exploitability 7/25
Stealth signal 6/15
Affected reach 8/15
Confidence 6/10
Evidence quality 3/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.