DeFiFoundry
50,000 USDC
View results
Submission Details
Severity: low
Invalid

Lack of Emergency Stop Mechanism

Summary

The protocol lacks an emergency stop mechanism to pause all operations in case of a critical vulnerability or attack

Vulnerability Details

There is no function to pause the entire protocol, leaving it vulnerable to ongoing attacks

Impact

In the event of an attack, the protocol could continue to operate, leading to further losses

Tools Used

Manual code review

Recommendations

Implement an emergency stop mechanism that pauses all critical operations

bool public paused;
modifier whenNotPaused() {
require(!paused, "Protocol paused");
_;
}
function pause() external onlyOwner {
paused = true;
}
function unpause() external onlyOwner {
paused = false;
}
Updates

Lead Judging Commences

n0kto Lead Judge 3 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Informational or Gas

Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelihood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.

Support

FAQs

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