Payouts
2nd Places
3rd Places
Top 10
All
Sherlock
Code4rena
CodeHawks
Hats Finance
Aug '24
Jul '24
high
_checkpoint_total_supply() can checkpoint before a timestamp is complete
high
Claimable gauge distributions are locked when killGaugeTotally is called
high
Voters who withdraw ve tokens risk losing gained bribes rewards
high
Griefing an account from getting votes delegated to it
medium
DOS can be caused by first liquidity provider of a stable pair
medium
Bribe and fee token emissions can be gamed by users
May '24
Feb '24
Jan '24
Dec '23
Aug '23
Jul '23
high
Lender contract can be drained by re-entrancy in `setPool`
high
Sandwich attack to steal all ERC-20 tokens in the Fees contract
high
During refinance() new Pool balance debt is subtracted twice
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
Fee on transfer tokens will cause users to lose funds
high
Borrower can prevent his/her loan from being liquidated
high
A pool lender can fully drain another user's pool by abusing `buyLoan`
medium
If a borrower or lender got blacklisted by asset contract, their collateral or loan funds can be permanently frozen with the pool
medium
No expiration deadline leads to losing a lot of funds
medium
Single-step process for critical ownership transfer is risky
medium
Lender contract can be drained by re-entrancy in `seizeLoan`
low
Lender fails to giveLoan because of inconsistent length between `loadIds` and `poolIds`
low
Griefing a lender with dust loans
gas
Multiple accesses of a mapping/array should use a local variable cache.
gas
+= and -= are more expensive
gas
Uncheck Arithmetic where overflow/underflow impossible
gas
Unnecessary If condition in update() of Staking.sol
286.68 USDC • 2 total findings • CodeHawks • sonny2k
#22