Skip to main content

ERC-7512: On-chain Representation of Audit Reports

ERC-7512 introduces a standardized, on-chain format for publishing smart contract audit reports. Traditionally, audit reports are stored as off-chain PDF docume

Abstract

ERC-7512 introduces a standardized, on-chain format for publishing smart contract audit reports. Traditionally, audit reports are stored as off-chain PDF documents, making it difficult for users or automated systems to programmatically verify the security status of a contract. This standard defines a schema for an ‘Audit Report’ contract that maps the audited code, the auditing firm, the scope of the review, and the conclusion to a consistent structure on the blockchain. By providing a common interface, ERC-7512 allows dapps, user interfaces, and even other protocols to query whether a specific contract version has been audited and by whom. This infrastructure fosters a more transparent security ecosystem where audit validity is verifiable in real-time. The standard includes mechanisms for linking reports to specific source code hashes and on-chain bytecode, ensuring that the audit results correspond to the actual code deployed. This initiative is a significant step toward institutionalizing security and increasing user confidence in decentralized finance by turning static security assessments into live, queryable data points that support automated security verification. Authors: Richard Meissner, Robert Chen, Paco de la Cruz Publication: Ethereum Improvement Proposals Publication date: 2023-01-01

Key findings

  • Enables programmatic verification of smart contract security audits on-chain.
  • Provides a standardized schema for audit reporting to increase transparency.
  • Links audit results directly to immutable code hashes for verification.
  • Facilitates the development of security-aware dapps and automated risk assessment tools.

Citation

Richard Meissner, Robert Chen, Paco de la Cruz (2023). ERC-7512: On-chain Representation of Audit Reports. Ethereum Improvement Proposals. https://eips.ethereum.org/EIPS/eip-7512
Canonical knowledge ID: research:erc-7512-on-chain-representation-of-audit-reports