claim
function vulnerability
The claim
function calls an external contract (LOCKUP_TRANCHED.createWithDurations)
after state changes. There is minimal validation of inputs in functions like claim.
Could potentially allow for reentrancy attacks if the called contract is malicious or compromised. Minimal validation of input can lead to unexpected behavior and potential exploits.
MythX, Mythril
Adding comprehensive input validations.
Using the Checks-Effects-Interactions pattern, where interactions with other contracts are made last.
Claim function should be written like this
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.