You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The contract lacks a mechanism to pause operations during emergencies or detected exploits. This limits the ability to respond to incidents and mitigate damage.
Vulnerability Details
The contract lacks a mechanism to pause operations during emergencies or detected exploits. This limits the ability to respond to incidents and mitigate damage.
Analysis
How It Can Be Harmful
How to Mitigate the Issue
Use the
Pausable
library to add pause and unpause functions:Ensure only authorized accounts (e.g., owner or admin) can pause or unpause the contract.
References:
Pausable
modifier.The text was updated successfully, but these errors were encountered: