Whatever happens to any DeFi project the code is to be blame, this is why DeFi projects are highly risky than any other projects in crypto space, if failure comes it's the code, if hacks happens it's the code to be blamed, this is just the way it is, so tell me why won't devs rug pulled themselves? There will be no one to be blame anyways
I think the legit Defi project are very few among the thousands that are bad, of course this is what you will hear ones there is such situation which will make you wonder why blaming the code instead of blaming the creator of the code, someone or people is definitely behind the coding and suddenly nobody is talking about that but just the wrong code,
Between careful has nothing to do with it when especially you are not a coder and can not tell if a code is right or wrong, Defi projects are risky investment no doubt.