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

handle an absent final scriptsig or witness when restoring the original payjoin inputs

Public commit record

What the developer wrote

Authored by Craig Raw

50/100 · Thin
handle an absent final scriptsig or witness when restoring the original payjoin inputs
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This commit fixes a crash in Sparrow Wallet's Payjoin feature. When receiving a Payjoin proposal, the wallet tries to restore original payment input details. Previously, if the original PSBT input lacked a final script signature or final witness, the code would throw a NullPointerException and crash. The patch now safely handles those missing fields by setting the restored values to null instead of crashing.

Recommended action

Review whether other PSBT input fields accessed in this method need similar null guards. Consider adding validation for Payjoin proposals to reject malformed inputs gracefully rather than relying on exception handling. Users should upgrade to a version containing this fix if they use Payjoin.

Security signals we found

01

NullPointerException crash in Payjoin proposal handling

02

Missing input validation on PSBT final script fields

03

Payjoin protocol implementation robustness fix

04

Potential denial-of-service via malformed Payjoin proposal

Risk score

Why this scored 40/100

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