Submitted by WatchPug, also found by cmichel
The owner of MasterChef.sol can add a depositor with addDepositor().
MasterChef.sol#L78-L80
A depositor can deposit with an arbitrary amount, without any cost.
MasterChef.sol#L157-L180
This allows a malicious/compromised depositor to take the majority share (nearly 100%) of all pools simply by calling deposit() with extremely large amounts, and take all the rewards.
See the Recommendation section on issue #200 and remove the depositor role.
ryuheimat (Concur) disputed and commented:
Alex the Entreprenerd (judge) decreased severity to Medium and commented:
