An attacker may manipulate the call to exploit vulnerabilities or interfere with the contract's intended behavior.
The protocol.call{value: balance}("");
and IERC20(_token.addr).transfer(protocol, balance);
lines in the forwardRemainingRewards function perform unchecked external calls, which may lead to unexpected behavior and could potentially be exploited.
These lines singly also:
The forwardRemainingRewards
function contains unchecked external calls, which may expose the contract to potential vulnerabilities. The lines protocol.call{value: balance}("");
and IERC20(_token.addr).transfer(protocol, balance);
lack proper validation, creating a risk of unexpected behavior and potential exploitation.
VsCode / Manual
Implement proper validation for external calls to ensure their success and mitigate potential reentrancy issues. Enhance the security of the contract and prevent exploitation risks.
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.