The certain functions in Laundrette which can be called by God Father also has a gangmember check on them which makes it mandatory for the God Father to also be a gangmember role.
But as the God Father is not granted the gangmember role in Deploy Script it will lead to DoS for God Father to certain functions, as God Father cannot be made gangmember after running the Deploy scripts.
The vulnerability arises due to the fact that God Father is also required to be a gangmember, but is not granted a role in the Deploy Scripts, and cannot be later added as gang member because only the admin role can do that and this role is given to Laundrette and Laundrette has addToTheGang function which has a condition for the caller to be both God Father and gangmember.
As a result of which God Father will face DoS in certain functions.
God Father faces DoS in Laundrette contract to functions such as withdrawMoney, addToTheGang, takeGuns.
Manual Review
Make the God Father the gangmember via the Deploy Scripts Deployer.s.sol
Add the below line just next to line 39
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.