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

feat: check pczt transparent inputs with multi-coins firmware

Public commit record

What the developer wrote

Authored by soralit

62/100 · Adequate
feat: check pczt transparent inputs with multi-coins firmware
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope! No meaningful explanatory body
The short version

What changed, and why it matters

This commit changes how the Keystone hardware wallet checks Zcash transparent inputs when using multi-coin firmware. Previously, Zcash transaction checking was completely disabled for SLIP39/passphrase wallets via a 'disabled' flag. The patch removes that blanket disable and instead adds a runtime check that at least one transparent input actually belongs to the wallet account being used. If none do, it returns a new 'PcztNoMyInputs' error. The change also slightly lowers code-coverage thresholds for the Zcash Rust module.

Recommended action

Treat as a security-hardening change that may fix or reduce a risk of signing a transaction that does not spend the user's own funds. Review the new check_sfp logic for correctness, ensure the lowered coverage thresholds are temporary and accompanied by tests for the new PcztNoMyInputs path, and verify that orchard/shielded inputs receive equivalent ownership checks if applicable.

Security signals we found

01

New validation rule: at least one transparent input must belong to the provided account in multi-coins mode

02

Removal of blanket disable for SLIP39/passphrase wallets in Zcash multi-coin checking

03

New error variant PcztNoMyInputs mapped to MasterFingerprintMismatch

04

Coverage thresholds lowered, suggesting new code paths are not fully tested

Risk score

Why this scored 42/100

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