Skip to main content

DelegateCall Vulnerability

Definition

A delegatecall vulnerability is a critical security flaw specific to Ethereum smart contracts that utilize the delegatecall opcode. This opcode allows a contract to execute code from another contract in the context of the calling contract’s storage. If not properly controlled, a malicious external contract can manipulate the calling contract’s state variables or even drain its funds. This represents a significant risk for decentralized applications.