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

handle errors if silent payments psbt validation fails

Public commit record

What the developer wrote

Authored by Craig Raw

50/100 · Thin
handle errors if silent payments psbt validation fails
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This commit adds error handling for a new type of PSBT (Partially Signed Bitcoin Transaction) validation failure related to silent payments. Previously, if silent payment proof validation failed during transaction extraction, broadcasting, saving, sweeping private keys, or payjoin, the application would likely crash or propagate an unhandled exception. Now it shows an error dialog instead. The commit also makes some related payjoin logic more robust, such as computing the additional fee contribution before serialization and fixing a change-output value comparison bug.

Recommended action

Review the drongo-side implementation of PSBTProofException to understand what silent payment proof failures it covers, and ensure all other `extractTransaction()` call sites in the codebase are similarly protected. Consider whether unhandled `PSBTProofException` elsewhere could lead to denial-of-service or inconsistent wallet state.

Security signals we found

01

New exception type PSBTProofException handled at PSBT.extractTransaction() call sites

02

Prevents unhandled runtime exceptions during silent payments transaction extraction

03

Payjoin additional fee contribution computed before PSBT serialization

04

Payjoin change output value comparison corrected to use originalOutput.getKey() instead of changeOutput variable

05

Error dialogs now inform users of invalid silent payments transactions

Risk score

Why this scored 43/100

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