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

chore: cannot have both info and external_menu

Public commit record

What the developer wrote

Authored by Ioan Bizău

80/100 · Strong
chore: cannot have both info and external_menu

* we already have this assertion in Eckhart, but it somehow slipped from Delizia
* also, `debug_assert!` is currently not used so it should really be a `NotImplementedError`

[no changelog]
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit is a small defensive cleanup in Trezor's user-interface code. It adds a runtime check that prevents two UI features—'info' and 'external_menu'—from being used at the same time, because that combination is not implemented. It also removes two places in Python code that accidentally passed both flags together. The change makes a previously silent debug-only assertion into an explicit error, which helps avoid unexpected UI behavior rather than fixing an active security vulnerability.

Recommended action

Treat as a routine defensive fix. Review whether any other UI layouts or callers combine `info` and `external_menu`, and ensure the runtime error is handled gracefully by callers. No urgent security response is indicated by the commit itself.

Security signals we found

01

Defensive invariant enforcement (info and external_menu are mutually exclusive)

02

Replacement of debug-only assertion with runtime error

03

Removal of conflicting parameter usage in Python callers

04

No changelog entry, consistent with internal chore/cleanup

Risk score

Why this scored 30/100

Our methodology →
Potential impact 5/30
Exploitability 5/25
Stealth signal 5/15
Affected reach 5/15
Confidence 7/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.