The TimelockerController.sol::scheduleEmergencyAction and TimelockerController.sol::executeEmergencyAction are functions to accelerate the proposal process and jump the usual delay to be executed in a short period of time. However, it still needs to wait for a minimum delay, and that is what the TimelockerController implements a constant variable to have a delay over emergency actions.
The problem is thatEMERGENCY_DELAYis never used and any operation can be instantly executed once scheduled.
Emergency actions can be executed immediately not giving time for users to acknowledge the situation and decide what to do.
Code Review
Check if block.timestampis bigger than _operations[id].timestamp + EMERGENCY__DELAYand then execute the action.
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.