Selfdestruct Risks in Proxies
Selfdestruct risks in proxies involve the danger of an attacker triggering the selfdestruct opcode on a proxy or implementation contract, causing it to be removed from the blockchain. If the proxy is destroyed, the protocol loses its interface and state, effectively bricking the application.
Even if only the implementation is destroyed, the proxy becomes a dead end, unable to perform any functions. This risk is particularly acute in upgradeable patterns where the logic contract might be vulnerable to direct calls.
Auditors check for the presence of selfdestruct and ensure that administrative functions are protected. Preventing this is essential for the long-term viability of any upgradeable protocol.