Platform: Code4rena
Start Date: 24/02/2022
Pot Size: $170,000 UST
Total HM: 15
Participants: 16
Period: 14 days
Judge: Albert Chon
Total Solo HM: 11
Id: 82
League: COSMOS
Rank: 15/16
Findings: 1
Award: $572.98
🌟 Selected for report: 0
🚀 Solo Findings: 0
When the handleToken method is called in the CrossAnchorBridge contract, the address of the token is not restricted. When the user uses fee-on-transfer tokens, the actual number of tokens received by the contract will be less than the amount, and when the transferTokens method of the WormholeTokenBridge contract is called, tokens of other users will be transferred.
None
Consider getting the received amount by calculating the difference of token balance (using balanceOf) before and after the transferFrom.
#0 - GalloDaSballo
2022-08-04T23:36:26Z
Dup of #68
#1 - GalloDaSballo
2022-08-04T23:36:46Z
Recommend Lowering severity (Med at most)