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

docs(thp): add low-order point verification to CodeEntry

Public commit record

What the developer wrote

Authored by M1nd3r

72/100 · Adequate
docs(thp): add low-order point verification to CodeEntry
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Mentions testing or verification! No meaningful explanatory body
The short version

What changed, and why it matters

This commit updates a design document for Trezor's new 'Trezor Hello Protocol' (THP) pairing flow. It adds checks intended to stop a malicious computer from sending specially crafted X25519 public keys (so-called low-order points) that would make the shared secret predictable or all-zeroes, potentially allowing the computer to skip the user code-entry step and pair with the device without authorization. The change is only to documentation/specification; no actual firmware code is modified in this commit, so the real-world risk depends on whether the implementation already follows or ignores the new checks.

Recommended action

Verify that the firmware implementation of ThpCodeEntryCpaceHostTag already enforces both assertions (non-zero host public key and non-zero shared secret) before this specification change is considered complete. If not, file a security issue and patch the implementation. Also add test vectors covering low-order and all-zero X25519 points for the CodeEntry flow.

Security signals we found

01

X25519 low-order point authentication bypass

02

CPace code-entry pairing protocol

03

all-zero public key / shared secret rejection

04

documentation-only change to security protocol

05

commit message explicitly calls out bypass prevention

Risk score

Why this scored 57/100

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