Compound regularly undergoes third-party security audits by OpenZeppelin and Trail of Bits. It was also subjected to third party audits for economic stress testing and Certora verification.