Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
FMA: OP-Supervisor #233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FMA: OP-Supervisor #233
Changes from 1 commit
4214383
a6c13c8
00bdbe5
44e79d5
0a1070c
ea4eb80
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a third party bridge or centralized exchange trusts unsafe interop messages, this is a risk. Dangerous scenario:
Mitigation: Ensure that any applications which enabling moving substantial value out of the Superchain understand this risk, and ideally require making sure the chain is safe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor clarification - an L1 reorg is actually not a vector for this, because the unsafe chain isn't based in any L1. And from the other perspective, any L1 reorg which changes initiating messages must also change the executing messages downstream from it. So L1 reorgs apply pretty transparently to the interop protocol.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Safety over liveness, I think this is valid to do by default.
That said, we should invest more in the syncing of the unsafe chain, so that low-latency batch-submission is not as important for stability. And the longer we defer batch-submission, the larger the gap in L1 fees and actual batch-costs may be.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could come up with a plan to roll back the chain, but this would break exchange integrations. This is critical severity and the most risky part of interop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clarifying from the FMA review, the reason this is low likelihood, while 2a is medium likelihood is because 2a could happen even if there are no bugs (e.g. L1 has a major reorg) whereas 2b should never happen unless there is a bug in the supervisor.
This is the most critical impact of any of these. This can allow a user to mint uncapped amounts of ETH, and quickly exit that ETH from the superchain via CEXes, third party bridges, etc.
These bridges/cexes look at the safe head, and in this scenario, their checks would pass and enable these withdrawals.
To figure out:
^ also assuming this is a huge amount of $, what do we need to do to properly mitigate this risk (alternative supervisor implementation, audit competiton, etc.?)