Lucene search
+L

3 matches found

Code423n4
Code423n4
added 2023/06/02 12:00 a.m.17 views

addCredit() impacts the price curve of loan auctions

Lines of code Vulnerability details Impact The price curve of a loan auction is supposed to depend only on block.timestamp, meaning that the price increases as time goes on. However, the addCredit function allows anyone to change or increase the value of lien.credit. If lien.credit is increased,...

6.8AI score
SaveExploits0
Code423n4
Code423n4
added 2022/09/28 12:00 a.m.13 views

The price be manipulated when the liquidity is thin because the flashloan feature and swap feature are present at the same time in algebra pool

Lines of code Vulnerability details Impact Detailed description of the impact of this finding. the price curve pool in the application is xy = k with price range and centralized liqudiity, when the liquidity is thin, the price can be easily manipulated at the favor of malicious user because the...

7AI score
SaveExploits0
Code423n4
Code423n4
added 2021/12/22 12:00 a.m.9 views

rong comment in getFee

Handle cmichel Vulnerability details The ThreePieceWiseLinearPriceCurve.getFee comment states that the total + the input must be less than the cap: If dollarCap == 0, then it is not capped. Otherwise, then the total + the total input must be less than the cap. The code only checks if the input is...

7.2AI score
SaveExploits0
Rows per page
Query Builder