Updating short records via fillShortRecord()
can be vulnerable to reentrancy.
fillShortRecord()
calls external contracts for yield rates. If these contracts are malicious, they could reenter fillShortRecord()
before state is updated.
For example:
Reentrancy could lead to collateral being drained or unexpected state changes.
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.