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

feat(core/prodtest): add boardloader update command

Public commit record

What the developer wrote

Authored by tychovrahe

62/100 · Adequate
feat(core/prodtest): add boardloader update command

[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 factory-testing command that can rewrite the boardloader (the very first startup code on the device). It is intentionally restricted to development/non-production builds and excluded from the T2T1 model. The change also makes the shared binary buffer 4-byte aligned and adds a new memory-protection mode so the boardloader flash region can be written during this test command.

Recommended action

Treat as a legitimate manufacturing/test feature rather than a vulnerability, but verify that the `PRODUCTION` and `TREZOR_MODEL_T2T1` compile-time guards are enforced in release build pipelines and that the prodtest image is not shipped on consumer devices. Review that MPU reconfiguration and flash lock/unlock paths cannot be triggered from production firmware or untrusted CLI access.

Security signals we found

01

Adds ability to overwrite boardloader from prodtest CLI

02

Restricted by compile-time guards to non-production, non-T2T1 builds

03

Introduces new MPU mode granting privileged RW access to boardloader flash region

04

Uses flash_area_write_data_padded and explicit flash lock/unlock in finalize callback

05

Shared binary buffer alignment changed to 4 bytes, likely to satisfy flash write requirements

Risk score

Why this scored 33/100

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