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

Add functional test for stale review state across commands

Public commit record

What the developer wrote

Authored by Salvatore Ingala

75/100 · Adequate
Add functional test for stale review state across commands

Verified to fail on the parent of the previous commit.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification
The short version

What changed, and why it matters

This commit only adds a new automated test, plus screen snapshots used by that test. The test checks that after signing a Bitcoin transaction (PSBT), then signing a text message, the device does not accidentally reuse leftover display settings from the previous operation. The commit message says the test would have failed on an older version of the app, implying a prior UI bug existed. However, this commit itself does not change the app code, so it is not a fix and cannot be directly exploited. It is a regression test that documents a previous display-state issue.

Recommended action

Treat this commit as a test-only regression addition. Review the preceding commit (the one whose parent this test fails on) to identify the actual application fix and assess whether that fix is complete and deployed. Ensure CI runs this test on all supported firmware variants so the stale review-state bug does not regress.

Security signals we found

01

Regression test for stale UI review state across sequential APDU commands

02

Commit message implies prior NBGL display-flag leakage between sign_psbt and sign_message flows

03

No application/firmware code changes in this commit

04

Test uses high-fee PSBT and long message to exercise warning/scroll display flags

05

Golden snapshot images added for five Ledger device families

Risk score

Why this scored 48/100

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