Skip to content

fix: scope ZoneInbox refund calls#539

Open
mattsse wants to merge 1 commit into
mainfrom
mattsse/fix-zone-inbox-refund-eth-call
Open

fix: scope ZoneInbox refund calls#539
mattsse wants to merge 1 commit into
mainfrom
mattsse/fix-zone-inbox-refund-eth-call

Conversation

@mattsse

@mattsse mattsse commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Rejects private RPC eth_call requests that try to read ZoneInbox.refunds(token, owner) for an owner other than the authenticated caller.

Root Cause

Private RPC simulation enforced the request from address but did not inspect sensitive ZoneInbox view calldata, so callers could target the inbox predeploy and read arbitrary refund owners.

Impact

Non-owner refund reads now fail before execution with the existing account-mismatch error, while own-owner reads and sequencer reads retain normal behavior.

@mattsse mattsse requested a review from 0xKitsune as a code owner June 25, 2026 10:40
@mattsse mattsse force-pushed the mattsse/fix-zone-inbox-refund-eth-call branch from d9cc2a6 to 6af7d04 Compare June 25, 2026 11:03
@mattsse mattsse force-pushed the mattsse/fix-zone-inbox-refund-eth-call branch from 6af7d04 to 5b2b8c6 Compare June 25, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant