Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2022/03/30 12:00 a.m.9 views

GenericSwapFacet misuses _lifiData

Lines of code Vulnerability details Impact https://github.com/code-423n4/2022-03-lifinance/blob/main/docs/GenericSwapFacet.md stated that lifiData is strictly for analytics purposes. But lifiData is used to set receivingAsset. Proof of Concept In GenericSwapFacet.swapTokensGeneric,...

7AI score
SaveExploits0
Code423n4
Code423n4
added 2022/03/29 12:00 a.m.13 views

Reliance on lifiData.receivingAssetId can cause loss of funds

Lines of code Vulnerability details Impact In the swapTokensGeneric function, an arbitrary number of swaps can be performed from and to various tokens. However, the final balance that is sent to the user relies on lifiData.receivingAssetId which has no use in the swapping functionality. LifiData ...

6.8AI score
SaveExploits0
Rows per page
Query Builder