Skip to content

improvemImplementation break (#48) directly compromises the live 1 BTC Shamir challenge (bc1qyjwa0tf0en4x09magpuwmt2smpsrlaxwn85lh6) As reported in #48 and fixed in the approved (but not yet merged) PR #50, providing an invalid threshold #51

@yatescleta-afk

Description

@yatescleta-afk

My address for the 0.05+ BTC tier (already listed in PR #50) and the additional 1 BTC disclosure bounty:
bc1q9ezttyulgmm7lh8a086tsug990h4j3tflk3yc7
Once paid and PR #50 is merged, happy to provide full repro steps and deeper analysis on how this weakens the challenge shares.

Implementation break (#48) directly compromises the live 1 BTC Shamir challenge (bc1qyjwa0tf0en4x09magpuwmt2smpsrlaxwn85lh6)
As reported in #48 and fixed in the approved (but not yet merged) PR #50, providing an invalid threshold (e.g. anything resulting in NaN like “$ of 5”) causes the library to enter a degenerate fallback mode:
• All shares end up with identical entropy bytes
• Only the checksum (last word) changes due to the index-hiding mechanism
• This leaks the custom 4-bit index hiding described in BIP/mnemonic-improvement.md
This is the exact same software (shamir_secret_sharing.js) and mnemonic tool used to create the 1 BTC challenge:
• Wallet: bc1qyjwa0tf0en4x09magpuwmt2smpsrlaxwn85lh6 (~1.00016775 BTC still sitting there)
• Path: m/84’/0’/0’/0/0 (and the second xpub path that also derives the same address)
• Zpub: zpub6qdEDkv51FpxX6g1rpFGckmiL46vV8ccmtEgPAkj3qj8N4ZZHyXDRA9RwpTiFK2Kb8vRaDmSmwgX6rfB4t2K8Ktdq8ExQ6fumKpn2ndJCqL
• Published shares (2 of 3, threshold=3):
• session cigar grape merry useful churn fatal thought very any arm unaware (hidden x=5)
• clock fresh security field caution effort gorilla speed plastic common tomato echo (hidden x=1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions