3 ms·
Can you elaborate on this? How does swapping out O for a 0 introduce a backdoor?
by gruez 6y ago
Can you elaborate on this? How does swapping out O for a 0 introduce a backdoor?
- qqii 6y agoYou can find the details in this article (not written by me): https://obelisk.medium.com/meerkat-finance-and-the-0-that-was-worth-31m-769d9321d245 https://obelisk.medium.com/meerkat-finance-and-the-0-that-wa... In short: * the smart contact is made in a way that allows upgrades by an administrator * the developers transfer their administrator privileges to another user as a show of good faith * the code to transfer the privileges actually doesn't do anything * the developers upgrade the contract giving themselves permission to take the funds
- londons_explore 6y agoLooks to me like the 0 breaks the functionality for setting a new admin. It dosn't directly break any permissions stuff, and in fact I don't think it leads to a backdoor itself. Then elsewhere on line 50, anybody who creates a Proxy object will automatically be made the admin with zero auth.
- deleted 6y ago[deleted]