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

wallet: fix unhandled wrong asset in wallet summaries

Public commit record

What the developer wrote

Authored by Mike Tolkachev

77/100 · Adequate
wallet: fix unhandled wrong asset in wallet summaries

Verifies that asset_summary_update returns true, otherwise aborts
transaction or PSBT processing with error.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Explains rationale or failure mode
The short version

What changed, and why it matters

This commit fixes a bug in the Blockstream Jade hardware wallet where a function that tracks assets during transaction signing could fail silently. Previously, if an unexpected or wrong asset was encountered while building a summary of transaction inputs and outputs, the wallet ignored the failure and continued signing. The patch now checks the function's return value and aborts signing with an error. This could have allowed a malicious or malformed transaction to bypass the wallet's balance checks, potentially misleading the user about what assets were actually being moved.

Recommended action

Treat this as a security-relevant fix. Review whether the previous behavior could have been exploited to misreport balances or approve invalid transactions, and consider whether additional hardening (e.g., asserting on unexpected assets, stricter pre-validation) is warranted. Users should upgrade to a firmware version containing this commit.

Security signals we found

01

Unchecked return value from asset_summary_update() in signing path

02

Potential bypass of asset/balance validation during transaction signing

03

Wrong or unknown asset could be silently dropped from wallet summaries

04

Patch adds explicit failure handling and aborts signing on validation error

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.