> 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/hajimeni/core-functionalities/resolving-malware-and-leaked-secret-issues.md).

# マルウェアと漏えいしたシークレットの問題を解決する

**マルウェア** および **漏えいしたシークレットの検出結果** 手動で閉じる必要があります。使用して **解決済みとしてマーク**漏えいしたシークレットについては、Aikido はバージョン履歴内のシークレットを検出しますが、無効化はお客様に委ねます。これは外部システムで発生し、完全な検証ができないためです。マルウェアについては、Aikido は感染したパッケージにフラグを付けますが、削除の確認はお客様に必要です。クリーンな状態の自動検証は決して完全には信頼できないためです。

{% hint style="info" %}
マルウェアの検出と防止についてもっと詳しく？

* 詳細はこちら： [Aikidoのマルウェア検出](/docs/docs-ja/kdosukyan/scanning-practices/malware-detection-in-open-source-dependencies.md)
* 使用 [Safe Chain](/docs/docs-ja/kdosukyan/aikido-malware-scanning.md) 悪意のあるパッケージがインストールされる前にブロックするために
  {% endhint %}

<figure><img src="/files/523d068756063b5d8f92224fb42eb44fedb6348e" alt=""><figcaption></figcaption></figure>

### 問題を解決済みとしてマークする前に行うこと

#### 漏えいしたシークレット

シークレットは、最新のコミットから削除した後でも、Gitの履歴に永遠に残る可能性があります。

問題を解決済みとしてマークする前に：

1. シークレットを直ちに失効またはローテーションしてください。
2. 古いシークレットがもう機能しないことを確認してください。
3. まだ依存しているシステムがないことを確認してください。
4. その後で初めて、問題を解決済みとしてマークしてください。

{% hint style="warning" %}
漏えいしたシークレットを解決済みとしてマークすることは **しません** シークレットがバージョン履歴から消えたことを意味するわけではありません。無効化し、リスクを取り除いたことを意味します。
{% endhint %}

#### マルウェアの検出結果

マルウェアについては、依存関係データに表示されなくなるまでは、Aikido は削除を証明できません。

問題を解決済みとしてマークする前に：

1. 影響を受けたパッケージをプロジェクトから削除してください。
2. ロックファイルから削除してください。
3. 必要に応じて依存関係を再インストールしてください。
4. 依存関係ツリーにもう表示されないことを確認してください。
5. その後で初めて、問題を解決済みとしてマークしてください。

{% hint style="warning" %}
マルウェアのパッケージが削除されたか確信がない場合は、解決済みとしてマークする前に Aikido サポートへお問い合わせください。
{% endhint %}

### 問題を解決済みとしてマークする方法

1. 問題一覧、グループ化された問題ビュー、またはキューのサイドバーから問題を開きます。
2. アクションメニューを開きます。<br>

   <figure><img src="/files/3373440a4037be7693c8e5a3ee655b23088cf6e9" alt=""><figcaption></figcaption></figure>
3. 次を選択します **解決済みとしてマーク**.
4. 確認プロンプトを確認します。<br>

   <figure><img src="/files/e09df01af6353b7b4d56d9a0fc66c05d4539cf4c" alt=""><figcaption></figcaption></figure>
5. 確認します。


---

# 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/hajimeni/core-functionalities/resolving-malware-and-leaked-secret-issues.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.
