🟡 Minor
Reject duplicate keys before identifying a MuSig key path (contrib/multisig/wizard.py:243, head)
analyze_descriptor accepts a MuSig participant list when its sorted entries match the leaf key list, but it does not require either list to contain distinct keys. Received descriptors also bypass add_cosigner’s duplicate-key check. A descriptor with repeated keys can therefore be reported as a MuSig key path involving those listed cosigners, even though repeated entries do not establish participation by distinct key holders. Reject repeated underlying keys before reporting this policy; consider applying the same check to the leaf generally.
Avoid deriving with the rejected path m (contrib/multisig/wizard.py:274, head)
When an unused descriptor contains the candidate xpub at the same level, this branch calls derivehdkey("m", ...). That RPC rejects paths without a hardened step, so find_own_key raises instead of recognizing the held key, preventing verify and import_descriptor from completing in this case. Retrieve the already-held private key directly or otherwise avoid deriving with m.