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

fix(core/ethereum): verify `chain_id` when matching EIP-7702 addresses

Public commit record

What the developer wrote

Authored by Roman Zeyde

100/100 · Strong
fix(core/ethereum): verify `chain_id` when matching EIP-7702 addresses

Also:
- add Gnosis to supported chains (https://7702beat.eth.sh/)
- use Gnosis chain ID for testing definitions.
- unknown chains are now disallowed.

[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✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This commit tightens security for a new Ethereum feature (EIP-7702 account delegation) in Trezor hardware wallets. Previously, the wallet would recognize certain smart-contract delegate addresses on any chain, and would allow signing on unknown chains with only a generic warning. Now it checks that both the chain ID and the delegate address match an approved list, and it refuses to sign on unknown chains entirely. This prevents a malicious app or website from tricking a user into authorizing a delegate on an unexpected network.

Recommended action

Treat this as a security-hardening fix and include it in the next firmware release. Users relying on EIP-7702 on custom or unsupported EVM chains will now be blocked; document the supported chains (Ethereum, Gnosis, Base, Arbitrum) and the approved delegate addresses. No immediate incident response is indicated by the diff alone.

Security signals we found

01

authorization bypass hardening: chain-scoped allowlist for EIP-7702 delegate addresses

02

unknown-chain rejection: previously allowed signing on UNKNOWN_NETWORK with generic prompt, now raises DataError

03

test inversion: metamask_nonce_1_chainid_200901_unknown changed from success fixture to error fixture

04

address lookup now keyed by chain_id in both generated and mako source

Risk score

Why this scored 60/100

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