Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2022/10/01 12:0 a.m.34 views

Frontrunning the initialize function can drain the LP initial deposit

Lines of code Vulnerability details Impact An attacker can frontrun the initialize function in AlgebraPool.sol to set an unexpected price and can cause loss of funds for the initial LP deposit. Proof of Concept function initializeuint160 initialPrice external override requireglobalState.price == ...

7AI score
SaveExploits0
Rows per page
Query Builder