DeFiFoundrySolidity
16,653 OP
View results
Submission Details
Severity: high
Invalid

Missing implementation of `_emergencyWithdraw`

Summary

The protocol does not include the _emergencyWithdraw function in its strategies. This means funds could be locked and unrecoverable during emergencies, such as an attack or system failure.

Vulnerability Details

The strategies in scope are missing the _emergencyWithdraw function. This feature is vital for retrieving funds during critical events. Without it, there is no way to safely extract assets if something goes wrong.

Impact

If the shutdownWithdraw function in the BaseStrategy contract is used, it attempts to call _emergencyWithdraw. Since this function is not defined in the strategies, the call will not work, leaving the funds inaccessible.

Tools Used

Manual Review

Recommendations

Add the _emergencyWithdraw function to all strategies to ensure funds can be withdrawn securely during emergencies.

Updates

Appeal created

inallhonesty Lead Judge 8 months ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.