> 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/penetorshontesuto/configure-a-pentest/android-pentesting.md).

# Androidアプリのペネトスト

Aikido Pentest は、ネイティブおよびハイブリッド Android アプリを次の方法で評価できます **ホワイトボックステスト**。Android アプリのソースコードを含むリポジトリを接続する必要があります — Android のブラックボックスペンテストはまだサポートされていません。アクセス権がない場合は **Android** アプリケーションタイプのステップでまだ表示されていない場合は、 **Intercomチャット** 右下隅のものを開いてください — 当チームがワークスペースで早期アクセスを有効にできます。

{% hint style="warning" %}
本番環境に近いテスト環境で評価を実行してください。本番データや本番アカウントは使用しないでください。
{% endhint %}

{% hint style="info" %}
**ホワイトボックスのみ** — Aikido は現在、APK 単体ではなくアプリのソースコードに対して Android ペンテストを実行します。Android アプリのリポジトリを **コードとドキュメント** のステップで、評価を開始する前に接続してください。
{% endhint %}

### 前提条件

開始する前に、以下が揃っていることを確認してください：

* **ペンテストの管理** [権限](/docs/docs-ja/hajimeni/automated-user-management/setting-roles-and-permissions.md)
* **十分なクレジット** あなたの [ウォレット](/docs/docs-ja/miscellaneous-info/wallet-and-credits.md)
* **Android アプリのソースコード** Aikido に接続できるリポジトリ内にあること（ホワイトボックステストに必要）
* **テスト用 APK** アップロードできる状態であること（最大 500 MB、証明書ピンニング、root 検出、エミュレーター検出は不可）

## Android の評価を作成

{% stepper %}
{% step %}

### Android を選択

移動先 **ペンテスト**、あなたの **プロジェクト**を選択して、 **評価を作成**。 **何をペンテストしますか？** のステップで、 **Android**.

<div data-with-frame="true"><figure><img src="/files/26d4b9141d8c136cf8ff75cebc5bcc62b9088e09" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### テスト範囲を定義

次の **範囲** のステップで、アプリにバックエンド API がある場合は、その URL を追加してください（たとえば、 `https://api.application.com`）そうすることで、Aikido がアプリで使用されるエンドポイントをテストし、十分なカバレッジを確保できます。その後、APK をアップロードしてください（最大 500 MB）。アプリでは証明書ピンニング、root 検出、エミュレーター検出を使用してはいけません。Aikido はパッケージ名を自動で抽出します。

選択 **アプリ全体をテスト** または **特定の部分のみをテスト**、アプリのどの範囲を評価したいかによります。

<div data-with-frame="true"><figure><img src="/files/27b10fe20d0d367de0ed6ea7f0df3d31c8ead9ec" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### テストユーザーを追加

Aikido にテストさせたい各役割ごとにテストユーザーを追加してください。たとえば、管理者、標準ユーザー、または別テナントのユーザーです。ユーザー名とパスワード認証では、Aikido はログイン URL の代わりに Android アプリのパッケージ名を使用します。

評価を開始する前に、ログイン事前チェックを使用して Aikido がアプリにアクセスできることを確認できます。詳細は次を参照してください [テストユーザーの設定](/docs/docs-ja/penetorshontesuto/configure-a-pentest/setting-up-authenticated-testing.md).

<div data-with-frame="true"><figure><img src="/files/328bd7c435b4f3555b5227ca4485018197afc8e8" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### アクセス、コンテキスト、セーフティを設定

ウィザードの残りのステップを設定します：

* **許可されたドメイン** – テスト中にアプリがアクセスする必要のあるドメインを許可します。
* **コードとドキュメント** – **必須：** Android アプリのソースコードを含むリポジトリを接続してください。Aikido はホワイトボックスの Android ペンテストのみをサポートしているため、コードベースを接続しないと評価を実行できません。バックエンドのリポジトリをリンクしたり、追加のコンテキストとしてドキュメントを追加したりすることもできます。詳細は [コードとドキュメントの活用](/docs/docs-ja/penetorshontesuto/configure-a-pentest/leveraging-code-and-documentation.md).
* **安全確認** – リクエストレートと許可されたテスト時間を設定します。詳細は [安全対策](/docs/docs-ja/penetorshontesuto/configure-a-pentest/safety-measures.md).
* **料金** – 評価プロファイルを選択し、必要クレジットを確認します。詳細は [ペンテストの料金](/docs/docs-ja/penetorshontesuto/pentest-pricing.md).
  {% endstep %}

{% step %}

### 確認して開始

次の **要約** のステップで、 **Android アプリ** のパッケージ名とその他の設定を確認し、次にクリックしてください **評価を実行**.
{% endstep %}
{% endstepper %}

## 結果を確認

評価を開いて進捗を監視し、その **課題** タブを確認してください。Android の検出結果には、機密データの取り扱い、ネットワークセキュリティ、プラットフォーム連携、WebView セキュリティ、クライアント側認証、暗号化、ビルド設定などが含まれます。

評価が完了したら、評価画面から PDF をダウンロードできます。詳細は [ペンテストレポート](/docs/docs-ja/penetorshontesuto/coverage-and-findings/pentest-reports.md) で利用可能なレポート形式を確認してください。

## サポートが必要ですか？

アプリをテストできるか不明な場合や、アクセス設定のヘルプが必要な場合は、 **Intercomチャット** 右下隅のものを開いてください。私たちのチームがお手伝いします！


---

# 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/penetorshontesuto/configure-a-pentest/android-pentesting.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.
