The function _uninstallHook
in ModuleManager
claims to ensure that the current hook matches the one intended for uninstallation, as stated in the comments. However, the code does not include any checks to confirm this.
Without this check, there is a risk of uninstalling the wrong hook.
Implement a check within the _uninstallHook
function to ensure that the hook being uninstalled matches the current active hook.
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.