> 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実行やコマンド実行）に到達するとフラグを立てます。Aikidoは、ファイル内およびファイル間の両方でのテイント解析をサポートしており、ある場所で受け入れられた入力が別の場所の危険な操作に結びつく場合があります。

データフローに加えて、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.
