> 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/aikido-debaisu/miscellaneous-aikido-endpoint/how-to-test-device-protection.md).

# デバイス保護が機能しているかテストする方法

Aikido Device Protection がマシン上で有効になっていることを確認するには、以下の方法のいずれかを使用してください。

## クイックチェック（推奨）

以下のリンクをブラウザーで開いてください。ページには、デバイスが保護されているかどうかがすぐに表示されます。

{% embed url="<https://device-protection.aikido.help/>" %}

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-0ef0d70fd92c5dd3cef50f6eb958c5c9e976986a%2FScreenshot%202026-05-21%20at%2013.04.24.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

## パッケージベースのテスト

お好みの言語で安全なテスト用パッケージをインストールしてください。これらのパッケージは無害で、検出を発生させることだけを目的としています。

{% tabs %}
{% tab title="npm" %}

```bash
npm install aikido-endpoint-test
```

{% endtab %}

{% tab title="pip" %}

```bash
pip install safe-chain-pi-test
```

{% endtab %}

{% tab title="NuGet" %}
<https://www.nuget.org/packages/AikidoEndpointTest>
{% endtab %}

{% tab title="Go" %}

```
go install github.com/Aikido-demo-apps/endpoint-golang-test@latest
```

{% endtab %}
{% endtabs %}

## IDE 拡張機能のテスト

エディターにテスト拡張機能をインストールしてください。Device Protection が実行中であれば、検出が発生します。

* **VS Code:** [Aikido Endpoint Test](https://marketplace.visualstudio.com/items?itemName=AikidoSecurity.aikido-endpoint-test)
* **Open VSX（例: Cursor、Windsurf）:** [Aikido Endpoint Test](https://open-vsx.org/extension/AikidoSecurity/aikido-endpoint-test)

テスト用パッケージまたは拡張機能がブロックされない場合は、 [パッケージがブロックされないのはなぜですか？](/docs/docs-ja/aikido-debaisu/using-aikido-endpoint/why-is-a-package-not-blocked.md)

## 自動テスト

```shellscript
#!/bin/bash
curl -s https://device-protection.aikido.help/ | grep -q "Device Protection Active"
```

このスクリプトは終了コード `0` を返します。Device Protection が有効な場合は終了コード `1` を返し、そうでない場合は終了コード


---

# 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/aikido-debaisu/miscellaneous-aikido-endpoint/how-to-test-device-protection.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.
