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

feat(ethereum): add support for erc-4626 withdraw and redeem flow

Public commit record

What the developer wrote

Authored by PrisionMike

95/100 · Strong
feat(ethereum): add support for erc-4626 withdraw and redeem flow

- Updates vault with latest test
- Adds concept of safe_tx
- blind sign unsafe transaction with unkown vaults
- clear sign safe transaction everywhere
- refactor

[no changelog]
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Mentions testing or verification
The short version

What changed, and why it matters

This commit expands Trezor's Ethereum 'clear signing' support to include ERC-4626 vault withdraw and redeem transactions, not just deposits. For transactions where the receiver or owner differs from the signer on an unknown vault, the device now falls back to blind signing instead of refusing outright. For known Trezor-listed vaults, mismatches still trigger a hard error. The change is a feature addition with intentional security trade-offs rather than a clear-cut vulnerability patch.

Recommended action

Review the security policy decision to allow blind signing for unknown-vault transactions with receiver/owner mismatches, and ensure the fallback path cannot be abused to hide malicious ERC-4626 calls behind a generic data-signing prompt. Consider whether additional warnings are needed when a previously clear-signable selector is downgraded to blind signing.

Security signals we found

01

New clear-signing path for ERC-4626 withdraw/redeem selectors

02

Intentional fallback to blind signing for 'unsafe' unknown vault transactions

03

Hard failure retained for mismatched receiver/owner on known vaults

04

Validation added for native ETH value, trailing calldata bytes, and zero amounts

05

Test fixtures explicitly cover mismatch cases and label them as falling through to blind signing

Risk score

Why this scored 41/100

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