Sherlock
Ajna #2
Every publicly disclosed report for Ajna #2 and what kind of bugs they were.
- disclosed reports
- 51
- most reported class
- Business logic
- bug classes found
- 3
- first disclosure
- 2023
Disclosed reports
Newest first. Only what Ajna #2 chose to make public.
-
Function `_indexOf` will cause a settlement to revert if `auctionPrice > MAX_PRICE`
DoS Medium Audit finding
-
First pool borrower pays extra interest
Business logic Medium Audit finding
-
Reserves can be stolen by settling artificially created bad debt from them
Business logic High Audit finding
-
Incorrect implementation of `BPF` leads to kicker losing rewards in a `take` action
Business logic Medium Audit finding
-
Wrong auctionPrice used in calculating BPF to determine bond reward (or penalty)
Business logic Medium Audit finding
-
HPB may be incorrectly bankrupt due to use of unscaled value in `_forgiveBadDebt`
Business logic Medium Audit finding
-
KickerActions uses wrong check to prevent Kickers from using deposits below LUP for KIckWithDeposit
Business logic Medium Audit finding
-
Limit index isn't checked in repayDebt, so user control is void
Business logic Medium Audit finding
-
LenderActions's moveQuoteToken can create a total debt undercoverage
Business logic Medium Audit finding
-
LUP is not recalculated after adding kicking penalty to pool's debt, so kick() updates the pool state with an outdated LUP
Business logic High Audit finding +1 collaborator
-
Debt write off can be prohibited by HPB depositor by continuously allocating settlement blocking dust deposits in the higher buckets
Business logic High Audit finding
-
kickWithDeposit removes the deposit without HTP pool state check
Business logic High Audit finding
-
Lenders lose interests and pay deposit fees due to no slippage control
Business logic Medium Audit finding
-
Wrong Inflator used in calculating HTP to determine accrualIndex in accrueInterest
Business logic Medium Audit finding
-
Pool's kickWithDeposit misses liquidation debt check
Business logic High Audit finding
-
Settlement can be called when auction period isn't concluded, allowing HPB depositors to game bad debt settlements
Business logic High Audit finding
-
Due to excessive HTP check moveQuoteToken can be unavailable for big deposits
Business logic Medium Audit finding
-
moveQuoteToken updates pool state using intermediary LUP, biasing pool's interest rate calculations
Business logic High Audit finding
-
`moveQuoteToken()` can cause bucket to go bankrupt but it is not reflected in the accounting
Business logic High Audit finding
-
ERC721Pool's take will proceed with truncated collateral amount and full debt when borrower's collateral is fractional
Business logic High Audit finding
-
If borrower or kicker got blacklisted by asset contract their collateral or bond funds can be permanently frozen with the pool
Business logic Medium Audit finding
-
scaledQuoteTokenAmount isn't updated to be collateral sell value in the quote token constraint case of _calculateTakeFlowsAndBondChange
Business logic High Audit finding
-
Anyone who approved quote tokens to a pool can be forced to take
Access control High Audit finding
-
Flashloan end result isn't controlled
Business logic Medium Audit finding +3 collaborators
-
Interest rate for pool is bounded wrongly
Business logic Medium Audit finding
-
user can drawDebt that is below dust amount
Business logic Medium Audit finding
-
Claiming rewards from a future not yet existing epoch prevents claiming rewards for those epochs later on
Business logic Medium Audit finding +1 collaborator
-
Incorrect MOMP calculation in neutral price calculation
Business logic Medium Audit finding
-
Anyone can transfer approved LP tokens
Access control Medium Audit finding