Passing in a fraudulent loan token can lead to a loss of funds for the borrower.
Since tokens aren't vetted, a lender can pass in any address for loanToken.
Let's take the following scenario:
Lizzy - Lender (malicious)
Bob - Borrower
Lizzy creates a fraudulent WETH token (FWETH = Fake WETH). It will have the same symbol, name and decimals as the real WETH. FWETH doesn't even have to implement any malicious code it just has to look like the real WETH token.
Lizzy creates a pool where she loans out her FWETH for real USDC.
Bob, an unsuspecting user, trades his USDC for FWETH. Bob thinks he just got WETH, but in fact he got FWETH which just mirrors the real token. Since the tokens aren't the same Bob is now holding a useless token which he can't use.
Unsuspecting users can trade real tokens for fake ones, without realizing it.
Manual review
Create whitelist/blacklist for token addresses where tokens can be vetted.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.