> 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/kdosukyan/scanning-practices/multifile-vulnerability-tracing.md).

# 複数ファイル / クロスファイルの脆弱性トレース

**テイント解析** プログラム内でデータがどのように移動するかを追跡して、コード内のセキュリティリスクを見つける方法です。システム外部から入ってくる「汚染された」入力、たとえばWebリクエストやユーザーフォームから始まります。次に解析では、そのデータがどこへ行くのかを追跡し、事前にチェックやクリーンアップをされないまま、データベースクエリやシステムコマンドなどコードの機密部分に到達するかどうかを確認します。途中でそのデータが悪用される可能性があれば、Aikidoはそれを潜在的な脆弱性としてフラグします。テイント解析は、信頼できない入力がソフトウェア内をどのように移動し、適切に処理されない場合に実際のセキュリティ問題を引き起こしうるかを開発者が把握するのに役立ちます。

Aikidoは信頼できないコードの流れを追跡し、危険なシンク（たとえばSQL実行やコマンド実行）に到達したときにフラグを立てます。1つのファイル内だけでなくファイル間をまたいだテイント解析もサポートしており、ある場所で受け付けた入力が別の場所にある危険な操作へつながることがあります。

データフローに加えて、Aikidoは [到達可能性](/docs/docs-ja/hajimeni/reachability-analysis/reachability-engine-to-remove-false-positives.md) も確認するため、実際にはアプリで実行されない問題（たとえば、呼び出していない脆弱な関数や、テストでしか動かないコード）について通知されることはありません。これがノイズを減らす仕組みの一部です。

### Aikidoでのテイント追跡

脆弱性が見つかると、Aikidoは関連する関数呼び出しをたどります。セキュリティ問題を開いたら、 **コード解析を表示** を選択して、脆弱性のソースと、実行フローを示すコールグラフの詳細を確認できます。

<figure><img src="/files/105cb5835f344eaa1603f0e1b9d6260b5ff47e4b" alt=""><figcaption></figcaption></figure>

### 複数ファイルのテイント解析が利用可能な場所

Aikidoは現在、以下の言語でファイル間のテイント追跡をサポートしています:

* JavaScript
* TypeScript
* PHP
* .NET/C#
* Java
* Rust
* Go
* Ruby
* Python

その他の言語では、現在ファイル内のテイント解析をサポートしています:

* C/C++
* Swift
* Android
* Scala
* Kotlin
* Dart
* Elixir


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/kdosukyan/scanning-practices/multifile-vulnerability-tracing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
