Yes, Compound is largely considered safe. In early October 2021, it was revealed that a bug had put up to $80 million worth of COMP tokens at risk. However, since the execution of Proposal 064, called the ‘Fix COMP Accrual Bug’, this issue is believed to be patched up. Compound is also considered safe because of how popular it is in the crypto community and because it is secured by the Ethereum network. While no crypto will ever be considered completely safe, COMP is safer than most.