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

feat(core): allow caching recent THP paired hostnames and MAC addresses

Public commit record

What the developer wrote

Authored by Roman Zeyde

77/100 · Adequate
feat(core): allow caching recent THP paired hostnames and MAC addresses

Only entries with bonded MAC addresses will be stored.

[no changelog]
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body
The short version

What changed, and why it matters

This commit adds a small cache that remembers recently paired Bluetooth-like device names and MAC addresses for Trezor's experimental Trezor Host Protocol (THP). It only stores entries whose MAC address is already bonded in the device's secure BLE storage. The change is purely additive and gated behind the USE_THP build flag. There is no direct evidence in the commit of a security vulnerability; it appears to be a feature implementation with a filtering safeguard.

Recommended action

No immediate action required. Treat as a normal feature commit. If auditing THP, verify that (1) the BLE bond store itself cannot be manipulated to add attacker-controlled MACs, (2) host_name values are sanitized before UI display, and (3) the protobuf message size limit is enforced at the message-definition layer, not only by the 400-byte test assertion.

Security signals we found

01

New flash storage namespace _THP_PAIRED_CACHE (0x22) added for serialized paired-host cache

02

Store path filters entries by bonded MAC address, preventing arbitrary unpaired host data from persisting

03

Dependency on external BLE bond list (trezorble.get_bonds) for authorization decision

04

Experimental protobuf decoding disabled for this message type

05

No changelog entry; feature is additive and behind USE_THP flag

Risk score

Why this scored 20/100

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