Access control with governance timelocks
An admin role alone permits immediate sensitive changes. Review every route that can change the same protected state.
Risk assessment
An admin role alone permits immediate sensitive changes. Review every route that can change the same protected state.
Mitigation
Require a timelock for material changes. Keep proposer, executor and emergency permissions narrow and document the emergency scope.
Solidity mitigation excerpt
require(msg.sender == address(timelock), Unauthorized());Foundry · Regression check
Use local time controls; assert a queued change fails before its delay and succeeds only once when eligible.
Mitigation
Related topics
What should I verify first?
Use local time controls; assert a queued change fails before its delay and succeeds only once when eligible.