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

fix(zcash): validate transparent PCZT formats

Public commit record

What the developer wrote

Authored by Adam Tucker

57/100 · Thin
fix(zcash): validate transparent PCZT formats
✓ 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 tightens validation for Zcash transaction formats (PCZT) on the Keystone 3 hardware wallet. Previously, the firmware only checked that a transaction was version 6 or higher and not v6 specifically, plus that it had no Sapling or Orchard shielded components. The new code also verifies the exact transaction version, version group ID, and the consensus branch's Orchard protocol revision. A new test confirms that a v6 transaction on the Nu6 branch is rejected for transparent-only operations. The change appears to prevent unsupported or ambiguous transaction formats from being signed or parsed, which could reduce the risk of signing a transaction the wallet does not fully understand.

Recommended action

Review whether any additional consensus branch IDs or version group IDs should be included in the allow-list, and confirm that the new rejection paths are reachable from all user-facing signing flows. Consider adding tests for version/group ID mismatches and for v5 on non-Orchard branches.

Security signals we found

01

Input-validation hardening for transaction parsing/signing

02

Explicit allow-listing of supported (tx_version, version_group_id, orchard_revision) tuples

03

New negative test for v6 + Nu6 branch rejection

04

Potential prior under-validation of transparent-only PCZT formats

Risk score

Why this scored 60/100

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