Auditing the 0x Protocol v2 with ConsenSys Diligence

ConsenSys Diligence is a ConsenSys service providing audits of smart contracts and programs built off the Ethereum network. Periodically, ConsenSys Diligence will publish a summary of an audit, including weaknesses and recommendations for clients. Recently, the Diligence team completed an audit for the 0x protocol v2 upgrade. Read a recap of the team’s conclusions below.

Scope

The in-scope items can be divided into the following three distinct parts:

Issue Overview

25 issues were identified during the audit. About half of the issues have been prioritised and already fixed during the initial audit phase. Remediation efforts to fix the remaining issues are currently ongoing. The full list of issues can be found in the issue table overview.

Recommendations

We found the quality of the code base to be high, which is especially appreciated when approaching a complex protocol. In particular:

Report

The complete report for the audit has been published here . Github issues were created in a separate audit working repository and links contained in the report are only accessible to the 0x team and the ConsenSys Diligence audit team.