Yield Farming contains risk as any financial instrument. DeFi risks differes from classic types of risks in traditional finances. Meaning that you must educate yourself about it and be as aware of those as possible. Main DeFi risks are:
Loosing of your private keys or getting hacked equals to loss of all funds