Smart Contract Mutability
Smart Contract Mutability refers to the ability to modify the code or functionality of a smart contract after it has been deployed to the blockchain. While many contracts are intended to be immutable, developers often implement upgradeable patterns, such as proxy contracts, to fix bugs or introduce new features.
This flexibility, however, introduces risks, as it creates an attack vector where the contract logic could be changed maliciously. To mitigate this, developers use time-locked deployments to ensure that any change to the contract logic is transparent and subject to a delay.
Understanding the balance between necessary updates and the risk of centralization is central to assessing protocol security.