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

Missing Implementation of _emergencyWithdraw in strategies

Summary

The protocol does not implement _emergencyWithdraw function from BaseStrategy contract. In case of attack or something bad happens funds will be stucked.

Vulnerability Details

The strategies currently in scope lack an implementation of the _emergencyWithdraw function, which is critical for handling emergency situations. If an incident occurs, there is no mechanism to recover the funds securely.

Impact

Calling the shutdownWithdraw function from the BaseStrategy contract would invoke _emergencyWithdraw. However, without an implementation in the strategies, the call will fail to execute, leaving the funds inaccessible.

Tools Used

Manual Review

Recommendations

Implement the _emergencyWithdraw function.

Updates

Appeal created

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

Support

FAQs

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