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

fix(core/eckhart): correct res confirm_with_menu

Public commit record

What the developer wrote

Authored by obrusvit

72/100 · Adequate
fix(core/eckhart): correct res confirm_with_menu

- if we do not use extra menu item which should return `INFO`, we should
correctly return `CANCELLED`
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
The short version

What changed, and why it matters

This commit fixes a UI flow bug in the Trezor hardware wallet's 'Eckhart' layout. Previously, when a user opened a menu during a confirmation screen and chose an item, the wrong internal signal could be sent: the first menu item was always treated as 'Info' and the second as 'Cancel', even if the menu only contained a cancel option. The fix tracks which menu items actually exist and maps the user's selection to the correct result (Info or Cancel).

Recommended action

Treat as a low-to-moderate UI correctness fix. Review related Eckhart confirmation flows for similar hardcoded index assumptions, and verify that the fixed behavior is covered by device tests before release.

Security signals we found

01

UI state-machine logic error

02

Incorrect mapping of user menu selection to flow result

03

Potential unintended confirmation path if cancel is misread as info

04

Fix hardcodes menu item semantics and tracks them dynamically

Risk score

Why this scored 44/100

Our methodology →
Potential impact 12/30
Exploitability 8/25
Stealth signal 7/15
Affected reach 6/15
Confidence 7/10
Evidence quality 4/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.