aligned_layer
aligned_layer copied to clipboard
fix(contracts): AlignedLayerServiceManager initialization could frontrun
Overview:
AlignedLayerServiceManager
contract initialize step can be frontrun in some cases.
Detailed Behavior:
The AlignedLayerServiceManager contract does not implement a way to prevent frontrunning during the initialization step.
But since the deployer script use a ProxyAdmin with an upgradeAndCall to initialize the contract, the frontrunning is not possible in this case.
Mitigation:
Implementing access control checks in the AlignedLayerServiceManager contract to prevent frontrunning during the initialization step in case the contract is behind another type of proxy.