20,000 USDC
View results
Submission Details
Severity: gas
Valid

Scope of reentrancy Staking.sols claim() function

Summary

There is scope of reentrancy in Staking.sol claim() function as it does not follow check-effect-integration pattern.

Vulnerability Details

While all the function interacting with external contract implement check-effect-integration pattern, staking.sol's claim() function is not using non-reentrancy modifier or using the check-effect-integration pattern leaving it susceptible to Reentrancy attack.

Impact

Possibility of reentrancy attack.

Tools Used

Manual Review

Recommendations

Implement check-effect-integration pattern in staking.sol's claim() function along with non-reentrancy modifier

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.