Submitted by cmichel, 0xRajeev, 0xsanson, gpersoon, also found by hickuphh3 and shw
Several contracts implement an onlyDAO modifier which, as the name suggests, should only authorize the function to be executed by the DAO.
However, some implementations are wrong and either allow the DAO or the deployer to execute, or even only the deployer:
Incorrect implementations:
In all of these functions, the deployer may execute the function as well which is a centralization risk.
The deployer can only sometimes be purged, as in synthFactory, in which case nobody can execute these functions anymore.
Recommend renaming it to onlyDeployer or onlyDeployerOrDAO depending on who has access.
verifyfirst (Spartan) acknowledged:
ghoul-sol (judge) commented:
ghoul-sol (judge) commented:
