The emergencyWithdraw
function allows an account with EMERGENCY_ROLE
to withdraw all funds. While role-based access control (RBAC) is used, there is a risk if EMERGENCY_ROLE
is assigned to a single externally owned account (EOA). A compromised admin could drain all funds instantly.
If an admin with EMERGENCY_ROLE
gets compromised or acts maliciously, they can withdraw all funds immediately. giving users no time to react to a potential attack.
Loss of Funds
Manual Review
Implement a Time Delay Before Withdrawals
Limit amout that can be withdrawn
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.