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

feat(core/bootloader): enable debuglink in bootloader

Public commit record

What the developer wrote

Authored by tychovrahe

62/100 · Adequate
feat(core/bootloader): enable debuglink in bootloader

[no changelog]
✓ 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 adds a debug-only feature to the Trezor bootloader that lets automated testing tools talk to the bootloader over a special USB debug channel. It is controlled by a build-time flag (DEBUGLINK=1) and is not enabled in normal production firmware. The feature can read screen contents, simulate button presses and touch events, and record the screen. It does not appear to be a vulnerability by itself, but it is a powerful debugging interface that must remain disabled in production devices.

Recommended action

Verify that DEBUGLINK cannot be enabled in production or signed release builds, and that the debug USB interface is not exposed on retail devices. Review the build pipeline and signing process to ensure QA/debug bootloaders are not shipped to end users. No immediate patch is needed if the flag is properly restricted.

Security signals we found

01

New USB debug interface added to bootloader

02

Host can read bootloader screen state and layout tokens

03

Host can inject button, touch, and swipe events into bootloader workflow

04

Host can start/stop screen recording in bootloader

05

Feature is gated by DEBUGLINK build flag and not enabled by default

06

Normal USB start/stop is bypassed when DEBUGLINK is enabled

Risk score

Why this scored 37/100

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