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

fix passphrase ada path

Public commit record

What the developer wrote

Authored by ww3512687

28/100 · Opaque
fix passphrase ada path
✓ Subject identifies a change! No meaningful explanatory body! Opaque security-relevant change
The short version

What changed, and why it matters

This commit fixes how the Keystone hardware wallet selects the Cardano (ADA) key derivation algorithm when a passphrase is used. Previously, the selected derivation style was stored in a global variable that was not reset between wallet sessions. If a user switched between a standard wallet and a passphrase-protected wallet, the device could continue using the wrong derivation path, producing Cardano public keys and addresses that do not match the user's expected wallet. This could make funds appear missing or, in rare cases, lead to sending or receiving to an unintended address family. The patch resets the derivation choice when memory is freed and re-initializes it from the current account type when the key-derivation screen is opened.

Recommended action

Review whether any other global derivation-path or account-type state persists across wallet sessions and ensure all are re-initialized on wallet switch. Verify that `GetAccountType()` returns the correct value for both standard and passphrase wallets and that the reset in `FreeKeyDerivationRequestMemory()` is reached on every exit path. Consider adding automated tests that switch between standard and passphrase wallets and assert the expected Cardano xpub/address for each derivation style.

Security signals we found

01

Global state not reset between UI sessions

02

Wrong cryptographic key derivation path selected for same seed

03

Passphrase wallet isolation issue

04

Cardano derivation algorithm mismatch

Risk score

Why this scored 44/100

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