On-chain data

Smart-contract audit

Definition

A smart-contract audit reviews contract code for risks; it can reduce risk without guaranteeing that the contract is free of exploitable flaws.

How smart-contract audit works

A smart-contract audit reviews contract code for risks; it can reduce risk without guaranteeing that the contract is free of exploitable flaws.

Understand the limits of a code review before trusting a badge.

Example

A review records 17 findings and documents fixes for 12: 17 - 12 = 5 findings still require disposition. A fixed-findings count does not prove safety. This smart-contract audit example uses hypothetical inputs.

Common mistakes

  • Reading an audit logo without checking which code was reviewed.