-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
fix(protocol): check no loops in multi-hop in Bridge #16659
Conversation
fix(protocol): check no loops in multi-hop in Bridge
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
Thinking thru, i think it is possible to embeded signals, but i dont think there is a security concern here because of 2 reasons:
So given the 2 factors, i dont think a self-referential hop is safety critical. |
I tend to agree, but TBH, preventing loops makes me feel more comfortable given the cost is really small. |
This PR mitigates the concerns in this issue , but I'm having a hard time to construct an exploiting attack transaction with a bridge loop that has security impact.