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

fix frost input retry

Public commit record

What the developer wrote

Authored by Julian

28/100 · Opaque
fix frost input retry
✓ Subject identifies a change! No meaningful explanatory body
The short version

What changed, and why it matters

This commit fixes a bug in the FROST Bitcoin wallet's coin-selection retry logic. Previously, when the first attempt to build a transaction didn't have enough funds, the code tried to add extra UTXOs but used a Set (which ignores duplicates and has no guaranteed order) and also accidentally included the current UTXO again instead of only the remaining ones. The fix switches to an ordered List and correctly picks/removes the next UTXO. This could have caused transaction building to fail, loop incorrectly, or select the wrong inputs.

Recommended action

Review the full FROST transaction flow for similar Set/List misuse and off-by-one errors, and add unit tests covering insufficient-funds retry paths to ensure the correct UTXOs are selected and no UTXO is double-spent or skipped.

Security signals we found

01

FROST threshold-signature wallet input selection bug

02

Potential transaction build failure / incorrect UTXO selection

03

Set-vs-List ordering/deduplication issue in coin selection

04

Off-by-one inclusion of already-selected UTXO in remaining set

05

No removal of consumed UTXO during retry loop

Risk score

Why this scored 31/100

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