although the protocol has open-source code and it has passed through audits, This really is not at all foolproof. That said, Rocket Pool also provides a bug bounty application to reduce these types of hazards.
Any such https://dev.to/cleopatramorris_d539d19ea/rocket-pool-the-future-of-decentralized-ethereum-stakingintroduction-1m2b