Compound has 28 public audit reports from OpenZeppelin, Certora, ChainSecurity and 2 others; the latest is Certora, 1 Sep 2026. 249 findings in 25 reports: 63 fixed, 36 acknowledged, 49 open, 101 informational.
Your label, live · Get it for your site
Updated · Trustblock does not review code.
Bar height: findings in the report · Diamond: a day with upgrades · Select a mark to open it
Anyone can steal money from other suppliers in TUSD market by creating negative interest rates
The report gives no description here.
Report ↗This makes the following two situation indistinguishable: The “EmptyCode” error thrown from this function or the same error thrown from a called script.
This makes the following two situation indistinguishable: The “EmptyCode” error thrown from this function or the same error thrown from a called script. Recommendation: Consider wrapping the revert reasons of a called script into a named error.
Report ↗[H01] Inconsistencies in stored data may lead to incorrect median price
The report gives no description here.
Report ↗A script may clear nonce and then set another script address for the same nonce before returning control.
A script may clear nonce and then set another script address for the same nonce before returning control. In such a case, the other script will be overwritten here with the original script. Recommendation: Consider forbidding such scenario.
Report ↗Implementing this contract in Solidity makes things messy and unreliable.
Implementing this contract in Solidity makes things messy and unreliable. Recommendation: Consider either implementing directly in EVM bytecode (see this gist: https://gist.github.com/3sGgpQ8H/7425157593ffaba3568480470c5f2bad), or passing the byte code as a normal constructor argument.
Report ↗Linear search is extremely inefficient and this loop won’t end in any reasonable time.
Linear search is extremely inefficient and this loop won’t end in any reasonable time. Recommendation: Consider using a more efficient approach. For example implement a bitmap of bucket indexes that don’t have free nonces.
Report ↗Obtaining a state manager here is an expensive external call, while state manager is an immutable variable in “QuarkWallet”.
Obtaining a state manager here is an expensive external call, while state manager is an immutable variable in “QuarkWallet”. Recommendation: Consider adding an abstract function “stateManager” into this abstract contract, so inherited contracts could implement it efficiently.
Report ↗Relying on a particular code size is very error-prone, as code size could be affected by compiler version and settings.
Relying on a particular code size is very error-prone, as code size could be affected by compiler version and settings. Recommendation: Consider refactoring.
Report ↗The QuarkWalletStandalone contract makes authorization claims that it doesn’t enforce.
The QuarkWalletStandalone contract makes authorization claims that it doesn’t enforce. The claims enforced in other contract, and the relationship between these two places is quite weak and unclear.
Report ↗The result of this function may change after deployment in case chain ID will change.
The result of this function may change after deployment in case chain ID will change. This could lead to weird results. Recommendation: Consider just passing the Uniswap factory address as a constructor argument to the contracts that need such address, and storing in an immutable variable.
Report ↗There is a common optimization when domain separator is pre-calculated in constructor and stored in an immutable variable along with check ID.
There is a common optimization when domain separator is pre-calculated in constructor and stored in an immutable variable along with check ID. In case actual chain ID is the same as the one stored in constructor, the stored domain separator is used, otherwise, domain separator is calculated again. The domain separator logic should be implemented in a proxy
Report ↗This loop linearly iterates through “zero” bits of “bucketNonces”, which is inefficient.
This loop linearly iterates through “zero” bits of “bucketNonces”, which is inefficient. Recommendation: It would be more efficient to invert “bucketNonces” and then use the Brian Kernighan algorithm to iterate through “one” bits.
Report ↗The report gives no description here.
Report ↗Allowances Enable Management of Both Base Tokens and Collateral Assets
The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗[M01] Convoluted price update mechanism once reporter is invalidated
The report gives no description here.
Report ↗The report gives no description here.
Report ↗[M03] Unexpected behavior when retrieving the underlying price of a cToken
The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗[M01] Potentially inaccurate median price during sudden, extreme, price variations
The report gives no description here.
Report ↗[M02] Lack of minimum sample size requirement for official price calculation
The report gives no description here.
Report ↗The report gives no description here.
Report ↗[M04] Oracle might fail if anchor price is not updated fast enough
The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗Missing pause flag for pausing lender deposits while allowing loan repayments
The report gives no description here.
Report ↗The report gives no description here.
Report ↗Withdrawals follow the cooldown and expiration settings from when it is initiated, not executed
The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗Identical transactions can be executed inside the same proposal
The report gives no description here.
Report ↗Missing distinction between queued and ready-to-execute state
The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗The report gives no description here.
Report ↗[L01] Unexecuted proposals from Governor Alpha will be frozen
Report ↗[L01] Initial configured markets might not be Uniswap V2 pairs
Report ↗[L02] Immature time-weighted average prices could be used as anchors
Report ↗[L04] Unnecessary event emission after replay of reporter invalidation
Report ↗[L13] Constructor’s parameter order does not match specification
Report ↗| Report | Security firm | Date | Scope | Critical findings | Findings | Source |
|---|---|---|---|---|---|---|
| Comet ERC4626 Wrapper | Security firm: Certora | Date: | Scope: —Not recorded; see the report | None open | Findings: 1 medium · 1 low 2 fixed | certora.cdn.prismic.io ↗ |
| Compound Franchiser V2 | Security firm: ChainSecurity | Date: | Scope: Files listed | None open | Findings: 1 low 1 fixed | chainsecurity.com ↗ |
| Compound Comet Service Patch | Security firm: Certora | Date: | Scope: —Not recorded; see the report | None open | Findings: 1 high · 1 medium · 4 low 5 fixed · 1 acknowledged | GitHub ↗ |
| Compound Treasury Manager | Security firm: Certora | Date: | Scope: —Not recorded; see the report | None open | Findings: 2 low 2 acknowledged | GitHub ↗ |
| Compound rETH CAPO | Security firm: Certora | Date: | Scope: —Not recorded; see the report | None open | Findings: None listed | GitHub ↗ |
| Compound V3 Governor Whitelist | Security firm: Certora | Date: | Scope: —Not recorded; see the report | None open | Findings: None listed | GitHub ↗ |
| Compound V3 Multiplier Plugin | Security firm: Certora | Date: | Scope: —Not recorded; see the report | None open | Findings: 2 medium · 3 low 5 fixed | GitHub ↗ |
| Compound V3 Extended Pause | Security firm: Certora | Date: | Scope: —Not recorded; see the report | None open | Findings: 1 high 1 fixed | GitHub ↗ |
| Compound Quark Smart Contracts | Security firm: ChainSecurity | Date: | Scope: Files listed | None open | Findings: 1 high · 4 medium · 7 low 9 fixed · 3 acknowledged | chainsecurity.com ↗ |
| Compound Labs Quark audit | Security firm: ABDK Consulting | Date: | Scope: —Not recorded; see the report | None open | Findings: 3 high · 10 medium 3 fixed · 10 acknowledged | GitHub ↗ |
| Scroll Alpha Comet Deployment Audit | Security firm: OpenZeppelin | Date: | Scope: Files listed | None open | Findings: 3 low 2 fixed · 1 acknowledged | blog.openzeppelin.com ↗ |
| Compound SUPTB | Security firm: ChainSecurity | Date: | Scope: Files listed | 1 critical finding, fixed | Findings: 1 critical · 1 high · 1 low 3 fixed | chainsecurity.com ↗ |
| Compound Polygon Bridge Receiver Audit | Security firm: OpenZeppelin | Date: | Scope: Files listed | None open | Findings: 2 medium · 7 low 4 fixed · 5 acknowledged | blog.openzeppelin.com ↗ |
| Compound III Audit | Security firm: OpenZeppelin | Date: | Scope: Files listed | None open | Findings: 1 high · 3 medium · 8 low 4 fixed · 4 acknowledged · 4 open | blog.openzeppelin.com ↗ |
| Compound III | Security firm: ChainSecurity | Date: | Scope: —Not recorded; see the report | None open | Findings: 1 high · 7 medium · 12 low 13 fixed · 7 acknowledged | chainsecurity.com ↗ |
| Compound Comprehensive Protocol Audit | Security firm: OpenZeppelin | Date: | Scope: Files listed | 1 open critical finding | Findings: 1 critical · 10 low 11 open | blog.openzeppelin.com ↗ |
| cToken (unredacted) | Security firm: ChainSecurity | Date: | Scope: —Not recorded; see the report | 1 critical finding, fixed | Findings: 1 critical · 3 medium · 11 low 8 fixed · 7 acknowledged | chainsecurity.com ↗ |
| Compound Governor Bravo Audit | Security firm: OpenZeppelin | Date: | Scope: Files listed | None open | Findings: 2 medium · 5 low 3 fixed · 4 open | blog.openzeppelin.com ↗ |
| Compound Protocol | Security firm: Quantstamp | Date: | Scope: Files listed | None open | Findings: 1 medium · 1 low 2 fixed | certificate.quantstamp.com ↗ |
| Compound Open Price Feed | Security firm: OpenZeppelin | Date: | Scope: Files listed | None open | Findings: 4 medium · 13 low 17 open | blog.openzeppelin.com ↗ |
| Compound COMP Distribution System Audit | Security firm: OpenZeppelin | Date: | Scope: Files listed | None open | Findings: None listed | blog.openzeppelin.com ↗ |
| Compound: Tether Integration Audit | Security firm: OpenZeppelin | Date: | Scope: —Not recorded; see the report | None open | Findings: 1 medium · 3 low 4 open | blog.openzeppelin.com ↗ |
| Compound Gas Optimizations Audit | Security firm: OpenZeppelin | Date: | Scope: Files listed | None open | Findings: 1 low 1 open | blog.openzeppelin.com ↗ |
| Compound Alpha Governance System Audit | Security firm: OpenZeppelin | Date: | Scope: Files listed | None open | Findings: 2 high · 3 medium · 6 low 1 fixed · 10 open | blog.openzeppelin.com ↗ |
| Compound Open Oracle Audit | Security firm: OpenZeppelin | Date: | Scope: Files listed | None open | Findings: 1 high · 4 medium · 4 low 9 open | blog.openzeppelin.com ↗ |
Also reviewed: Comet ERC4626 Wrapper (Certora), Compound Franchiser V2 (ChainSecurity), Compound Comet Service Patch (Certora), Compound Treasury Manager (Certora), Compound rETH CAPO (Certora), Compound Quark Smart Contracts (ChainSecurity), Compound Labs Quark audit (ABDK Consulting), Scroll Alpha Comet Deployment Audit (OpenZeppelin), Compound SUPTB (ChainSecurity), Compound Polygon Bridge Receiver Audit (OpenZeppelin), Compound Comprehensive Protocol Audit (OpenZeppelin), cToken (unredacted) (ChainSecurity), Compound Governor Bravo Audit (OpenZeppelin), Compound Protocol (Quantstamp), Compound Open Price Feed (OpenZeppelin), Compound COMP Distribution System Audit (OpenZeppelin), Compound: Tether Integration Audit (OpenZeppelin), Compound Gas Optimizations Audit (OpenZeppelin), Compound Alpha Governance System Audit (OpenZeppelin), Compound Open Oracle Audit (OpenZeppelin)
CometProxyAdmin · CometFactoryWithExtendedAssetList (0x1fa4…c958, 0xba8f…3867) · CometRewards · MainnetBulker · MainnetBulkerWithWstETHSupport · Timelock · Comp.
| Who can upgrade | Contracts | Upgrades on record | Last upgrade |
|---|---|---|---|
| Timelock, delay 2 days (0x6d903f6003cca6255d85cca4d3b5e5146dc33925) | 9 | 26 | 8 May 2022 |
Upgrades only. Pausing, minting and other roles are not read yet.
Trustblock holds 28 public audit reports for Compound, dated 23 Aug 2019 to 1 Sep 2026. The latest is by Certora (“Comet ERC4626 Wrapper”).
5 security firms wrote the reports Trustblock holds for Compound: OpenZeppelin, Certora, ChainSecurity, ABDK Consulting and Quantstamp.
249 findings in 25 reports: 63 fixed, 36 acknowledged (the team chose not to change the code), 49 open, 101 informational. Of 3 critical findings: 1 open, 2 marked fixed. Statuses are the security firms’ own.
8 of the 16 contracts read on chain can be upgraded.
1 incident is on record: Incident, 29 Sep 2021. Attached through a shared contract address. Our incident data ends in Nov 2026.
How this record is made. Public reports from each firm and what the chain itself answers, each read twice and compared with the original. No score, no grade. Method and limits · Something wrong? Tell us