The L1BossBridge.sol contract uses an onlyOwner modifier for critical functions like pause, unpause, and setSigner. This centralizes control in the hands of a single entity, which could be a security risk if the owner's private key is compromised.
This vulnerability exists in the L1BossBridge.sol pause, unpause, and setSigner functions starting on line 49.
These functions use the onlyOwner modifier, which means only the owner can execute these functions. This centralization creates a single point of failure.
Considering implementing a multi-signature mechanism or a decentralized governance system would avoid this issue to happen.
If the owner's account is compromised, the attacker could pause the bridge, potentially disrupting service and causing financial loss.
Test case example with pause function.
Forge
Implement a decentralized control mechanism, such as a multi-signature wallet or a DAO, to manage these critical functions.
This is a simplified example with a multi-signature mechanism
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.