> For the complete documentation index, see [llms.txt](https://performance-ai.gitbook.io/performance-ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://performance-ai.gitbook.io/performance-ai/technology/smart-contracts-auditor.md).

# Smart Contracts Auditor

The Smart Contracts Auditor is an AI-driven tool that thoroughly examines smart contracts for vulnerabilities, inefficiencies, and compliance with security standards. By leveraging a custom AI model trained on over 15,000 smart contract examples and the latest security protocols, it provides users with detailed insights into the integrity of their contracts.

**How It Works**

* Data Input: Users provide the smart contract address they wish to audit.
* Syntax and Structure Check: The AI parses the code to ensure it follows proper syntax and adheres to best coding practices.
* Security Vulnerability Assessment: Scans for common vulnerabilities such as reentrancy attacks, overflows, underflows, and unauthorized access points.
* Optimization Review: Identifies areas where the code can be optimized for gas efficiency and performance.
* Compliance Verification: Checks compliance with industry standards and regulatory requirements.
* Report Generation: After analysis, the AI generates a comprehensive audit report highlighting:
  * Detected vulnerabilities with severity levels.
  * Suggested code improvements and optimizations.
  * Overall security rating and compliance status.

**Usage Steps**

1. Access the dApp: Visit the Performance AI decentralized application (dApp) and navigate to the Smart Contracts Auditor section.
2. Input Contract Address: Enter the smart contract address.
3. Initiate Audit: Click the 'Audit' button to start the analysis process.
4. Review Audit Report: After processing, access the detailed report to understand the findings and recommendations.

**Cost**

5 Credits per contract audit.

**Benefits**

* Enhances security by identifying potential risks before deployment.
* Saves time and resources compared to manual audits.
