In Bridge.sol
, startRequestCancellation
function is currently restricted to the contract owner, which could lead to user funds being locked if the owner is unavailable or unresponsive.
startRequestCancellation
function is restricted to the owner:
While cancelRequest
function is open to anyone:
Users may be unable to initiate the cancellation process if the owner is unavailable, leading to locked funds.
Manual review
Remove the onlyOwner
modifier from startRequestCancellation
:
Please, do not suppose impacts, think about the real impact of the bug and check the CodeHawks documentation to confirm: https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity A PoC always helps to understand the real impact possible.
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.