Hunt prep
Before you test Teller Finance
What 29 disclosed reports say about Teller Finance: 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 |
|---|---|---|---|---|---|
| Business logic lesson | 19 | 0 | – | – | $0 |
| DoS lesson | 7 | 0 | – | – | $0 |
| Access control lesson | 2 | 0 | – | – | $0 |
| Smart contracts 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.
-
`LenderCommitmentGroup` pools will have incorrect exchange rate when fee-on-transfer tokens are used
The protocol team fixed this issue by checking the balance before and after the transfer and updating the accounting accordingly.
Disclosed
-
Incorrect selector in `FlashRolloverLoan_G5::_acceptCommitment()` does not match `SmartCommitmentForwarder::acceptCommitmentWithRecipient()`
The protocol team fixed this issue by inserting the correct selector, SmartCommitmentForwarder::acceptCommitmentWithRecipient().
Disclosed
-
If `repayLoanCallback` address doesn't implement `repayLoanCallback` try/catch won't go into the catch and will revert the tx
The protocol team fixed this issue in a pull request.
Disclosed
-
`_sendOrEscrowFunds` will brick LCG funds causing insolvency
The protocol team fixed this issue by implementing a withdraw function inside LCG, preferably callable by anyone.
Disclosed
-
liquidateDefaultedLoanWithIncentive sends the collateral to the wrong account
The issue was fixed by ensuring the collateral is sent to the _collateralRecipient.
Disclosed
-
Missing `__Ownable_init()` call in `LenderCommitmentGroup_Smart::initialize()`
The initialize function should call __Ownable_init() to set an owner; the protocol team fixed this issue.
Disclosed
-
liquidateDefaultedLoanWithIncentive can be gamed to avoid paying loans interest
The issue was fixed by changing the calculation to include interest and ensuring interest is not double-counted.
Disclosed
-
`LenderCommitmentGroup_Smart` does not use `mulDiv` when converting between token and share amounts, possibly leading to DoS or loss of funds
The issue was fixed by using OpenZeppelin's Math::mulDiv for the calculations.
Disclosed
-
Interest rate in `LenderCommitmentGroup_Smart` may be easily manipulated by depositing, taking a loan and withdrawing
The protocol team fixed this issue by requiring a small delay before liquidity providers can burn their shares, preventing such abuses.
Disclosed
-
Not transferring collateral when submitting bids allows malicious users to create honeypot-style attacks
The protocol should force borrowers to transfer collateral to Teller when submitting a bid, with a way to withdraw if the bid expires unaccepted.
Disclosed
-
`FlashRolloverLoan_G5` will not work for certain tokens due to not setting the approval to `0` after repaying a loan
The protocol team fixed this issue by setting the approval to 0 after repaying the loan.
Disclosed
-
Users can bypass auction mechanism for `LenderCommitmentGroup_Smart` liquidation mechanism for loans that are close to end of loan
The protocol team fixed this issue in a pull request.
Disclosed
-
`LenderCommitmentGroup_Smart` picks the wrong Uniswap price, allowing borrowing at a discount by swapping before withdrawing
The min and max usage in the collateral calculation function should be switched.
Disclosed
-
APRs are lower than they should
The protocol team fixed this issue by including the new borrowed amount in the interest rate calculation.
Disclosed
-
Lender may not be able to close loan or get back lending token
The protocol team fixed this issue by using getLoanLender() instead of bid.lender in the close loan functions, as confirmed in the linked PR.
Disclosed