> 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-device-protection/using-aikido-endpoint/why-is-a-package-not-blocked.md).

# なぜパッケージはブロックされないのか？

ブロックルールにもかかわらずパッケージがインストールされた場合、通常は次のいずれかが原因です。

デバイスで Device Protection が有効になっているか分からない場合は？ [まずテストしてください。](/docs/docs-ja/aikido-device-protection/miscellaneous-aikido-endpoint/how-to-test-device-protection.md)

### パッケージはすでにキャッシュされていました

Device Protection はパッケージレジストリへのネットワークトラフィックを検査します。パッケージがすでにローカルのパッケージマネージャーのキャッシュにある場合、インストールはネットワーク呼び出しなしでキャッシュから解決され、エージェントには見えません。

これは、Device Protection の導入前にキャッシュされたパッケージと、これまでの成功したインストールによってキャッシュされたパッケージに当てはまります。

**対処法：** パッケージマネージャーのキャッシュをクリアするか、再ダウンロードを強制してください。

| エコシステム | キャッシュの場所          | 新規インストールを強制                            |
| ------ | ----------------- | -------------------------------------- |
| pip    | `~/.cache/pip`    | `pip install <package> --no-cache-dir` |
| npm    | `~/.npm/_cacache` | `npm cache clean --force`              |
| yarn   | `~/.cache/yarn`   | `yarn cache clean`                     |

Device Protection を展開した後は、すべてのデバイスでキャッシュをクリアすることを推奨します。

### このエコシステムはサポートされていません

Device Protection はサポートされているパッケージエコシステムのみをインターセプトします。その他のソースからのインストールは変更されずにそのまま通過します。

[確認するには、サポートされているエコシステムの一覧を確認してください。](/docs/docs-ja/aikido-device-protection/endpoint-protection.md#supported-ecosystems)

### エージェントは実行されていません

エージェントが停止しているか、最近同期していない場合、ポリシーを適用できません。

[デバイスでエージェントの状態を確認し、Aikido ダッシュボードで最新のハートビートを確認してください。](/docs/docs-ja/aikido-device-protection/using-aikido-endpoint/end-user-experience.md)

### ポリシーはまだ同期されていません

新しいルールと例外は次回の同期時にデバイスへ反映されます。ポリシーを変更したばかりの場合は、次のハートビート（10分ごと）を待つか、手動で同期を実行してください。

### macOS 上の Docker または Podman

Device Protection は現在、macOS 上の Docker または Podman をサポートしていません。これらのコンテナ内でのインストールは検査されません。

### まだ解決しませんか？

サポートに連絡し、次の情報を含めてください： [サポート用の Device Protection 情報](/docs/docs-ja/aikido-device-protection/miscellaneous-aikido-endpoint/endpoint-information-for-support.md).


---

# 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-device-protection/using-aikido-endpoint/why-is-a-package-not-blocked.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.
