Payouts
Top 50
All
Code4rena
CodeHawks
Jul '23
high
Sandwich attack to steal all ERC-20 tokens in the Fees contract
high
Borrower can bypass maxLoanRatio's configuration of a pool via buyLoan()
high
[H-04] Lender#buyLoan - Malicious user could take over a loan for free without having a pool because of wrong access control
high
Using forged/fake lending pools to steal any loan opening for auction
high
Attacker can steal a loan's collateral and break the protocol
medium
No expiration deadline leads to losing a lot of funds
medium
Single-step process for critical ownership transfer is risky
gas
Multiple accesses of a mapping/array should use a local variable cache.
gas
Initialize variables outside the loop
3.26 USDC • 6 total findings • CodeHawks • jnrlouis
#103
high
Theft of collateral tokens with fewer than 18 decimals
medium
All of the USD pair price feeds doesn't have 8 decimals
low
Precision loss when calculating the health factor
gas
Double checks
gas
Use `==` instead for `<=` for `uints` when comparing for `zero` values
gas
`++i`/`i++` should be `unchecked{++i}`/`unchecked{i++}` when it is not possible for them to overflow, as is the case when used in `for`- and `while`-loops
Jun '23