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

ui: allow tapping directly on touchscreen elements

Public commit record

What the developer wrote

Authored by Bota

73/100 · Adequate
ui: allow tapping directly on touchscreen elements

With DISPLAY_TOUCH_DIRECT, on by default for the Waveshare touch boards,
a tap on a button selects and activates it. The three virtual buttons
below the screen still work as before, and screens without buttons are
still used with them.

Buttons that sign, install firmware or delete data need a long press, so
a stray tap cannot confirm them.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit adds a new touchscreen mode for some Jade hardware wallets where users can tap on-screen buttons directly instead of only using the three virtual buttons below the screen. To reduce the risk of accidental or malicious confirmation, buttons that perform dangerous actions—such as signing transactions, installing firmware, or deleting wallet data—now require the user to press and hold for about 0.8 seconds. The change is a defensive usability/hardening feature rather than a fix for an already exploited bug.

Recommended action

Review the 800 ms long-press threshold for usability and safety; verify that all destructive or high-value confirmation buttons are consistently marked critical; ensure the touch coordinate mapping and activity-change guard do not introduce race conditions or missed releases; test on all affected touch boards (Waveshare LCD2/LCD35, TTGO T-Watch S3, M5 CoreS3, Jade v2).

Security signals we found

01

New direct-touch input path added to GUI event handling

02

Critical-action buttons require long-press to mitigate stray or coerced tap confirmations

03

Destructive operations (reset, delete wallet, delete OTP) converted to critical yes/no prompts

04

Cryptographic/signing confirmations (sign tx, sign message, sign identity, firmware install) marked critical

05

Touch coordinate mirroring handled for flipped display orientation

06

Press tracking state dropped when the activity changes under the finger to avoid stale node references

Risk score

Why this scored 37/100

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