Unlock: free UDT arbitrage opportunity #70
Labels
2 (Med Risk)
Assets not at direct risk, but function/availability of the protocol could be impacted or leak value
bug
Something isn't working
Handle
itsmeSTYJ
Vulnerability details
Impact
Uniswap v2 made oracle attacks much more expensive to execute (since it needs to be manipulated over X number of blocks) however its biggest drawback is that it reacts slow to price volatility (depends on how far back you look). Depending on a single oracle is still very risky and can be exploited given the correct conditions.
Assuming the ideal conditions, it is possible to purchase many keys across many locks for the UDT token that is distributed to the referrer and sell them on some other exchanges where the price of UDT is higher; high enough such that the malicious user can still profit even after requesting for a refund (w/ or w/o a free trial).
Proof of Concept
This exploit is made possible because of:
The following assumptions has to be true for this attack to work:
udtOracle.updateAndConsult()
only updates once per day, it is slow to react to the volatility of UDT price movements.Recommended Mitigation Steps
The text was updated successfully, but these errors were encountered: