In Nexus.sol
, there's a missing check for executor removal, which potentially leads to a Denial of Service (DoS) scenario.
In Nexus.sol, there is a function _uninstallExecutor
that removes executors from the protocol without verifying if at least one executor remains installed. This contrasts with _uninstallValidator
, which includes a check to prevent the removal of the last validator. Here’s the vulnerable code snippet:
This vulnerability could potentially lead to a situation where all executors are removed from the protocol. As a result, functionalities like this within Nexus.sol
that depend on executors would become unavailable, potentially disrupting the protocol's operation and leading to a denial of service.
Manual Code Review
Modify _uninstallExecutor
to include a check ensuring that at least one executor remains installed before allowing any to be uninstalled:
Invalid, known issue: > Validator management > - A Nexus Smart Account could be locked forever if the owner installs a validator in the wrong way and does remove all other valid validators
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.