The safety of the Ethereum protocol is regularly being improved, and one current effort is the exterior safety assessment of the Pectra System Contracts.
The outcomes of this assessment might be discovered within the audits repository, and the TL;DR is that each one found points deemed related or necessary from these critiques have been addressed.
Audit Scope and Methodology
The Pectra System Contracts embody a number of EIPs (EIP-2935, EIP-7002, and EIP-7251), and critiques have been primarily performed to:
- Consider the contracts for potential assault vectors.
- Be certain that the contract logic precisely implements the meant performance as per the EIP specs.
A multi-phase method was taken, with every audit constructing upon the findings of earlier ones:
- Blackthorn Audit
- Dedaub Audits
- PlainShift Audit
- Sigma Prime Audit
Between every assessment, code enhancements have been made earlier than continuing to the following spherical of audits.
Formal Verification
Along with the safety critiques listed above, a16z carried out a Formal Verification utilizing Halmos.
They used Halmos to formally confirm the purposeful correctness of those contracts. This particularly centered on whether or not the bytecode aligned with the spec, moderately than evaluating the safety of the spec itself in opposition to potential abuse or malicious use. This separation of considerations permits auditors and the neighborhood to assessment the spec with out worrying about low-level bytecode implementation particulars.
Subsequent Steps
The complete reviews might be discovered within the Pectra System Contracts Audits repository.
A bug bounty competitors is presently operating on Cantina has rewards of as much as $2,000,000 for findings associated to Pectra.
As at all times, the safety of the Ethereum ecosystem is a collective effort. We lengthen our gratitude to all of the auditors and contributors who’ve performed an necessary half on this course of!