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

sign_tx: suppress validation/change attribution for green 2of3 outputs

Public commit record

What the developer wrote

Authored by Mike Tolkachev

85/100 · Strong
sign_tx: suppress validation/change attribution for green 2of3 outputs

Since the recovery xpub is not currently registered on-device, we should
not trust the caller provided value, and users must validate the address
on-device. A malicious companion app could otherwise swap out the
recovery xpub to grief the user.

This brings sign_tx behaviour in line with sign_psbt for Green 2of3.

A future update will allow user-confirmed registration for Green 2of3
which will allow skipping the confirmation for these outputs.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode
The short version

What changed, and why it matters

This update fixes a security gap in how Blockstream Jade signs Bitcoin transactions for a specific wallet type called Green 2of3. Previously, the device trusted the connected app to supply a recovery public key and might silently treat an output as 'change' going back to the user's own wallet. A malicious or compromised companion app could have supplied a fake recovery key, tricking the device into marking a payment to an attacker's address as safe internal change. The fix forces the user to manually verify such outputs on the device screen instead of trusting the app, matching the behavior already used for PSBT signing.

Recommended action

Users relying on Green 2of3 wallets with Jade should upgrade firmware to include this commit. Until the future registration feature lands, expect to manually confirm all 2of3 outputs (including legitimate change) on the device screen during transaction signing. Developers should avoid trusting host-provided xpubs for change attribution and prioritize on-device registration as indicated by the TODO.

Security signals we found

01

Host-supplied recovery_xpub was trusted for change attribution

02

Change output could be misattributed without user confirmation

03

Fix suppresses automatic validation for Green 2of3 outputs

04

Aligns sign_tx with existing sign_psbt behavior

05

TODO indicates future on-device registration feature

Risk score

Why this scored 72/100

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