Description:
The _preventDelegateCall
function reverts with a custom error Errors.DelegateCall()
but does not emit any event to log the occurrence of a delegate call attempt.
Impact:
Without an event emission, it becomes difficult to track and analyze delegate call attempts, hindering monitoring and debugging.
Proof of Concept:
Interact with the contract and observe that no event is emitted when a delegate call is prevented.
Recommended Mitigation:
Emit an event when a delegate call is detected and prevented.
https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity
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.