> For the complete documentation index, see [llms.txt](https://docs.payments.thalescloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payments.thalescloud.io/merchant-tokenization/ja/sdk-tong-he/security/countermesures.md).

# 対策

Thales SDK はセキュリティ脅威に対する対策を提供するよう設計されています。以下の表は既知のセキュリティ脅威とそれに対応する SDK の挙動の一覧を示します。

| セキュリティ脅威                                                                      | 説明                                                                                        | ビルドタイプ      | SDK の対策                                                                                                                                                                                                   |
| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| デバッガーが接続されている                                                                 | ハッカーがデバッガーを使用してモバイルアプリケーションを解析しようとする。デバッガーはモバイルアプリケーション実行中に接続できる。                         | リリース        | デバッガーが検出されると SDK はエラーを返します。                                                                                                                                                                               |
| 中間者攻撃（MITM）                                                                   | ハッカーが SDK とサーバー間の通信チャンネルを傍受または妨害しようとする。                                                   | リリース        | SDK のリリースビルドで SSL 証明書が誤って設定されている場合、該当するフロー中に SDK はエラーを返します。                                                                                                                                               |
| ルート化/脱獄したモバイルデバイス                                                             | ルート化/脱獄した端末やデバイスでモバイルアプリケーションを実行すること。                                                     | デバッグおよびリリース | 該当するフロー中に、ルート化/脱獄した端末では SDK はエラーを返します。                                                                                                                                                                    |
| Android のブートローダーのロック解除済みデバイス                                                  | ブートローダーがアンロックされたデバイスでモバイルアプリケーションを実行すること。                                                 | デバッグおよびリリース | ブートローダーがアンロックされたデバイスでは、該当するフロー中に SDK はエラーを返します。                                                                                                                                                           |
| フック検出                                                                         | ハッカーがメソッド呼び出しをフック（傍受）して、メソッドの挙動を監視／変更しようとする。                                              | デバッグおよびリリース | フックが検出されると SDK はエラーを返します。                                                                                                                                                                                 |
| Android 上で本番アプリケーションにデバッグ SDK を組み込む                                           | Play ストアのアプリケーションが Debug SDK バリアントを使用している場合。                                              | デバッグ        | Debug SDK バイナリを使用している際にアプリケーションがリリース構成であることを検出すると、SDK はエラーを返します。                                                                                                                                          |
| Android 上でエミュレータを使用すること                                                       | エミュレータでモバイルアプリケーションを実行すること。                                                               | デバッグおよびリリース | エミュレータが検出されると SDK はエラーを返します。                                                                                                                                                                              |
| Android の指定されたアプリ署名証明書およびパッケージ名、または iOS の開発者チーム ID とアプリケーションバンドル識別子を使用していないこと | モバイルアプリケーションは常に Android では指定された証明書で、iOS では指定された開発者チーム ID とアプリケーションバンドル識別子で署名されている必要があります。 | デバッグおよびリリース | 作成バインディングは、開発者の署名証明書や Android のパッケージ名、または iOS の開発者チーム ID とアプリケーションバンドル識別子がサーバー上のものと同じでない場合に失敗します。モバイルアプリケーションが Android で指定されていない署名証明書、または iOS で指定されていない開発者チーム ID とアプリケーションバンドル識別子を使用している場合、SDK はエラーを返します。 |


---

# 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://docs.payments.thalescloud.io/merchant-tokenization/ja/sdk-tong-he/security/countermesures.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.
