shazow
@shazow.eth
Some of the biggest losses in crypto have been due to upgradeable contracts. Naively it sounds safer, but it adds a lot of complexity and attack surface. If you're working on a contract, enable easy migration instead of upgradeability if possible. If you must, limit upgrading to the smallest components.
3 replies
4 recasts
33 reactions
HH
@hamud
did they not use openzeppelin?
1 reply
0 recast
0 reaction
shazow
@shazow.eth
a million ways a well audited upgradeable mixin like openzeppelin can still get hacked. Safe Wallet is probably the most audited upgradeable proxy per lines of code, yet ByBit hack still happened! An upgradeable contract is an eternal liability for every surface API exposed (eg initialize) and for every wallet that has permissions to upgrade.
1 reply
0 recast
2 reactions
v1rtl
@v1rtl.eth
not the contract was hacked tho but the frontend
0 reply
0 recast
0 reaction