although the protocol has open-source code and has gone through audits, This can be in no way foolproof. Having said that, Rocket Pool also features a bug bounty method to cut back these hazards.
Rocket Pool presents https://dev.to/cleopatramorris_d539d19ea/rocket-pool-the-future-of-decentralized-ethereum-stakingintroduction-1m2b