You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dash-spv: verify MnListDiff against the coinbase merkle roots before applying #1117
The masternode sync manager applies peer MnListDiffs without checking the coinbase merkle proof or the merkle_root_mn_list / merkle_root_quorums commitments. MasternodeList::has_valid_mn_list_root exists but is never called. A malicious peer can inject quorum keys and then get ChainLocks it signed itself accepted.
Fix: verify the coinbase inclusion against the stored header and the list/quorum roots against the coinbase payload before apply_diff. Only use verified quorums in ChainLock verification.
Activity
fix(dash-spv): only verify ChainLocks with a verified quorum
fix(dash-spv): only verify ChainLocks with a verified quorum
fix(dash-spv): only verify ChainLocks with a verified quorum (#1168)
fix(dash-spv)!: verify MnListDiff against its block's coinbase before…
fix(dash-spv)!: verify MnListDiff against its block's coinbase before…