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

feat(core/ble): enable obtaining bond list

Public commit record

What the developer wrote

Authored by tychovrahe

57/100 · Thin
feat(core/ble): enable obtaining bond list

[no changelog]
✓ 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 new diagnostic command, 'ble-get-bonds', to Trezor's internal production-test firmware. It lets a factory technician read the list of Bluetooth devices previously paired with the device. The change is purely a feature addition for manufacturing/diagnostics; it does not, by itself, bypass pairing, steal funds, or change security settings. The main concern is that it exposes paired-device addresses (MAC addresses) through the production-test command-line interface, which could be a minor information-leak if the prodtest interface is accessible in the field.

Recommended action

Verify that the prodtest firmware is not shipped on consumer devices or that the 'ble-get-bonds' command is disabled/disallowed in production builds. If consumer firmware inherits this code path, add authorization checks and consider whether exposing bond lists is necessary. Review that CONFIG_BT_MAX_PAIRED matches BLE_MAX_BONDS to avoid truncation or mismatched expectations.

Security signals we found

01

New prodtest CLI command exposes Bluetooth bond/MAC information

02

No access-control check visible in the prodtest command handler

03

IPC message parsing uses length checks (len < 2 early return)

04

Output buffer is zeroed on failure paths

05

Refactoring of ble_get_mac changes public API signature

Risk score

Why this scored 22/100

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