Hunt prep
Before you test AbraNFT contest
What 6 disclosed reports say about AbraNFT contest: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Smart contracts lesson | 3 | 0 | – | – | $0 |
| Access control lesson | 1 | 0 | – | – | $0 |
| Business logic lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Lender is able to seize the collateral by changing the loan parameters
The updateLoanParams() function should not be allowed to change the ltvBPS value.
Disclosed
-
Mistake while checking LTV to lender accepted LTV
The condition should be changed to use <= instead of >=, so that the lender's accepted LTV must be at least as high as the borrower's asking LTV.
Disclosed
-
The return value success of the get function of the INFTOracle interface is not checked
The contract should check the success flag and revert if it is false, as shown in the recommended mitigation.
Disclosed
-
Critical Oracle Manipulation Risk by Lender
The oracle should be locked once a loan is agreed, by requiring in the parameter update check that the new oracle equals the current one.
Disclosed
-
Reentrancy at _requestLoan allows requesting a loan without supplying collateral
The external call should be moved to the end of the function to follow the checks-effects-interactions pattern.
Disclosed
-
Avoidance of Liquidation Via Malicious Oracle
The contract should require that the oracle in the loan request matches the oracle the lender accepted, and should consider whitelisting oracles.
Disclosed