> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/aikdo/smart-contract-audit.md).

# スマートコントラクト監査

スマートコントラクト監査とは何か、またコードセキュリティ監査の代わりにいつ使うか。

Smart Contract Audit は、ブロックチェーン監査の種類です [AIコード解析](/docs/docs-ja/aikdo/ai-code-analysis.md). エージェントは、オンチェーンのロジック、アクセス制御、会計処理、そしてライブラリや統合を含むクロスコントラクトの脆弱性を推論します。彼らは複数の当事者にまたがるトランザクションをシミュレートし、オラクルの価格更新に依存するものを含む最大抽出価値（MEV）の欠陥を見つけます。

ある [コードセキュリティ監査](/docs/docs-ja/aikdo/ai-code-audit-overview.md) アプリケーションコードをレビューし、その広いレビューの中でコントラクトコードも含めることがあります。Smart Contract Audit では、エージェントはコントラクトに集中します。

## ユースケース

* **デプロイ前にコントラクトをレビューする：** 手動監査よりも短い時間と低いコストで悪用可能な欠陥を見つける
* **リリースの対象範囲を決める：** 監査を、今変更したコントラクトに限定する
* **受容したリスクを記録する：** 既知の問題を〜に記録する **追加メモ** そうすれば、エージェントはまだ想定外のものを優先できます

## Code Security Audit と Smart Contract Audit の比較

|             | スマートコントラクト監査           | コードセキュリティ監査               |
| ----------- | ---------------------- | ------------------------- |
| **起点は**     | コントラクトのリポジトリ           | アプリケーションのリポジトリ            |
| **中心となる問い** | どのオンチェーンの欠陥が悪用につながるのか？ | どのアプリケーションの欠陥がソースから悪用可能か？ |
| **最適な適用対象** | Solidityコントラクト（公式サポート） | コントラクトも含むものを含め、アプリケーション   |

## 仕組み

コントラクトを含むリポジトリを選択します。ステージング URL、チェーン RPC、デプロイ済みアドレスは必要ありません。エージェントはコントラクトのソースを読み、ファイルをまたいで呼び出しを追跡します。

発見事項は **課題** タブとフィードで、コードベースの証拠と修正方法とともに表示されます。Smart Contract Audit には、 **脅威モデル** タブ。修正をプッシュしたら、次を使用します **再テスト** その指摘に対して。

実行するには、次を参照してください [Smart Contract Audit を実行する](/docs/docs-ja/aikdo/smart-contract-audit/run-a-smart-contract-audit.md)。対象範囲については、以下を参照してください [Smart Contract Audit で検出されるもの](/docs/docs-ja/aikdo/smart-contract-audit/what-smart-contract-audit-finds.md).

## 関連

{% content-ref url="/pages/9baef7e08c7257e16ce5ddab8cce30f2fdee0e84" %}
[Smart Contract Audit を実行する](/docs/docs-ja/aikdo/smart-contract-audit/run-a-smart-contract-audit.md)
{% endcontent-ref %}

{% content-ref url="/pages/4e3021772084d0a15c2aac9b85ec74dcdd395c4f" %}
[コードセキュリティ監査で見つかるもの](/docs/docs-ja/aikdo/ai-code-audit-overview/what-ai-code-audit-finds.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.aikido.dev/docs/docs-ja/aikdo/smart-contract-audit.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
