Platform: Code4rena
Start Date: 23/06/2023
Pot Size: $60,500 USDC
Total HM: 31
Participants: 132
Period: 10 days
Judge: 0xean
Total Solo HM: 10
Id: 254
League: ETH
Rank: 55/132
Findings: 1
Award: $143.49
🌟 Selected for report: 0
🚀 Solo Findings: 0
143.4901 USDC - $143.49
FlashBorrower
is assumed to have an onFlashLoan
function that properly checks whether they intended to flashborrow or not.EUSD
to PeUSDMainnet
contract
convertToPeUSD
FlashBorrower
and call the executeFlashloan
function. In this case, receiver.onFlashLoan(shareAmount, data);
results in a no-op. The contract incorrectly assumes that the receiver intended to borrow the funds and proceeds to burnShares
of the victim contract.Access Control
#0 - c4-pre-sort
2023-07-04T14:00:49Z
JeffCX marked the issue as duplicate of #280
#1 - c4-judge
2023-07-28T15:30:44Z
0xean marked the issue as satisfactory
#2 - c4-judge
2023-07-28T19:53:20Z
0xean changed the severity to 3 (High Risk)