20,000 USDC
View results
Submission Details
Severity: low
Valid

Adversary can DOS a pool for almost no cost

Summary

Adversary can DOS a pool for little to no cost.

Vulnerability Details

Adversary can be monitoring a pool and completely DOS it by sandwiching any attempt to borrow from the pool. Upon seeing a borrowing transaction, the malicious user can front-run it taking all of the pool's liquidity, making sure the innocent user's transaction will revert. Then, the malicious user can back-run it and repay their borrow. As everything will happen in a matter of seconds, the interest will be negligible.

Impact

Full DoS of a pool for almost no cost.

Tools Used

Manual review

Recommendations

Add a minimum interest fee, despite the length of the borrow, in order to make this attack costly and prevent it.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!