Identify the assets, components, and code revisions in scope.
Compound Price Oracle
We analyzed two versions of the code, verifying 5 global properties, uncovering 7 issues, and confirming the resolution of 1 issue between versions across the CarefulMath, Exponential, and PriceOracle contracts.
Why this engagement is relevant
Published 2018-09-05. Use the original report to inspect the reviewed revision, methodology, findings, and scope.
We reviewed two preliminary versions of the code provided by Geoff Hayes on July 14 and July 26, 2018. A partial analysis was conducted on the July 14 version, followed by a more thorough analysis of the July 26 version. Our audit focused on three contracts: CarefulMath, Exponential, and PriceOracle. Logical specifications were written for methods in all three contracts, along with global invariants for the PriceOracle contract. These specifications, along with assertions in the original code, were rigorously checked using our verification tool.
The audit uncovered 7 issues and verified 5 global properties. One issue (Issue #1) was identified in the July 14 version and resolved in the July 26 version. All other identified issues remain in the July 26 version.
Look at the questions and the evidence.
Review the techniques used and the assumptions they depend on.
Follow the findings, responses, and final status in the source report.
Have a related system
you want to discuss?
Share your codebase, security priorities and target release.