Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2023/03/20 12:0 a.m.14 views

IRRETRIEABLE COLLATERAL FOLLOWING A COMPLETE SHORT TRADE CLOSE

Lines of code Vulnerability details Impact This may have been prevented in the UI, but users opting for external integrations might unintentionally input zero or inadequate amount of params.collateralAmount and end up having the collateral stuck in ShortCollateral.sol forever after completing a...

7.1AI score
SaveExploits0
Code423n4
Code423n4
added 2023/03/20 12:0 a.m.14 views

Short positions can be burned while holding collateral

Lines of code Vulnerability details Impact Users can permanently lose a portion of their collateral due to a malicious attacker or their own mistake. Vulnerability Details In the ShortToken contract, adjustPosition is used to handle changes to a short position's short or collateral amounts. The...

6.8AI score
SaveExploits0
Rows per page
Query Builder