DittoETH

Ditto
DeFiFoundryOracle
55,000 USDC
View results
Submission Details
Severity: low
Valid

duplicate bridge can be created

Summary

when creating bridge there is no checking if the previous bridge already exist or not, which can cause issue.

Vulnerability Details

when createBridge() is being called. There isn't any kind of check that the bridge already exist or not, which can cause issue while deleting bridge cause according to the sponsor bridge will never be deleted, unless there is a major issue with it. So, lets say rocketPool already exist and due to by mistake it gets created again and there is an issue with the rocketPool so when it will be deleted, only one of them will be deleted and the other will be left behind which can still have the same impact.

Impact

Bridge with the issue can still have the same impact if it can gets created again

Tools Used

Recommendations

make sure to check if the bridge already exist before adding a new one

Updates

Lead Judging Commences

0xnevi Lead Judge
almost 2 years ago
0xnevi Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

finding-360

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.