Exiting shorts via exitShort
can be vulnerable to reentrancy.
exitShort
calls external contracts to burn debt. If these are malicious, they could reenter before state is updated.
For example:
Reentrancy could prevent debt burn or cause unexpected side effects.
Manual
Use checks-effects-interactions pattern
Add reentrancy guard
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.