The volatile nature of yield farming, flash loan attacking, and impermanent loss are all risks of yield farming that can lead to significantly reduced returns or even a complete loss of capital.