description |
---|
_Submitted by (3) Bahurum, also found by bin2chen and cryptphi_ |
Before any VOTES
are minted anyone can activate and execute an arbitrary proposal even with 0 votes cast. So an attacker can pass any proposal (i.e. change the executor
+ admin
of the Kernel
, gaining access to all permissioned functions and to funds held).
In Governance.sol
check for a minimum VOTES totalSupply.