Open code423n4 opened 1 year ago
trust1995 marked the issue as unsatisfactory: Insufficient proof
trust1995 marked the issue as satisfactory
trust1995 marked the issue as primary issue
0xBugsy marked the issue as disagree with severity
0xBugsy marked the issue as sponsor confirmed
trust1995 marked the issue as selected for report
Lines of code
https://github.com/code-423n4/2023-05-maia/blob/main/src/ulysses-omnichain/BranchBridgeAgent.sol#L565-L634
Vulnerability details
Impact
Proof of Concept
The function clearTokens() is called from the BranchBridgeAgentExecutor::executeWithSettlementMultiple() function, which is used when the settlement flag is 2 "Multiple Settlements"
As per the documentation about the messaging layer written in the
IBranchBridgeAgent
contract, when the flag is 2, the structure of the token info is as follows:Tools Used
Manual Audit
Recommended Mitigation Steps
Assessed type
en/de-code