English

AI Smart Contract scan

What an AI Smart Contract scan is, and when to use it instead of an AI Code scan.

AI Smart Contract scan is the blockchain scan type in AI Scans. Agents reason about on-chain logic, access control, accounting, and cross-contract flaws that involve libraries and integrations. They simulate transactions across multiple parties to find maximal extractable value (MEV) flaws, including ones that depend on an oracle price update.

An AI Code scan reviews application code, and it can include contract code in that broader review. An AI Smart Contract scan keeps the agents on the contracts.

#Use cases

  • Review contracts before a deployment: Find exploitable flaws with less time and cost than a manual audit
  • Scope a release: Limit the scan to the contracts you just changed
  • Record accepted risk: Note known issues in Additional Notes so agents can prioritize what is still unexpected

#AI Code scan vs AI Smart Contract scan

AI Smart Contract scanAI Code scan
Starts fromContract repositoriesApplication repositories
Core questionWhich on-chain flaws chain into an exploit?Which application flaws are exploitable from source?
Best fitSolidity contracts (officially supported)Applications, including ones that also contain contracts

#How it works

You pick the repositories that contain the contracts. There is no staging URL, chain RPC, or deployed address required. Agents read the contract source and follow calls across files.

Findings land in the Issues tab and in the Feed, with code-based evidence and remediation. An AI Smart Contract scan includes a Threat Model tab. After you push a fix, use Re-test on the finding.

To run one, see Run an AI Smart Contract scan. For what is in scope, see What an AI Smart Contract scan finds.

Run an AI Smart Contract scanSelect contract repositories, add chain context, and start an AI Smart Contract scan. What an AI Code scan findsWhat an AI Code scan checks for in your source code.