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

Validate PSBT input amounts

Public commit record

What the developer wrote

Authored by Jack

35/100 · Opaque
Validate PSBT input amounts
✓ Descriptive subject! No meaningful explanatory body! Opaque security-relevant change
The short version

What changed, and why it matters

This firmware update tightens checks on Bitcoin transaction amounts inside PSBT files. Before the patch, input amounts were only checked with a simple 'greater than zero' assertion, and the running total of input value was not capped. A malicious or malformed PSBT could use negative, zero, or absurdly large input amounts to make the wallet miscalculate the transaction fee or bypass sanity checks. The patch rejects any input amount outside the valid Bitcoin range and stops the total from exceeding Bitcoin's maximum money limit, matching protections that already existed for outputs.

Recommended action

Treat this as a security-hardening fix and include it in the next firmware release. Users should upgrade when available. Wallet software that builds PSBTs for Passport should ensure it does not create inputs with zero, negative, or over-MAX_MONEY amounts.

Security signals we found

01

Addition of input amount range validation against MAX_MONEY

02

Addition of cumulative input total overflow validation

03

Replacement of assert with explicit FatalPSBTIssue exception for invalid input amounts

04

Expanded unit tests covering negative, zero, and overflow input/output amounts

05

Existing output validation extended with index reporting

Risk score

Why this scored 59/100

Our methodology →
Potential impact 18/30
Exploitability 12/25
Stealth signal 8/15
Affected reach 10/15
Confidence 7/10
Evidence quality 4/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.