The _uninstallHook
function fails to verify if the hook being uninstalled is the currently active hook. This oversight allows for the uninstallation of any hook address provided, potentially leading to security risks and inconsistent contract states.
The original _uninstallHook
function lacks a crucial check to verify if the hook being uninstalled is the currently installed hook. This allows for the uninstallation of any hook, regardless of its current installation status.
Unintended removal of active hooks.
manual review
Implement a check to ensure the hook being uninstalled matches the currently installed.
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.