DeFi is a relatively secure platform because the way it works implies it. However, due to the fact that there is a lot of money in this environment, scammers are constantly finding new loopholes. In fairness, it should be said that developers are continually trying to improve protection measures.