> 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/pentesuto/configure-a-pentest/safety-measures.md).

# 安全対策

ペンテストが環境に与える影響を最小限に抑えるため、以下の安全機構が用意されています。

{% hint style="success" %}
ペンテストはステージング、テスト、または隔離された環境で開始することを強く推奨します
{% endhint %}

## 意図したスコープ外でのペンテストを防ぐ

設計上、ペンテスト用エージェントは、ペンテストのセットアップ時に明示的に承認されていないドメインに到達できません。2つのセキュリティ境界が設けられています：

1. **攻撃可能なドメイン**：ペンテスト中に実際に攻撃できるドメイン
2. **アクセス可能なドメイン：** 積極的に攻撃すべきではないが、使用は許可されているドメイン。

以下の例の設定では、エージェントは `attack-me.com` の下にある指定のサブドメインを攻撃でき、 `auth.provider.com`を使用できます。その他のドメインはすべてブロックされます。

<div data-with-frame="true"><figure><img src="/files/bc50072e0a8ae664c538974a8617ce84120e1f5a" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
**注：** 静的ファイルを含むリクエストや開発者向けツールプラットフォームの一部であるリクエストは自動的にアクセス可能ですが、攻撃対象にはなりません。
{% endhint %}

## ペンテストを一時停止またはキャンセルする

**キャンセル** すると評価は完全に停止され、再開できません。起動後最初の数分以内にキャンセルしない限り、その実行で使用したクレジットは返金されません。代わりに **一時停止** を使用すると、攻撃を停止して後で同じ評価を続行できます。

**一時停止** 評価を開いたまま、攻撃エージェントを一時的に停止します。 **再開** するとテストを継続します。Pause は、エージェントが実際に攻撃を開始している場合にのみ利用できます。スケジューリング、コードベース解析、アクセス確認、または探索中には利用できません。各評価は手動で最大3回まで一時停止できます。

Aikido は、ブロックされたリクエストやログインの問題など、対応が必要なことがある場合に、自動的に評価を一時停止することもあります。評価ページのステータスを確認し、指示された内容を修正してから、続行する準備ができたら **再開** をクリックしてください。

## 高いサーバー負荷の軽減

サーバー負荷による潜在的な影響を最小限に抑えるため、セットアップではペンテストが生成する1秒あたりの最大リクエスト数を設定でき、さらに営業時間外に実行するオプションも用意されています。

この設定は、ペンテスト開始後でも変更できます。

<div data-with-frame="true"><figure><img src="/files/0446eeae392e2827cb2d614cf59df5339b3bba90" alt=""><figcaption></figcaption></figure></div>


---

# 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/pentesuto/configure-a-pentest/safety-measures.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.
