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

fix(cardano): implement cip-129 for drep credentials

Public commit record

What the developer wrote

Authored by PrisionMike

85/100 · Strong
fix(cardano): implement cip-129 for drep credentials

Fixes Cardano staking: Custom DRep address may not match the address shown on the device
Fixes #6192
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This update fixes how Trezor displays Cardano DRep (delegated representative) addresses on the device screen. Previously, the device used an older bech32 format that could show a different address than what the user expected, potentially leading them to delegate voting power to the wrong representative. The fix adopts the newer CIP-129 standard so the displayed address matches the one used on the blockchain.

Recommended action

Treat as a security-relevant bug fix. Verify the CIP-129 header bytes (0x22/0x23) and bech32 encoding match the Cardano CIP-129 specification exactly. Review whether any other Cardano credential types still use the old non-CIP-129 format. Ensure users running older firmware are informed that DRep addresses displayed before this fix may differ from on-chain identifiers.

Security signals we found

01

UI/display mismatch between user-facing address and on-chain credential format

02

Adoption of CIP-129 DRep credential encoding standard

03

Change in bech32 HRP and payload construction for DRep key/script hashes

04

Updated unit tests and UI test fixtures for new encoding output

Risk score

Why this scored 59/100

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