When creating a leveraged position, by taking out the flash loan, the contract checks if the leveraged position is safe. This is done to avoid liquidation as a result of price movements in the market.
Howver, the protocol only checks if leverage is greater than 1e18 which passes the protocol check but may actually be unsafe. The leveraged position may pass the check but still be unsafe
Likelihood:
This will occur when the protocol creates a leveraged position with a very high borrow amount. The position may be technically safe but risky
Impact:
This can lead to the liquidation of leveraged position as a result of price movements in the market.
It violates the protocol's economic design
This vulnerability can be mitigated by setting a minimum healthy position
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.
The contest is complete and the rewards are being distributed.