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

fix(trezor-client): send empty passphrase for standard wallets

Public commit record

What the developer wrote

Authored by Dario

85/100 · Strong
fix(trezor-client): send empty passphrase for standard wallets

handle_interaction was sending on_device=true for non-device passphrase
requests, which caused the Trezor to prompt for a passphrase even when
none is configured. For standard wallets (no passphrase), the correct
behavior is to reply with an empty passphrase string.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit fixes a bug in the Trezor client library where users with a standard wallet (no passphrase) were still being prompted to enter a passphrase on their Trezor device. The fix ensures that for standard wallets, the client replies with an empty passphrase instead of incorrectly asking the device to handle it. This is a usability and workflow bug rather than a direct theft-of-funds vulnerability, but it could cause confusion or lead users to enter an unintended passphrase.

Recommended action

Review related host-side passphrase logic to ensure no other paths incorrectly set on_device=true, and verify that empty passphrase handling matches Trezor protocol expectations. Consider whether this bug could have been exploited in social-engineering or UI-confusion scenarios.

Security signals we found

01

Incorrect handling of passphrase request flow in hardware wallet client

02

Potential UI confusion or user coercion via unexpected on-device passphrase prompt

03

Fix aligns host-side behavior with standard wallet semantics

Risk score

Why this scored 34/100

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