exitShort()
is vulnerable to front running.
exitShort()
creates a forced bid using msg.sender
as the bidder. It does not check that msg.sender
matches the short owner.
This allows an attacker to front run the transaction and place the bid themselves.
Attacker could steal funds by filling their own forced bid order.
Manual
Add a onlyShortOwner
modifier:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.