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

Re-enabling HAVE_APPLICATION_FLAG_DERIVE_MASTER for bitcoin_recovery variant to allow all derivations paths including non-hardened ones

Public commit record

What the developer wrote

Authored by Michael Evans

73/100 · Adequate
Re-enabling HAVE_APPLICATION_FLAG_DERIVE_MASTER for bitcoin_recovery variant to allow all derivations paths including non-hardened ones

(cherry picked from https://github.com/LedgerHQ/app-bitcoin-new/pull/408)
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This commit re-enables a build flag for a special 'bitcoin_recovery' app variant that lets it derive any key path, including non-hardened ones. The change is intentional and limited to a recovery/debug variant, not the main Bitcoin app. It is not a vulnerability by itself, but it removes a restriction on a variant that already had broad permissions, so it slightly increases the risk surface if that variant is misused or compromised.

Recommended action

Verify that the bitcoin_recovery variant is only distributed through controlled/debug channels and cannot be installed as the main Bitcoin app. Review PR #408 for full context and any related security discussion. No immediate patch is indicated, but treat this variant as high-privilege and restrict its distribution.

Security signals we found

01

Re-enables master-key derivation flag for a specific app variant

02

Variant already permits all derivation paths

03

Comment explicitly warns against compiling mainnet with this flag

04

Cherry-picked from a public pull request (#408)

Risk score

Why this scored 35/100

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