Cross-Contract Interaction Risks
Cross-contract interaction risks arise when a smart contract relies on the behavior of other, external contracts to function correctly. Because many DeFi protocols are composable, they often interact with third-party tokens, lending pools, or governance modules.
If an external contract behaves unexpectedly, is upgraded, or contains a vulnerability, it can propagate risk to the calling contract. This creates a complex web of dependencies that is difficult to audit fully.
Developers must assume that external contracts are potentially malicious or unreliable. To mitigate this, they implement checks on return values and limit the scope of interaction.
This category of risk is a major factor in systemic contagion, where the failure of one protocol triggers a chain reaction. Understanding these risks is crucial for building resilient financial systems in an interconnected ecosystem.